/ . / 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=None,
)
|
|
value
|
value ( self, default=None )
|
|
callback
|
callback ( self, cb )
|
|
scale_changed_cb
|
scale_changed_cb ( self )
|
|
entry_changed_cb
|
entry_changed_cb ( self )
|
|
make_entry_match_scale
|
make_entry_match_scale ( self )
|
|
__init__
|
__init__ (
self,
parent,
title,
min,
max,
step,
start,
entry_width=None,
)
|
|
set_value
|
set_value (
self,
value,
invoke_callbacks=None,
)
|
|
|