]> Pileus Git - ~andy/gtk/blob - gtk/gtkbuilder.rnc
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkbuilder.rnc
1 start = element interface {
2   attribute domain { text } ?,
3   ( requires | object | menu ) *
4 }
5
6 requires = element requires {
7   attribute lib { text },
8   attribute version { text }
9 }
10
11 object = element object {
12   attribute id { xsd:ID },
13   attribute class { text },
14   attribute type-func { text } ?,
15   attribute constructor { text } ?,
16   (property | signal | child | ANY) *
17 }
18
19 property = element property {
20   attribute name { text },
21   attribute translatable { "yes" | "no" } ?,
22   attribute comments { text } ?,
23   attribute context { text } ?,
24   text ?
25 }
26
27 signal = element signal {
28   attribute name { text },
29   attribute handler { text },
30   attribute after { text } ?,
31   attribute swapped { text } ?,
32   attribute object { text } ?,
33   attribute last_modification_time { text } ?,
34   empty
35 }
36
37 child = element child {
38   attribute type { text } ?,
39   attribute internal-child { text } ?,
40   (object | ANY)*
41 }
42
43 menu = element menu {
44   attribute id { xsd:ID },
45   attribute domain { text } ?,
46   (item | submenu | section) *
47 }
48
49 item = element item {
50   attribute id { xsd:ID } ?,
51   (attribute_ | link) *
52 }
53
54 attribute_ = element attribute {
55   attribute name { text },
56   attribute type { text } ?,
57   attribute translatable { "yes" | "no" } ?,
58   attribute context { text } ?,
59   attribute comments { text } ?,
60   text ?
61 }
62
63 link = element link {
64   attribute id { xsd:ID } ?,
65   attribute name { text },
66   item *
67 }
68
69 submenu = element submenu {
70   attribute id { xsd:ID } ?,
71   (attribute_ | item | submenu | section) *
72 }
73
74 section = element section {
75   attribute id { xsd:ID } ?,
76   (attribute_ | item | submenu | section) *
77 }
78
79 ANY = element * - (interface | requires | object | property | signal | child | menu | item | attribute | link | submenu | section) {
80   attribute * { text } *,
81   (ALL * & text ?)
82 }
83 ALL = element * {
84   attribute * { text } *,
85   (ALL * & text ?)
86 }