commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r9346 - trunk/gnue-forms/samples/function


From: johannes
Subject: [gnue] r9346 - trunk/gnue-forms/samples/function
Date: Thu, 1 Feb 2007 02:00:12 -0600 (CST)

Author: johannes
Date: 2007-02-01 02:00:11 -0600 (Thu, 01 Feb 2007)
New Revision: 9346

Modified:
   trunk/gnue-forms/samples/function/menu.gfd
Log:
Added a toggle menu item


Modified: trunk/gnue-forms/samples/function/menu.gfd
===================================================================
--- trunk/gnue-forms/samples/function/menu.gfd  2007-01-31 16:08:26 UTC (rev 
9345)
+++ trunk/gnue-forms/samples/function/menu.gfd  2007-02-01 08:00:11 UTC (rev 
9346)
@@ -7,7 +7,7 @@
       <menuitem name="mnu_2" action="act_2" hotkey="SHIFT+F5"/>
     </menu>
     <menu name="mnu_foo" label="Foo">
-      <menuitem name="mnu_1" action="act_3" hotkey="F12"/>
+      <menuitem name="mnu_1" action="act_3" action_off="act_3off" 
hotkey="F12"/>
     </menu>
   </menu>
 
@@ -23,6 +23,10 @@
     form.show_message("Menu item 3 selected with a value of %s" % 
blk.one.value)
   </action>
 
+  <action name="act_3off" label="Menu item 3 off">
+    form.show_message("Menu item 3 off selected with a value of %s" % 
blk.one.value)
+  </action>
+
   <logic>
     <block name="blk">
       <field name="one" datatype="text"/>





reply via email to

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