A slightly nonstandard scroll bar; grab the left or right edge to
resize the thumb.
|
__init__(self,
lo,
hi,
quantum,
*args,
**kw)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
set_range(self,
l,
r,
event_if_moved=True,
by_mouse=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button_press(self,
x,
y,
e)
Override this method to handle mouse-down (by default, click:
action(x,y,e)). |
source code
|
|
|
|
|
|
|
draw(self,
context,
w,
h,
appearance)
Override this method to paint the SubLayer. |
source code
|
|
Inherited from SubLayer :
invalidate ,
pt_in_rect ,
set_actual_x ,
set_actual_y ,
set_cBG ,
set_h ,
set_layer ,
set_tooltip ,
set_w ,
set_x ,
set_y
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
bounds
(lo, hi) smallest and largest possible value
|
|
left
value at left edge of thumb
|
|
right
value at right edge of thumb
|
|
quantum
smallest delta value
|
|
OnMoving
WeakEvent(SubLayer_Range, left, right) called when
the user is still dragging
|
|
OnSet
WeakEvent(SubLayer_Range, left, right, by_mouse)
called when left and/or right have changed
|
Inherited from SubLayer :
OnChangeTooltip ,
OnHideTooltip ,
OnInvalidate ,
action ,
border ,
cBG ,
cBorder ,
enter ,
exit ,
h ,
invalid ,
mouse_drag ,
mouse_move ,
rq_h ,
rq_w ,
scroll ,
w ,
x ,
y
|