PawsScrollBar: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Redhound (talk | contribs)
No edit summary
Redhound (talk | contribs)
mNo edit summary
Line 15: Line 15:


  ''scrollbar-button-settings'' ::=
  ''scrollbar-button-settings'' ::=
     '''grey''' = ''string''
     '''grey''' = ''qname''
     '''unpressed''' = ''string''
     '''unpressed''' = ''qname''
     '''pressed''' = ''string''
     '''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.