16.2.2.1 Basic Widgets

Python 2.2

16.2.2.1 Basic Widgets

A Balloon that pops up over a widget to provide help. When the user moves the cursor inside a widget to which a Balloon widget has been bound, a small pop-up window with a descriptive message will be shown on the screen.

The ButtonBox widget creates a box of buttons, such as is commonly used for Ok Cancel.

The ComboBox widget is similar to the combo box control in MS Windows. The user can select a choice by either typing in the entry subwdget or selecting from the listbox subwidget.

The Control widget is also known as the SpinBox widget. The user can adjust the value by pressing the two arrow buttons or by entering the value directly into the entry. The new value will be checked against the user-defined upper and lower limits.

The LabelEntry widget packages an entry widget and a label into one mega widget. It can be used be used to simplify the creation of ``entry-form'' type of interface.

The LabelFrame widget packages a frame widget and a label into one mega widget. To create widgets inside a LabelFrame widget, one creates the new widgets relative to the frame subwidget and manage them inside the frame subwidget.

The Meter widget can be used to show the progress of a background job which may take a long time to execute.

The OptionMenu creates a menu button of options.

The PopupMenu widget can be used as a replacement of the tk_popup command. The advantage of the Tix PopupMenu widget is it requires less application code to manipulate.

The Select widget is a container of button subwidgets. It can be used to provide radio-box or check-box style of selection options for the user.

The StdButtonBox widget is a group of standard buttons for Motif-like dialog boxes.

See About this document... for information on suggesting changes.