PawsTabWindow: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Ethryn (talk | contribs)
m add to category (Engine documents)
m Reverted edits by Luca (Talk) to last revision by Ethryn
 
(One intermediate revision by one other user not shown)
(No difference)

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.