theodox / mGui

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

Data driven shelves #64

Closed theodox closed 7 years ago

theodox commented 7 years ago

It would be nice to have something akin to mGui.menuloader for shelves, allowing good support for data-driven shelves

bob-white commented 7 years ago

I've made a version of this in the past using regular dictionaries and pymel/cmds.

Do we need to be able to serialize the shelf back into a yaml string? Or is this one-way?

theodox commented 7 years ago

I was thinking one-way, like the way menuLoader works. It's easy for people who want private shelves to make their own, I was thinking of these for team shelves

bob-white commented 7 years ago

If I were to add an example, would it make more sense to include an actual .yaml file, or should I just have the string in the example module?

bob-white commented 7 years ago

67 wraps this guy up.