hotkeys use modifiers

This commit is contained in:
airstruck
2015-11-11 23:49:54 -05:00
parent 68a250e273
commit 6aaa128463
13 changed files with 205 additions and 113 deletions

View File

@@ -144,7 +144,7 @@
</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-11-09 17:17:21 </i>
<i style="float:right;">Last updated 2015-11-11 18:35:22 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@@ -70,6 +70,10 @@ and are trapped by the first layout that can handle the event
</table>
<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Layout:setMaster">Layout:setMaster (layout)</a></td>
<td class="summary">Set the master layout for this layout.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Layout:setStyle">Layout:setStyle (rules)</a></td>
<td class="summary">Set the style from a definition table or function.</td>
@@ -79,6 +83,14 @@ and are trapped by the first layout that can handle the event
<td class="summary">Set the theme from a definition table or function.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Layout:getStyle">Layout:getStyle ()</a></td>
<td class="summary">Get the style from master layout or this layout.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Layout:getTheme">Layout:getTheme ()</a></td>
<td class="summary">Get the theme from master layout or this layout.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Layout:show">Layout:show ()</a></td>
<td class="summary">Show the layout.</td>
</tr>
@@ -138,6 +150,37 @@ and are trapped by the first layout that can handle the event
<h2 class="section-header "><a name="Methods"></a>Methods</h2>
<dl class="function">
<dt>
<a name = "Layout:setMaster"></a>
<strong>Layout:setMaster (layout)</strong>
</dt>
<dd>
Set the master layout for this layout. </p>
<p>This layout's theme and style will be set the same as the master layout, and
widgets added to this layout will be indexed and keyboard-accelerated by the
master layout instead of this layout.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">layout</span>
<span class="types"><a class="type" href="../classes/Layout.html#">Layout</a></span>
Master layout
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/Layout.html#">Layout</a></span>
Self
</ol>
</dd>
<dt>
<a name = "Layout:setStyle"></a>
<strong>Layout:setStyle (rules)</strong>
@@ -154,6 +197,12 @@ and are trapped by the first layout that can handle the event
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="../classes/Layout.html#">Layout</a></span>
Self
</ol>
@@ -179,6 +228,46 @@ and are trapped by the first layout that can handle the event
</dd>
<dt>
<a name = "Layout:getStyle"></a>
<strong>Layout:getStyle ()</strong>
</dt>
<dd>
Get the style from master layout or this layout.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a></span>
Style table.
</ol>
</dd>
<dt>
<a name = "Layout:getTheme"></a>
<strong>Layout:getTheme ()</strong>
</dt>
<dd>
Get the theme from master layout or this layout.
<h3>Returns:</h3>
<ol>
<span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.5">table</a></span>
Theme table.
</ol>
</dd>
<dt>
<a name = "Layout:show"></a>
@@ -295,7 +384,7 @@ found, and focuses that widget.
</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-11-09 17:17:21 </i>
<i style="float:right;">Last updated 2015-11-11 18:35:22 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@@ -69,10 +69,6 @@
<td class="summary">Fire an event on this widget and each ancestor.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Widget:setValue">Widget:setValue (value)</a></td>
<td class="summary">Set widget's value property and bubble a Change event.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Widget:getPreviousSibling">Widget:getPreviousSibling ()</a></td>
<td class="summary">Get widget's previous sibling.</td>
</tr>
@@ -211,33 +207,6 @@ This table is identical to the constructed widget.
</dd>
<dt>
<a name = "Widget:setValue"></a>
<strong>Widget:setValue (value)</strong>
</dt>
<dd>
Set widget's value property and bubble a Change event.
<h3>Parameters:</h3>
<ul>
<li><span class="parameter">value</span>
<span class="types"><span class="type">mixed</span></span>
The new value of the widget.
</li>
</ul>
<h3>Returns:</h3>
<ol>
<span class="types"><span class="type">mixed</span></span>
The old value of the widget.
</ol>
</dd>
<dt>
<a name = "Widget:getPreviousSibling"></a>
@@ -611,7 +580,7 @@ on the parent widget.
</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-11-09 17:17:21 </i>
<i style="float:right;">Last updated 2015-11-11 18:35:22 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@@ -64,7 +64,7 @@
</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-11-09 17:17:21 </i>
<i style="float:right;">Last updated 2015-11-11 18:35:22 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>