Table of Contents

Module: Hybrid CGLtk/Hybrid.py

Imported modules   
import Tkinter
import math
Functions   
canvas_column
checkbutton_column
color_column
destroy_child_widgets
entry_column
label_column
scrollbar_adjuster
trace_tk_variable
  canvas_column 
canvas_column (
        frame,
        heading,
        column,
        rows,
        width,
        height,
        )

Make a column of canvases in a grid.

  checkbutton_column 
checkbutton_column (
        frame,
        heading,
        column,
        rows,
        initial=None,
        )

Make a column of check buttons in a grid.

  color_column 
color_column (
        frame,
        heading,
        column,
        rows,
        initial=None,
        callbacks=None,
        )

Make a column of color wells in a grid.

  destroy_child_widgets 
destroy_child_widgets ( w )

  entry_column 
entry_column (
        frame,
        heading,
        column,
        rows,
        initial=None,
        )

Make a column of entry fields in a grid.

  label_column 
label_column (
        frame,
        heading,
        column,
        rows,
        initial=None,
        )

Make a column of labels in a grid

  scrollbar_adjuster 
scrollbar_adjuster ( sbar )

Return function to set scrollbar range. Functioon will remove scrollbar from grid if full document is visible.

  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.

Classes   
BooleanVariable
Button_Row

Row of buttons packed in a frame.

Checkbutton

Checkbutton and variable to hold state.

Checkbutton_Row

Row of checkbuttons packed in a frame.

DoubleVariable
Entry

Entry with a label on left.

Logarithmic_Scale

Horizontal scale with label, entry, and slider packed into a frame.

Menu

Menu button and pane.

Option_Menu

Option menu with label on left.

Radiobutton_Row

Row of radio buttons packed in a frame.

Scale

Horizontal scale with label, entry, and slider packed into a frame.

Scrollable_List

List with vertical and horizontal scrollbars.

Scrollable_Text

Text with vertical and horizontal scrollbars.

StringVariable

Wrappers around Tk variables that allows variables to be set without

Variable

Wrapper around Tk variables that allows variables to be set without


Table of Contents

This document was automatically generated on Tue Nov 5 16:56:08 2002 by HappyDoc version 2.0.1