View Single Post
07/11/16, 12:56 PM   #8
Haho
Join Date: Jul 2016
Posts: 15
lol no, toplevelcontrol is the one attached to the Guiroot directly. Think of it like your own paper sheet to decorate. Then inside, make your controls groups like you intended to at first.

So yes you have to have one (or you don't if your controls are children of an existing control, but i doubt it in your case) But one is enough

for the xml question, i dont get it... are you making one xml file/control?
you can write everything in the same xml file.

the virtual one will be separated from the "nesting"... i'm not a fan of xml anyway, as i said look into any addon with a UI and a xml and you should see how it works. Or someone else would be more precise on this.

so basically : toplevel will be defined, and you'll have after that your virtual definition for the controls you'll be creating dynamically. And they'll have toplevel as parent instead of Guiroot.

Last edited by Haho : 07/11/16 at 01:03 PM.
  Reply With Quote