I think I found a bug in DirectDialog. Well, actually, its not really a bug, more a suggestion.
Would it be hard to have a possibility to have also extraArgs for the commands for the DirectDialog buttons?
Like, when I click No in my dialog, it will call the appropriate function, but will also pass extra arguments to that function? If I do right now “extraArgs=[arg,arg]” that is just ignored.
Oops, you’re right, that is a bug. ynjh_jo’s workaround should be fine. Note that you can also use PythonUtil.Functor to bind extra args up with any function object: