theodox / mGui

Python module for cleaner maya GUI layout syntax
MIT License
123 stars 23 forks source link

2016 breaks LayoutDialogForm #27

Closed theodox closed 8 years ago

theodox commented 8 years ago

It looks like everything happening in a LayoutDialogForm is deferred, so the UI is gone before any handlers are invoked. This is true even if you explicitly replace the MayaEvents with Events, which makes no sense to me. Need to investigate further

theodox commented 8 years ago

ah... so for some inexplicable reason, inside a layout dialog the test isinstance(Event(), Event) returns false - the events were not getting assigned at all!