theodox / mGui

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

Need a way to bind styles #26

Closed theodox closed 8 years ago

theodox commented 8 years ago

It would be good to have a simple, generic method to bind a CSS style to a value so that the value could be updated using bindings without extra imperative code.

Maybe make the a style_binding property that applied an incoming value?

theodox commented 8 years ago

added a 'stylesheet' property in the remove-keys branch. Setting it causes the style to apply.