PawsScrollBar: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Redhound (talk | contribs)
Add syntax for pawsScrollBar
 
Redhound (talk | contribs)
No edit summary
Line 2: Line 2:
   '''name''' = ''qname''
   '''name''' = ''qname''
   '''factory''' = "pawsScrollBar"
   '''factory''' = "pawsScrollBar"
   '''direction''' = "horizontal" | "vertical"
   '''direction''' = { "horizontal" | "vertical" }
   '''minValue''' = ''float''
   '''minValue''' = ''float''
   '''maxValue''' = ''float''
   '''maxValue''' = ''float''

Revision as of 11:06, 24 April 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 = string
   unpressed = string
   pressed = string
   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.