PawsTabWindow

From PSwiki
Revision as of 22:05, 12 October 2010 by Talad (talk | contribs) (Created page with ' <widget '''name''' = ''qname'' '''factory''' = "pawsTabWindow" ''widget-attributes''> <!-- Content: (widget[@id='1000' and @factory='pawsButton'], …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<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.