PawsScrollBar: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| mNo edit summary | mNo edit summary | ||
| Line 8: | Line 8: | ||
|     ''widget-attributes''> |     ''widget-attributes''> | ||
|     <!-- Content: (up? down? thumb? ''widget-elements'') --> |     <!-- Content: (up? down? thumb? ''widget-elements'') --> | ||
| </widget> |  </widget> | ||
|   ''up'' ::= |   ''up'' ::= | ||
| Line 16: | Line 16: | ||
|     <down ''scrollbar-button-settings'' /> |     <down ''scrollbar-button-settings'' /> | ||
|   ''thumb'' ::= | |||
|     <thumb   |     <thumb   | ||
|        '''stopped''' = ''qname'' <!-- "ScrollBar Thumb" --> |        '''stopped''' = ''qname'' <!-- "ScrollBar Thumb" --> | ||
Revision as of 17:03, 9 May 2014
<widget
  name = qname
  factory = "pawsScrollBar"
  direction = { "horizontal" | "vertical" }
  minValue = float
  maxValue = float
  tick = float 
  widget-attributes>
</widget>
up ::= <up scrollbar-button-settings />
down ::= <down scrollbar-button-settings />
thumb ::=
  <thumb 
     stopped = qname 
     moving = qname /> 
scrollbar-button-settings ::= grey = qname unpressed = qname pressed = qname offsetx = int offsety = int width = int height = int
The pawsScrollBar factory is used to create a horizontal of vertical scrollbar. This is part of the common PAWS library.