@gaieus said:
There is already a menu item under Window > "Hide dialogs/Show dialogs" - so your "Child windows" option here is a redundant duplicate.
No, its not. The "hide dialogs" hides windows such as entity info, model info, soften smooth edges, but doesn't hides ruby console, photo textures, component options, and other child windows with a certain class that could be hidden.
@gaieus said:
Would there be a possibility to (instead of having a separate menu item to show and display the different elements) toggle them on/off? This would also allow to assign a single shortcut instead of two, different ones.
It depends. Lets, say we have a "status_bar" option toggled. Checked: visible and Unchecked: hidden. And something happens: The user hides the status_bar using the other script. How would "status_bar" option know whatever it should be checked or unchecked? - Well, use set_validation_proc and let it ask every frame whatever the status_bar is hidden or not. I could make it like that, thought it will slow down sketchup:
@dan said:
Menu.set_validation_proc
Arguments:
menu_id: The id of a menu item on this menu. (The id is returned from the add_item method.)
block_proc: a block or proc object that will be invoked by Sketchup went it redraws the UI. (Complex conditionals and calling many other methods can slow down Sketchup!)
I could make it toggable, but its ur option: yes or no 