/ . / CGLtk / Hybrid.py
Functions
|
|
|
color_column
|
color_column (
frame,
heading,
column,
rows,
initial=None,
callbacks=None,
)
Make a column of color wells in a grid.
|
|
float_variable_value
|
float_variable_value ( v, default=None )
|
|
canvas_column
|
canvas_column (
frame,
heading,
column,
rows,
width,
height,
)
Make a column of canvases in a grid.
|
|
trace_tk_variable
|
trace_tk_variable ( var, callback )
Call a callback with no arguments when Tk variable value changes.
If a Tk variable changes within a write callback for that variable
another invocation of the callback is not made by the Tk trace mechanism.
This code remedies that, calling the callback repeatedly until the variable
does not change.
|
|
label_column
|
label_column (
frame,
heading,
column,
rows,
initial=None,
)
Make a column of labels in a grid
|
|
checkbutton_column
|
checkbutton_column (
frame,
heading,
column,
rows,
initial=None,
)
Make a column of check buttons in a grid.
|
|
entry_column
|
entry_column (
frame,
heading,
column,
rows,
initial=None,
)
Make a column of entry fields in a grid.
|
|
destroy_child_widgets
|
destroy_child_widgets ( w )
|
|
scrollbar_adjuster
|
scrollbar_adjuster ( sbar )
Return function to set scrollbar range.
Functioon will remove scrollbar from grid if full document is visible.
|
|
|