Table of Contents
Contains the GLabel widget. This widget provides the user the ability to associate a run-time variable (RTV) from the grail.rtv module with a label. Whenever the variable changes, the contents of the GLabel will change.
The following sample script illustrates creating a GLabel widget and associating a run-time variable (RTV) with the widget.
If you changed the value of var via its set function, then you would automatically change the text displayed within the GLabel widget.
The example code shown above will generate the following window,
Example of the GLabel widget.
Creates a Label that has can use a run-time variable (RTV).
All keywords usable with the Tkinter.Label [1] widget are usable with the GLabel widget. In addition the following keyword is also defined,
[1] | John W. Shipman. "The Label widget." Tkinter Reference: a GUI for Python. 2004 June 6. 2004 June 16. <http://infohost.nmt.edu/tcc/help/pubs/tkinter/ar01s10.html> |