Author: johannes Date: 2006-12-15 02:06:48 -0600 (Fri, 15 Dec 2006) New Revision: 9167
Modified: trunk/gnue-forms/samples/intro/intro.gfd Log: Refined sample Modified: trunk/gnue-forms/samples/intro/intro.gfd =================================================================== --- trunk/gnue-forms/samples/intro/intro.gfd 2006-12-15 07:40:02 UTC (rev 9166) +++ trunk/gnue-forms/samples/intro/intro.gfd 2006-12-15 08:06:48 UTC (rev 9167) @@ -1,9 +1,7 @@ <?xml version="1.0"?> -<!-- GNUe Forms 0.5.0 Migration Tool - Saved on: 2002-11-26 20:28:15 --> +<form title="Welcome to GNUe Forms"> -<form title="Welcome to GNUe Forms"> <trigger name="PigLatin" type="NAMED"><![CDATA[# # from Joe Strout's Python Tidbits (http://www.strout.net/python/) # @@ -96,6 +94,7 @@ SampleBlock.FortuneEntry.set(val) ]]></trigger> + <logic> <block name="SampleBlock"> <field name="Entry_1" default="Press 'Ctrl+Page Down' for a demo"/> @@ -111,41 +110,53 @@ <field name="FortuneEntry"/> </block> </logic> + <layout xmlns:c="GNUe:Layout:Char" c:height="12" c:width="40" tabbed="top"> + <page name="Welcome"> - <label name="Label_1" text="Welcome to GNU Enterprise!" c:width="26" - c:x="6" c:y="1"/> - <label name="Label_3" text="This is a placeholder form." c:width="34" - c:x="3" c:y="4"/> - <box name="Box_1" c:height="9" label="Demo" c:width="38" c:x="1" c:y="2"/> - <label name="Label_8" text="You would normally invoke Forms" - c:width="34" c:x="3" c:y="5"/> - <label name="Label_9" text="by double-clicking a GFD file" c:width="34" - c:x="3" c:y="6"/> - <label name="Label_10" text="or by typing 'gnue-forms <file>'." - c:width="34" c:x="3" c:y="7"/> - <entry block="SampleBlock" field="Entry_1" c:width="34" c:x="3" c:y="9"/> + <label c:x="6" c:y="1" c:width="26" text="Welcome to GNU Enterprise!" + name="Label_1" /> + <label c:x="3" c:y="4" c:width="34" text="This is a placeholder form." + name="Label_3" /> + + <box c:x="1" c:y="2" c:width="38" c:height="9" label="Demo" name="Box_1"/> + + <label c:x="3" c:y="5" c:width="34" + text="You would normally invoke Forms" name="Label_8" /> + <label c:x="3" c:y="6" c:width="34" text="by double-clicking a GFD file" + name="Label_9" /> + <label c:x="3" c:y="7" c:width="34" + text="or by typing 'gnue-forms <file>'." name="Label_10" /> + + <entry c:x="3" c:y="9" c:width="34" block="SampleBlock" field="Entry_1" + name="msg_text" /> </page> + <page name="Sample"> - <box name="Box_2" c:height="8" label="Sample" c:width="39" c:x="1" - c:y="0"/> - <label for="nameField" name="Label_5" text="Your Name:" c:width="11" c:x="3" c:y="2"/> - <label for="yearField" name="Label_6" text="Year you were born:" c:width="20" c:x="3" - c:y="3"/> - <label for="codeField" name="Label_7" text="Your Code Name:" c:width="15" c:x="3" - c:y="5"/> - <entry name="nameField" block="SampleBlock" field="NameEntry" c:width="23" c:x="14" - c:y="2"/> - <entry name="yearField" block="SampleBlock" field="YearEntry" c:width="6" c:x="23" - c:y="3"/> - <button name="btnClear" c:height="1" label="Fortune" c:width="8" - c:x="29" c:y="3"> + <box c:x="1" c:y="0" c:width="40" c:height="7" label="Sample" + name="Box_2" /> + + <label c:x="3" c:y="1" c:width="11" for="nameField" text="Your Name:" + name="Label_5" /> + <label c:x="3" c:y="2" c:width="20" for="yearField" + text="Year you were born:" name="Label_6" /> + <label c:x="3" c:y="4" c:width="14" for="codeField" + text="Your Code Name:" name="Label_7" /> + + <entry c:x="16" c:y="1" c:width="23" block="SampleBlock" + field="NameEntry" name="nameField" /> + <entry c:x="23" c:y="2" c:width="6" block="SampleBlock" field="YearEntry" + name="yearField" /> + + <button c:x="30" c:y="2" c:width="9" label="Fortune" name="btnClear" > <trigger src="MyFortune" type="On-Action"/> </button> - <entry name="codeField" block="SampleBlock" field="CodeNameEntry" c:width="34" c:x="3" - c:y="6"/> - <entry block="SampleBlock" field="FortuneEntry" c:height="4" - c:width="36" c:x="2" c:y="8"/> + + <entry c:x="3" c:y="5" c:width="36" block="SampleBlock" + field="CodeNameEntry" name="codeField" /> + + <entry c:x="2" c:y="7" c:width="38" c:height="4" block="SampleBlock" + field="FortuneEntry" /> </page> </layout> </form> _______________________________________________ commit-gnue mailing list [email protected] http://lists.gnu.org/mailman/listinfo/commit-gnue
