improve widget docs

This commit is contained in:
airstruck
2015-12-15 14:21:30 -05:00
parent 8d7011ca81
commit ed4e8b562a
20 changed files with 550 additions and 54 deletions

View File

@@ -30,6 +30,10 @@
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Special_Attributes">Special Attributes </a></li>
</ul>
<h2>Widgets</h2>
@@ -62,12 +66,10 @@
<div id="content">
<h1>Widget <code>radio</code></h1>
<p>A radio button.</p>
<p>Radio buttons change their <a href="../modules/attribute.html#value">value</a> attribute to
<code>true</code> when pressed. Radio buttons should also have a <code>group</code>
attribute. When a radio button is pressed, other radio buttons
in the same layout with the same <code>group</code> attribute change their values
to <code>false</code>.</p>
<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>
@@ -75,18 +77,49 @@ 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>
<br/>
<br/>
<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-07 05:47:24 </i>
<i style="float:right;">Last updated 2015-12-15 13:53:58 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>