[tekui-devel] tekui: PageGroup: PageCaptions can now be initialized GUI elemen...

Timm S. Mueller tmueller at schulze-mueller.de
Thu Nov 6 23:21:08 CET 2008


details:   http://hg.teklib.org/tekui/rev/1aa1be1e652b
changeset: 32:1aa1be1e652b
user:      Timm S. Mueller <tmueller at schulze-mueller.de>
date:      Thu Nov 06 23:19:59 2008 +0100
description:
PageGroup: PageCaptions can now be initialized GUI elements instead of just
strings; TextInput: added TabEnter property

diffs (truncated from 263 to 100 lines):

diff -r 80d726d3acb0 -r 1aa1be1e652b doc/manual.html
--- a/doc/manual.html	Tue Oct 28 23:22:38 2008 +0100
+++ b/doc/manual.html	Thu Nov 06 23:19:59 2008 +0100
@@ -1500,7 +1500,7 @@
 			</p>
 			<hr />
 		</div>
-		<div class="node"><h2><a name="tek.ui.class.pagegroup" id="tek.ui.class.pagegroup">PageGroup (v8.3)</a></h2>
+		<div class="node"><h2><a name="tek.ui.class.pagegroup" id="tek.ui.class.pagegroup">PageGroup (v9.0)</a></h2>
 			<div class="definition"><dfn>LINEAGE</dfn>
 				<blockquote>
 					<p>
@@ -1540,7 +1540,7 @@
 							<code>PageNumber &#091;ISG&#093;</code> (number)
 							<blockquote>
 								<p>
-									Number of the page that is initally selected. &#091;Default: 1&#093;
+									Number of the page that is initially selected. &#091;Default: 1&#093;
 									Setting this attribute invokes the <a href="#PageGroup:onSetPageNumber"><code>PageGroup:onSetPageNumber()</code></a> 
 									method.
 								</p>
@@ -4742,7 +4742,7 @@
 			</p>
 			<hr />
 		</div>
-		<div class="node"><h2><a name="tek.ui.class.textinput" id="tek.ui.class.textinput">TextInput (v6.0)</a></h2>
+		<div class="node"><h2><a name="tek.ui.class.textinput" id="tek.ui.class.textinput">TextInput (v7.0)</a></h2>
 			<div class="definition"><dfn>LINEAGE</dfn>
 				<blockquote>
 					<p>
@@ -4761,7 +4761,7 @@
 			<div class="definition"><dfn>OVERVIEW</dfn>
 				<blockquote>
 					<p>
-						This class implements a gadget for editing and entering text.
+						This class implements a gadget for entering and editing text.
 					</p>
 				</blockquote>
 			</div>
@@ -4769,8 +4769,23 @@
 				<blockquote>
 					<ul>
 						<li style="list-style-type: none">
-							<code>Enter &#091;ISG&#093;</code> - Text that is being 'entered' (by pressing the
-							return key) into the TextInput field.
+							<code>Enter &#091;ISG&#093;</code> (string)
+							<blockquote>
+								<p>
+									Text that is being 'entered' (by pressing the Return key) into
+									the TextInput field. Setting this value causes the invocation of
+									the <a href="#TextInput:onEnter"><code>TextInput:onEnter()</code></a> method.
+								</p>
+							</blockquote>
+						</li>
+						<li style="list-style-type: none">
+							<code>TabEnter &#091;IG&#093;</code> (boolean)
+							<blockquote>
+								<p>
+									Indicates that leaving the element by pressing the Tab key
+									should set the <code>Enter</code> attribute and invoke its handler.
+								</p>
+							</blockquote>
 						</li>
 					</ul>
 				</blockquote>
@@ -6919,7 +6934,7 @@ method(object, arg1, ...)
 		</p>
 		<hr />
 	</div>
-	<div class="node"><h2><a name="tek.ui" id="tek.ui">ui (v14.3)</a></h2>
+	<div class="node"><h2><a name="tek.ui" id="tek.ui">ui (v14.4)</a></h2>
 		<div class="definition"><dfn>OVERVIEW</dfn>
 			<blockquote>
 				<p>
@@ -7256,7 +7271,7 @@ Class.checkDescend(Button, Area)
 </pre>
 		<hr />
 		<p>
-			Document generated on Tue Oct 28 23:19:33 2008
+			Document generated on Thu Nov  6 23:06:31 2008
 		</p>
 	</div>
 	</body>
diff -r 80d726d3acb0 -r 1aa1be1e652b include/tek/mod/visual.h
--- a/include/tek/mod/visual.h	Tue Oct 28 23:22:38 2008 +0100
+++ b/include/tek/mod/visual.h	Thu Nov 06 23:19:59 2008 +0100
@@ -77,6 +77,8 @@ typedef TTAG TVPEN;
 #define TVisualHost_GrabPointer		(TVISTAGS_ + 0x201)
 #define TVisualHost_GrabButton		(TVISTAGS_ + 0x202)
 #endif
+
+#define TVisual_Extended			(TVISTAGS_ + 0x400)
 
 /*****************************************************************************/
 /*
diff -r 80d726d3acb0 -r 1aa1be1e652b tek/ui.lua
--- a/tek/ui.lua	Tue Oct 28 23:22:38 2008 +0100
+++ b/tek/ui.lua	Thu Nov 06 23:19:59 2008 +0100
@@ -75,7 +75,7 @@ local type = type
 local type = type


More information about the tekui-devel mailing list