Modified GtkBuilder schemas to include <binding>
This commit is contained in:
@@ -13,7 +13,7 @@ object = element object {
|
||||
attribute class { text },
|
||||
attribute type-func { text } ?,
|
||||
attribute constructor { text } ?,
|
||||
(property | signal | child | ANY) *
|
||||
(property | signal | binding | child | ANY) *
|
||||
}
|
||||
|
||||
property = element property {
|
||||
@@ -34,6 +34,12 @@ signal = element signal {
|
||||
empty
|
||||
}
|
||||
|
||||
binding = element binding {
|
||||
attribute to { text },
|
||||
attribute from { text },
|
||||
attribute source { text }
|
||||
}
|
||||
|
||||
child = element child {
|
||||
attribute type { text } ?,
|
||||
attribute internal-child { text } ?,
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<choice>
|
||||
<ref name="property"/>
|
||||
<ref name="signal"/>
|
||||
<ref name="binding"/>
|
||||
<ref name="child"/>
|
||||
<ref name="ANY"/>
|
||||
</choice>
|
||||
@@ -113,6 +114,20 @@
|
||||
<empty/>
|
||||
</element>
|
||||
</define>
|
||||
<define name="binding">
|
||||
<element name="binding">
|
||||
<attribute name="to">
|
||||
<text/>
|
||||
</attribute>
|
||||
<attribute name="from">
|
||||
<text/>
|
||||
</attribute>
|
||||
<attribute name="source">
|
||||
<text/>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</define>
|
||||
<define name="child">
|
||||
<element name="child">
|
||||
<optional>
|
||||
|
||||
Reference in New Issue
Block a user