next up previous contents index
Next: The pack geometry manager Up: Tutorial Previous: Special variables   Contents   Index

Generic functions

The following generic functions are defined on widgets:

(value widget) Reads/sets the value of the widget. Applicable for: check-button, radio-button, menucheckbutton, menuradiobutton, scale.
(text widget) Reads/sets the text of the widget. Depending on the widget, this can be text displayed on the widget (button) or contained as data (entry). Applicable for button, check-button, entry, label, labelframe, spinbox, text.

Peter Herth 2006-01-29