PanelGadget()
Syntax
PanelGadget(#Gadget, x, y, Width, Heigth)
Description
Creates a Panel gadget in the current GadgetList. Once a Panel is created, its list of item is empty. The following commands can be used to act on the list content:
- AddGadgetItem(): Add an item
- RemoveGadgetItem(): Remove an item
- ClearGadgetItemList(): Remove all the items
- SetGadgetState(): Change the active panel.
- GetGadgetState(): Get the index of the current panel.
The next gadgets will be created automatically on the new panel gadget item. This is very convenient. When the Panel gadget item have been filled with all the needed gadgets, ClosePanelGadget() must be called to come back to the previous GadgetList. This means than a PanelGadget can be created on another PanelGadget...
Supported OS
Windows, Linux