[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5886 - in trunk/gnue-forms: samples/dialog src
From: |
dneighbo |
Subject: |
r5886 - in trunk/gnue-forms: samples/dialog src |
Date: |
Fri, 11 Jun 2004 13:14:31 -0500 (CDT) |
Author: dneighbo
Date: 2004-06-11 13:14:31 -0500 (Fri, 11 Jun 2004)
New Revision: 5886
Modified:
trunk/gnue-forms/samples/dialog/showMessage.gfd
trunk/gnue-forms/src/GFForm.py
Log:
New form.setTitle() function shell
Modified: trunk/gnue-forms/samples/dialog/showMessage.gfd
===================================================================
--- trunk/gnue-forms/samples/dialog/showMessage.gfd 2004-06-11 17:39:04 UTC
(rev 5885)
+++ trunk/gnue-forms/samples/dialog/showMessage.gfd 2004-06-11 18:14:31 UTC
(rev 5886)
@@ -6,6 +6,7 @@
<form xmlns:c="GNUe:Layout:Char">
<options/>
<trigger name="button1_Trigger" type="NAMED"><![CDATA[##
+ form.setTitle('foo')
form.showMessage('message:Your Message','caption:Your Caption','title:Your
title')
]]></trigger>
<logic>
Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py 2004-06-11 17:39:04 UTC (rev 5885)
+++ trunk/gnue-forms/src/GFForm.py 2004-06-11 18:14:31 UTC (rev 5886)
@@ -107,6 +107,9 @@
'getAuthenticatedUser':{'function':self.triggerGetAuthenticatedUser,
'global': True,
},
+ 'setTitle':{'function':self.triggerSetTitle,
+ 'global': True,
+ },
#
'getCurrentEntry':{'function':self.triggerGetCurrentEntry,
# 'global': True,
# },
@@ -1035,6 +1038,18 @@
return self._instance.connections.getAuthenticatedUser(connection)
#
+ # triggerSetTitle
+ #
+ # TODO: Description
+ #
+ def triggerSetTitle(self, title):
+ print title # title value passed to function
+ print self.title # current title of form
+ self.title = title # assignment of title value passed to form
+ print self.title # current title of form
+ # code to fire event to update the display goes here
+
+ #
# Set a user parameter.
#
def triggerSetParameter(self, parameter, value):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5886 - in trunk/gnue-forms: samples/dialog src,
dneighbo <=