1 line
1.5 KiB
HTML
1 line
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<title>PyGUI - RadioButton</title>
|
|
|
|
<meta name="GENERATOR"
|
|
content="Mozilla/3.01Gold (X11; I; SunOS 5.6 sun4u) [Netscape]">
|
|
</head>
|
|
<body>
|
|
|
|
<h1>class <tt>RadioButton(Control)</tt></h1>
|
|
|
|
<p>A RadioButton is similar to a <a href="CheckBox.html">CheckBox</a>, except
|
|
that RadioButtons are typically arranged in mutually-exclusive groups, so
|
|
that only one member of a group is on<i> </i>at a time. The appearance of
|
|
a RadioButton may differ from that of a CheckBox, depending on platform conventions.</p>
|
|
|
|
<p>The <a href="RadioGroup.html">RadioGroup</a> class is used to coordinate
|
|
the behaviour of a group of RadioButtons. Unlike CheckBoxes, RadioButtons
|
|
do not have individual <i>on</i> or <i>action</i> properties; the function
|
|
of these is performed by the RadioGroup to which the radio buttons belong.</p>
|
|
|
|
<h2>Properties</h2>
|
|
|
|
<blockquote>
|
|
<dl>
|
|
<dt><tt>title</tt></dt>
|
|
<dd>Title string to display beside the radio button.</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><tt>group</tt></dt>
|
|
<dd>The <a href="RadioGroup.html">RadioGroup</a> instance to which this
|
|
button belongs.</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt><tt>value</tt></dt>
|
|
<dd>Value associated with this RadioButton. If attached to a <a
|
|
href="RadioGroup.html">RadioGroup</a>, when the button is selected the value
|
|
of the group will be set to this value.</dd>
|
|
</dl>
|
|
</blockquote>
|
|
|
|
<p>---</p>
|
|
<br>
|
|
<br>
|
|
</body>
|
|
</html>
|