PawsTabWindow: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with ' <widget '''name''' = ''qname'' '''factory''' = "pawsTabWindow" ''widget-attributes''> <!-- Content: (widget[@id='1000' and @factory='pawsButton'], …'
 
m Reverted edits by Luca (Talk) to last revision by Ethryn
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:


The '''pawsTabWindow''' factory is used to create a tab panel, complete with a tab bar (a row of [[#pawsButton|pawsButton]]s) and a "deck" panel, or a stack of widgets where only one widget in the deck can be displayed.  Every child widget must have an <code>id</code> field with a unique value, where the <code>id</code> of each button corresponds with the <code>id</code> of the widget + 100.  For example, if a button with <code>id="1005"</code> was selected by the user, the widget with <code>id="1105"</code> will be shown in the deck.
The '''pawsTabWindow''' factory is used to create a tab panel, complete with a tab bar (a row of [[#pawsButton|pawsButton]]s) and a "deck" panel, or a stack of widgets where only one widget in the deck can be displayed.  Every child widget must have an <code>id</code> field with a unique value, where the <code>id</code> of each button corresponds with the <code>id</code> of the widget + 100.  For example, if a button with <code>id="1005"</code> was selected by the user, the widget with <code>id="1105"</code> will be shown in the deck.
[[Category:Engine documents]]

Latest revision as of 22:31, 10 December 2010

<widget
  name = qname
  factory = "pawsTabWindow"
  widget-attributes>
  <!-- Content: (widget[@id='1000' and @factory='pawsButton'],
                 widget[@id='1100' and @factory!='pawsButton'],
                 widget-elements) -->
</widget>

The pawsTabWindow factory is used to create a tab panel, complete with a tab bar (a row of pawsButtons) and a "deck" panel, or a stack of widgets where only one widget in the deck can be displayed. Every child widget must have an id field with a unique value, where the id of each button corresponds with the id of the widget + 100. For example, if a button with id="1005" was selected by the user, the widget with id="1105" will be shown in the deck.