Intro to Groups
Groups are widgets that let you group together other widgets under a container. Maybe you thought you can achieve this effect using a panel, but you cannot add a panel inside a panel in gooey. However, you can use groups for this same thing.
Groups are actually used within gooey as a building block for other widgets, like the Tab Control Group in panels, or the cells in Grids.
Constructor
You can create a group by using its constructor, UIGroup, which has the following signature:
You can see the signature is identical to the UIPanel constructor.
Methods
Groups do not need specific methods, as they are simply groups of widgets. Remember you still have all of the UIWidget methods available to work, so you can resize them, move them, set their visibility, set callbacks etc.
Move/resize Groups
Currently, gooey does not support moving or resizing groups with the mouse - only programmatically.