commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5959 - trunk/gnue-forms/doc/technotes


From: reinhard
Subject: r5959 - trunk/gnue-forms/doc/technotes
Date: Fri, 9 Jul 2004 17:21:15 -0500 (CDT)

Author: reinhard
Date: 2004-07-09 17:21:14 -0500 (Fri, 09 Jul 2004)
New Revision: 5959

Added:
   trunk/gnue-forms/doc/technotes/00005.txt
Modified:
   trunk/gnue-forms/doc/technotes/index.html
   trunk/gnue-forms/doc/technotes/index.txt
Log:
New technote.


Added: trunk/gnue-forms/doc/technotes/00005.txt
===================================================================
--- trunk/gnue-forms/doc/technotes/00005.txt    2004-07-09 09:08:02 UTC (rev 
5958)
+++ trunk/gnue-forms/doc/technotes/00005.txt    2004-07-09 22:21:14 UTC (rev 
5959)
@@ -0,0 +1,70 @@
+Title:   GNUe Forms UI Driver Specification
+Status:  Current 
+Created: 2004-07-10
+Revised: 2004-07-10
+
+
+A user interface for GNUe forms has to define the following classes:
+
+
+GFUserInterface
+===============
+
+Inherited from gnue.forms.uidrivers._commonGuiToolkit.GFUserInterface.
+
+Has to define following methods:
+
+* initialize (self)
+
+* _exit (self)
+
+* _updateCreateEvent (self, event): can add properties to the object "event"
+  that are then passed to the "createWidget" method of every widget
+
+* mainLoop (self): handle all user events
+
+* formAlert (self, event): show a warning message
+
+* beginWait (self, event): indicate nonresponsive state (e.g. display
+  hourglass)
+
+* endWait (self, event): indicate responsive state (e.g. remove hourglass)
+
+
+UILoginHandler
+==============
+
+TBD
+
+
+In a subpackage "widgets", every UI driver has to define a module containing a
+single class for every widget:
+
+
+UIForm
+======
+
+* show (self): paint form
+
+* showModal (self): paint form in a modal way
+
+* createWidget (self, event, spacer): initialize form
+
+* gotoPage (self, event): activate page
+
+* _setStatusBar (self, tip, statusValue, insertValue, currentRecord,
+                 maxRecord, currentPage, maxPage): set values for status bar
+
+
+UIBox, UIButton, UIEntry, UILabel, UIPage, UIScrollBar
+======================================================
+
+* createWidget (self, event, spacer): initialize widget
+
+* indexedFocus (self, index): set focus to this widget
+
+* setValue (self, value, index = 0, enabled = True): set content (value)
+
+* setCursorPosition (self, position, index = 0)
+
+* setSelectedArea (self, selection1, selection2, index = 0)

Modified: trunk/gnue-forms/doc/technotes/index.html
===================================================================
--- trunk/gnue-forms/doc/technotes/index.html   2004-07-09 09:08:02 UTC (rev 
5958)
+++ trunk/gnue-forms/doc/technotes/index.html   2004-07-09 22:21:14 UTC (rev 
5959)
@@ -4,7 +4,7 @@
 Tech Notes Index
 </title>
 <body>
-<h1>GNUe Forms Tech Notes Index</h1>
+<h1>GNUe-Forms Tech Notes Index</h1>
 
 
 <h3>Current Tech Notes</h3>
@@ -17,6 +17,7 @@
 <tr><td><a href="00002.txt">00002.txt</a></td><td>Internal form 
events</td></tr>
 <tr><td><a href="00003.txt">00003.txt</a></td><td>Trigger Extension for 
GFEntry and GFForm</td></tr>
 <tr><td><a href="00004.txt">00004.txt</a></td><td>Unofficial setFeature 
options</td></tr>
+<tr><td><a href="00005.txt">00005.txt</a></td><td>GNUe Forms UI Driver 
Specification</td></tr>
 </table>
 
 

Modified: trunk/gnue-forms/doc/technotes/index.txt
===================================================================
--- trunk/gnue-forms/doc/technotes/index.txt    2004-07-09 09:08:02 UTC (rev 
5958)
+++ trunk/gnue-forms/doc/technotes/index.txt    2004-07-09 22:21:14 UTC (rev 
5959)
@@ -1,5 +1,5 @@
 
-GNUe Forms Tech Notes Index
+GNUe-Forms Tech Notes Index
 
 
 ==============================================================================
@@ -13,6 +13,7 @@
 00002.txt   Internal form events
 00003.txt   Trigger Extension for GFEntry and GFForm
 00004.txt   Unofficial setFeature options
+00005.txt   GNUe Forms UI Driver Specification
 ----------  ------------------------------------------------------------------
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]