PawsScrollBar: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | mNo edit summary | ||
| Line 15: | Line 15: | ||
|   ''scrollbar-button-settings'' ::= |   ''scrollbar-button-settings'' ::= | ||
|      '''grey''' = '' |      '''grey''' = ''qname'' | ||
|      '''unpressed''' = '' |      '''unpressed''' = ''qname'' | ||
|      '''pressed''' = '' |      '''pressed''' = ''qname'' | ||
|      '''offsetx''' = ''int'' |      '''offsetx''' = ''int'' | ||
|      '''offsety''' = ''int'' |      '''offsety''' = ''int'' | ||
Revision as of 16:39, 9 May 2014
<widget
  name = qname
  factory = "pawsScrollBar"
  direction = { "horizontal" | "vertical" }
  minValue = float
  maxValue = float
  tick = float 
  widget-attributes>
     <up scrollbar-button-settings />
     <down scrollbar-button-settings />
     <thumb 
        stopped = "ScrollBar Thumb" 
        moving = "ScrollBar Thumb Moving" />
</widget>
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.