PawsTabWindow

From PSwiki
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.