/ . / CGLtk / Hybrid.py / Scale
Horizontal scale with label, entry, and slider packed into a frame.
Allow typing in entry field outside the range of the scale bar.
Methods
|
|
|
set_range
|
set_range (
self,
min,
max,
step=0,
)
|
|
value
|
value ( self, default=None )
|
|
callback
|
callback ( self, cb )
|
|
scale_changed_cb
|
scale_changed_cb ( self )
|
|
entry_changed_cb
|
entry_changed_cb ( self )
|
|
__init__
|
__init__ (
self,
parent,
title,
min,
max,
step,
start,
entry_width=5,
)
|
|
set_value
|
set_value (
self,
value,
invoke_callbacks=True,
)
|
|
|