grail.widgets.gframe module

Version: 16.2

Table of Contents

Description

Defines a special frame that is a grail type frame.

This frame essentially inherits the benefits of the GWidget object, and behaves like a Tkinter.Frame [1].

Children of this frame are all sub-widgets. For example if you create a GFrame and put a button on that frame, then the button is a child of the GFrame.

GFrame Widget

The GFrame widget inherits from,
class GFrame([parent, *args, **kws])

Builds a frame, similar to a Tkinter.Frame.

disable()
Disables all children on the frame (they become inactive).
enable()
Enables all children on the frame (they become active).
updatevars()
Walks through all the children on the frame and calls updatevars().

Reference

[1]John W. Shipman. "The Frame widget." Tkinter Reference: a GUI for Python. 2005 September 3. 2005 December 13. <http://infohost.nmt.edu/tcc/help/pubs/tkinter/frame.html>