<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
<link rel=
"STYLESHEET" href=
"lib.css" type='text/css'
/>
<link rel=
"SHORTCUT ICON" href=
"../icons/pyfav.png" type=
"image/png" />
<link rel='start' href='../index.html' title='Python Documentation Index'
/>
<link rel=
"first" href=
"lib.html" title='Python Library Reference'
/>
<link rel='contents' href='contents.html'
title=
"Contents" />
<link rel='index' href='genindex.html' title='Index'
/>
<link rel='last' href='about.html' title='About this document...'
/>
<link rel='help' href='about.html' title='About this document...'
/>
<link rel=
"next" href=
"node736.html" />
<link rel=
"prev" href=
"node734.html" />
<link rel=
"parent" href=
"node734.html" />
<link rel=
"next" href=
"node736.html" />
<meta name='aesop' content='information'
/>
<title>16.2.2.1 Basic Widgets
</title>
<div id='top-navigation-panel' xml:id='top-navigation-panel'
>
<table align=
"center" width=
"100%" cellpadding=
"0" cellspacing=
"2">
<td class='online-navigation'
><a rel=
"prev" title=
"16.2.2 Tix Widgets"
href=
"node734.html"><img src='../icons/previous.png'
border='
0' height='
32' alt='Previous Page' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"parent" title=
"16.2.2 Tix Widgets"
href=
"node734.html"><img src='../icons/up.png'
border='
0' height='
32' alt='Up One Level' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"next" title=
"16.2.2.2 File Selectors"
href=
"node736.html"><img src='../icons/next.png'
border='
0' height='
32' alt='Next Page' width='
32'
/></A></td>
<td align=
"center" width=
"100%">Python Library Reference
</td>
<td class='online-navigation'
><a rel=
"contents" title=
"Table of Contents"
href=
"contents.html"><img src='../icons/contents.png'
border='
0' height='
32' alt='Contents' width='
32'
/></A></td>
<td class='online-navigation'
><a href=
"modindex.html" title=
"Module Index"><img src='../icons/modules.png'
border='
0' height='
32' alt='Module Index' width='
32'
/></a></td>
<td class='online-navigation'
><a rel=
"index" title=
"Index"
href=
"genindex.html"><img src='../icons/index.png'
border='
0' height='
32' alt='Index' width='
32'
/></A></td>
<div class='online-navigation'
>
<b class=
"navlabel">Previous:
</b>
<a class=
"sectref" rel=
"prev" href=
"node734.html">16.2.2 Tix Widgets
</A>
<b class=
"navlabel">Up:
</b>
<a class=
"sectref" rel=
"parent" href=
"node734.html">16.2.2 Tix Widgets
</A>
<b class=
"navlabel">Next:
</b>
<a class=
"sectref" rel=
"next" href=
"node736.html">16.2.2.2 File Selectors
</A>
<!--End of Navigation Panel-->
<H3><A NAME=
"SECTION0018221000000000000000">
16.2.2.1 Basic Widgets
</A>
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4845' xml:id='l2h-
4845'
class=
"class">Balloon
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
A
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixBalloon.htm"
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
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4846' xml:id='l2h-
4846'
class=
"class">ButtonBox
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixButtonBox.htm"
widget creates a box of buttons, such as is commonly used for
<code>Ok
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4847' xml:id='l2h-
4847'
class=
"class">ComboBox
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixComboBox.htm"
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.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4848' xml:id='l2h-
4848'
class=
"class">Control
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixControl.htm"
widget is also known as the
<tt class=
"class">SpinBox
</tt> 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.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4849' xml:id='l2h-
4849'
class=
"class">LabelEntry
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelEntry.htm"
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
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4850' xml:id='l2h-
4850'
class=
"class">LabelFrame
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelFrame.htm"
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
<tt class=
"member">frame
</tt> subwidget and manage them inside the
<tt class=
"member">frame
</tt> subwidget.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4851' xml:id='l2h-
4851'
class=
"class">Meter
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixMeter.htm"
widget can be used to show the progress of a background job which may
take a long time to execute.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4852' xml:id='l2h-
4852'
class=
"class">OptionMenu
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixOptionMenu.htm"
creates a menu button of options.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4853' xml:id='l2h-
4853'
class=
"class">PopupMenu
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixPopupMenu.htm"
widget can be used as a replacement of the
<code>tk_popup
</code>
command. The advantage of the
<tt class=
"module"><a href=
"module-Tix.html">Tix
</a></tt> <tt class=
"class">PopupMenu
</tt> widget
is it requires less application code to manipulate.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4854' xml:id='l2h-
4854'
class=
"class">Select
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixSelect.htm"
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.
<dl><dt><table cellpadding=
"0" cellspacing=
"0"><tr valign=
"baseline">
<td><nobr><b><span class=
"typelabel">class
</span> <tt id='l2h-
4855' xml:id='l2h-
4855'
class=
"class">StdButtonBox
</tt></b>(
</nobr></td>
<td><var></var>)
</td></tr></table></dt>
The
<a class=
"ulink" href=
"http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixStdButtonBox.htm"
widget is a group of standard buttons for Motif-like dialog boxes.
<div class='online-navigation'
>
<table align=
"center" width=
"100%" cellpadding=
"0" cellspacing=
"2">
<td class='online-navigation'
><a rel=
"prev" title=
"16.2.2 Tix Widgets"
href=
"node734.html"><img src='../icons/previous.png'
border='
0' height='
32' alt='Previous Page' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"parent" title=
"16.2.2 Tix Widgets"
href=
"node734.html"><img src='../icons/up.png'
border='
0' height='
32' alt='Up One Level' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"next" title=
"16.2.2.2 File Selectors"
href=
"node736.html"><img src='../icons/next.png'
border='
0' height='
32' alt='Next Page' width='
32'
/></A></td>
<td align=
"center" width=
"100%">Python Library Reference
</td>
<td class='online-navigation'
><a rel=
"contents" title=
"Table of Contents"
href=
"contents.html"><img src='../icons/contents.png'
border='
0' height='
32' alt='Contents' width='
32'
/></A></td>
<td class='online-navigation'
><a href=
"modindex.html" title=
"Module Index"><img src='../icons/modules.png'
border='
0' height='
32' alt='Module Index' width='
32'
/></a></td>
<td class='online-navigation'
><a rel=
"index" title=
"Index"
href=
"genindex.html"><img src='../icons/index.png'
border='
0' height='
32' alt='Index' width='
32'
/></A></td>
<div class='online-navigation'
>
<b class=
"navlabel">Previous:
</b>
<a class=
"sectref" rel=
"prev" href=
"node734.html">16.2.2 Tix Widgets
</A>
<b class=
"navlabel">Up:
</b>
<a class=
"sectref" rel=
"parent" href=
"node734.html">16.2.2 Tix Widgets
</A>
<b class=
"navlabel">Next:
</b>
<a class=
"sectref" rel=
"next" href=
"node736.html">16.2.2.2 File Selectors
</A>
<span class=
"release-info">Release
2.4.2, documentation updated on
28 September
2005.
</span>
<!--End of Navigation Panel-->
See
<i><a href=
"about.html">About this document...
</a></i> for information on suggesting changes.