I'm not sure about creating a toggle button. For your second question though, I think you can do that with any dockable window. In Maya 2018 (at least) I can grab the Attribute Editor and dock it next to the Channel Box, for example. I guess I'm misunderstanding. Maybe a screenshot would help?
On Friday, 1 December 2017 22:49:24 UTC+11, Chris Hawkes wrote: > > I have a series of tools I frequently use combined into a single python > UI. > > How can I create a custom sidebar button to toggle this window on and off? > These are the buttons in the top right of the main UI that toggle the > channel box/ modelling toolkit etc. > > On top of that, how can I allow my window to dock in a tab next to the > channel box / attribute editor etc. The standard dockControl sits to the > side in a separate panel. > > Thanks for the help. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/6c6b234f-0cda-4abe-8637-67d6f11fedf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
