Tintware Documentation : Idget Library : PanelsPanelsPanels have two states: declared and layed out. When a panel is created (declaratively, procedurally, and when loaded via tint.load) it starts out in the declared state. This is also true for controls. A panel (and any controls used) gets layed out (and enters the layed out state) using %panel.dialog or %panel.window. When %panel.cleanup is used, the panel goes back to the declared state. In the declared state, a panel and any controls it contains are abstract and the same for all environments. When a panel (and any controls used) gets layed out, a window (for the panel) and controls from the operating system are created. panel.dialog and panel.window Using a panel as a dialog or a window panel.show Showing a panel panel.hide Hiding a panel panel.cleanup Cleaning up a panel panel.visible Checking to see if a panel is visible panel.layed-out Checking to see if a panel has been layed out panel.center Center a panel on another window or the desktop panel.dont-obscure Position a panel so it does not obscure another window panel.focus Give a particular control on a panel the focus panel.closed Event called when a panel is closed |