grail.widgets.gstatusbar module

Version: 16.2

Table of Contents

Description

Provides the ability to insert a status bar into your Tkinter dialog. This example was adapted from Fredrik Lundh [1].

GStatusBar Widget

The GSpinner widget inherits from,
class GStatusBar([parent])

Your standard 'status bar' widget, which is basically a sunken label, that has read()/write() methods associated with it.

Arguments:
parent : Tkinter.Frame
Parent widget, widget we insert into.
disable()
Set the status bar to ignore read/write events.
enable()
Set the statusbar to respond to read/write events.
read()
Returns the information on the status bar. None is returned if the statusbar is disabled.
updatevars()
No vars; always returns 1.
write(input)
Write a string to the active status bar. To clear the statusbar use the empty string (""). Disabled statusbar does not respond to write events.

[1]Lundh, Fredrik. "Status Bars". An Introduction to Tkinter. 27 July 2004. <http://local.eleceng.uct.ac.za/courses/EEE103W/python/www.pythonware.com/library/tkinter/introduction/x996-status-bars.htm>