Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
![]() | Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets |
include "tabdialog.g"
tabdialog | Construct an tabdialog |
add | Add a new Tab |
available | Is this Tab available |
delete | Delete an existing Tab |
deleteall | Delete all of the Tabs |
dialogframe | Get the internal dialog frame |
done | Destroy ourselves |
front | Bring this Tab to the front |
list | List Tabs |
replace | Replace a new Tab |
which | Which Tab is visible |
Glish/Tk does not yet come with a Tab widget. When we are bound to a richer widget set such as Tix, such a widget will be available.
In the mean time, this widget simulates a Tab widget with a button bar.
The widget provides you a frame into which you place your Tabs. For each Tab there is a button; pushing it maps the Tab to the foreground and the previous one to the background. The active tab is denoted by a sunken relief for the button. Otherwise, buttons are shown with raised relief.