Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / amd64 / html / python / lib / node735.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<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>
</head>
<body>
<DIV CLASS="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<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>
</tr></table>
<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>
</div>
<hr /></div>
</DIV>
<!--End of Navigation Panel-->
<H3><A NAME="SECTION0018221000000000000000">
16.2.2.1 Basic Widgets</A>
</H3>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4845' xml:id='l2h-4845' class="class">Balloon</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
A <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixBalloon.htm"
>Balloon</a>
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.
</dl>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4846' xml:id='l2h-4846' class="class">ButtonBox</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixButtonBox.htm"
>ButtonBox</a>
widget creates a box of buttons, such as is commonly used for <code>Ok
Cancel</code>.
</dl>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4847' xml:id='l2h-4847' class="class">ComboBox</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixComboBox.htm"
>ComboBox</a>
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>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4848' xml:id='l2h-4848' class="class">Control</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixControl.htm"
>Control</a>
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>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4849' xml:id='l2h-4849' class="class">LabelEntry</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelEntry.htm"
>LabelEntry</a>
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.
</dl>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4850' xml:id='l2h-4850' class="class">LabelFrame</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelFrame.htm"
>LabelFrame</a>
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>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4851' xml:id='l2h-4851' class="class">Meter</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixMeter.htm"
>Meter</a>
widget can be used to show the progress of a background job which may
take a long time to execute.
</dl>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4852' xml:id='l2h-4852' class="class">OptionMenu</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixOptionMenu.htm"
>OptionMenu</a>
creates a menu button of options.
</dl>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4853' xml:id='l2h-4853' class="class">PopupMenu</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixPopupMenu.htm"
>PopupMenu</a>
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>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4854' xml:id='l2h-4854' class="class">Select</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixSelect.htm"
>Select</a>
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>
<P>
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
<td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-4855' xml:id='l2h-4855' class="class">StdButtonBox</tt></b>(</nobr></td>
<td><var></var>)</td></tr></table></dt>
<dd>
The <a class="ulink" href="http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixStdButtonBox.htm"
>StdButtonBox</a>
widget is a group of standard buttons for Motif-like dialog boxes.
</dl>
<P>
<DIV CLASS="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<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>
</tr></table>
<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>
</div>
</div>
<hr />
<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
</DIV>
<!--End of Navigation Panel-->
<ADDRESS>
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
</ADDRESS>
</BODY>
</HTML>