module Iup::ScrollBarAttributes
Attributes for widgets that permit a scrollbar.
Attributes
Defines the size of the horizontal thumbnail. Size defaults to 0.1, and must be in range 0 < value < (xmax-xmin).
Defines the size of the vertical thumbnail. Size defaults to 0.1, and must be in range 0 < value < (ymax-ymin).
Amount thumb moves in horizontal direction. Default is dx/10.
Amount thumb moves in vertical direction. Default is dy/10.
Position of horizontal thumbnail. Size starts at 0.0, and must be in range xmin < value < (xmax-dx).
Position of vertical thumbnail. Size starts at 0.0, and must be in range ymin < value < (ymax-dy).
Selects ‘no’ / ‘horizontal’ / ‘vertical’ / ‘yes’ (for both) scrollbars.
If set, hides horizontal scrollbar if not required. Values ‘yes’ / ‘no’.
Maximum value of horizontal scrollbar. Defaults to 1.0.
Minimum value of horizontal scrollbar. Starts at 0.0.
If set, hides vertical scrollbar if not required. Values ‘yes’ / ‘no’.
Maximum value of vertical scrollbar. Defaults to 1.0.
Minimum value of vertical scrollbar. Starts at 0.0.
Callbacks
Attributes
Called when scrollbar used. Callback must respond to call and takes three arguments (op, posx, posy):
-
op- operation performed on scrollbar (see Scrollbar operations). -
posx- x position of scroll thumb (same as posx attribute) -
posy- y position of scroll thumb (same as posy attribute)