This commit is contained in:
lizhi-rocky
2010-07-12 17:35:16 +08:00
parent d3b3855c7a
commit 5ed4600bf7
7 changed files with 139 additions and 48 deletions

View File

@@ -6,11 +6,14 @@
<attribute name="base_widget"/>
<attribute name="sequence"/>
<oneOrMore>
<ref name="widget"/>
<zeroOrMore>
<ref name="message"/>
</zeroOrMore>
<ref name="widget"/>
</oneOrMore>
<oneOrMore>
<ref name="message_box"/>
</oneOrMore>
<zeroOrMore>
<ref name="message"/>
</zeroOrMore>
<oneOrMore>
<ref name="sequence"/>
</oneOrMore>
@@ -35,6 +38,9 @@
<!-- geometry location is the location inside its parent -->
<ref name="geometry_location"/>
</optional>
<optional>
<ref name="variable"/>
</optional>
</interleave>
<zeroOrMore>
<ref name="widget"/>
@@ -70,6 +76,9 @@ on special cases -->
<optional>
<attribute name="state"/>
</optional>
<optional>
<attribute name="textvariable"/>
</optional>
</interleave>
</element>
</define>
@@ -120,6 +129,25 @@ on special cases -->
</choice>
</define>
<define name="variable">
<element name="variable">
<attribute name="name"/>
<attribute name="type"/>
<optional>
<attribute name="value"/>
</optional>
</element>
</define>
<define name="message_box">
<element name="message_box">
<attribute name="name"/>
<attribute name="type"/>
<attribute name="title"/>
<attribute name="message"/>
</element>
</define>
<define name="message">
<element name="message">
<optional>