Table of Contents
The GRunFileExtension widget is what is known as a Compound Widget. This widget provides the user with ability to quickly put together a standard user interface for querying for run file and report file extensions.
The following example illustrates setting up two grail.rtv variables with a GRunFileExtension widget. When the dialog is closed, the results will be displayed in the command window,
The widget will appear as follows,
Example of the GRunFileExtension widget.
Provides a standard mechanism for asking the user for an extension for their report file and their run file.
Emitted whenever either the run file extension entry or the report file extension entry change. The receiver should accept two arguments of the form,
receiver(widgetname, value)
Where the widgetname is either 'run' or 'report' and the value is what is stored within the entry.
Note
That you can modify the text of the GGroup widget by using the group_text keyword.
- destroy()
- Handles the Tkinter de-allocation.
- disable()
- Set the widget to ignore user events.
- enable()
- Set the widget to respond to user events.
- updatevars()
- Synchronizes the RTVs with their respective entries.