Files
love-luigi/doc/widgets/radio.html
2015-12-16 22:23:20 -05:00

119 lines
3.0 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Reference</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css">
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<h1>LUIGI</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Widgets</h2>
<ul class="nowrap">
<li><a href="../widgets/button.html">button</a></li>
<li><a href="../widgets/check.html">check</a></li>
<li><a href="../widgets/menu.html">menu</a></li>
<li><a href="../widgets/menu.item.html">menu.item</a></li>
<li><a href="../widgets/progress.html">progress</a></li>
<li><strong>radio</strong></li>
<li><a href="../widgets/sash.html">sash</a></li>
<li><a href="../widgets/slider.html">slider</a></li>
<li><a href="../widgets/status.html">status</a></li>
<li><a href="../widgets/stepper.html">stepper</a></li>
<li><a href="../widgets/text.html">text</a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
<li><a href="../modules/attribute.html">attribute</a></li>
</ul>
<h2>Classes</h2>
<ul class="nowrap">
<li><a href="../classes/Event.html">Event</a></li>
<li><a href="../classes/Layout.html">Layout</a></li>
<li><a href="../classes/Widget.html">Widget</a></li>
</ul>
</div>
<div id="content">
<div id="content_top">
<h1>Widget <code>radio</code></h1>
<p>A radio widget.</p>
<p>When pressed, a radio widget's <a href="../modules/attribute.html#value">value</a> changes to
<code>true</code>, and the values of other radio widgets in the same <a href="../widgets/radio.html#group">group</a>
change to <code>false</code>.</p>
<p>Changing the value of a radio button causes it to change its appearance to
indicate its value. The standard themes use the <a href="../modules/attribute.html#icon">icon</a>
attribute for this purpose. If a custom icon is provided when using the
standard themes, the widget's value should be indicated in some other way.</p>
<h2><a href="#Special_Attributes">Special Attributes </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#group">group</a></td>
<td class="summary">Widget group.</td>
</tr>
</table>
</div>
<h2 class="section-header "><a name="Special_Attributes"></a>Special Attributes </h2>
<dl class="function">
<dt>
<a name = "group"></a>
<strong>group</strong>
</dt>
<dd>
Widget group. </p>
<p>Should contain a string identifying the widget's group.
If not defined, defaults to the string <code>&apos;default&apos;</code>.</p>
<p>When a radio widget is pressed, the values of other radio widgets
in the same group change to <code>false</code>.
</dd>
</dl>
</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-12-16 14:12:04 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>