source: trunk/third/libglade2/glade-2.0.dtd @ 18268

Revision 18268, 1.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18267, which included commits to RCS files with non-trunk default branches.
Line 
1<!-- proposed DTD for new glade format -->
2
3<!ELEMENT glade-interface (requires*, widget*) >
4<!ATTLIST glade-interface
5  xmlns CDATA #FIXED 'http://glade.gnome.org/glade-2.0.dtd' >
6
7<!ELEMENT requires EMPTY >
8<!ATTLIST requires
9  lib CDATA #REQUIRED >
10
11<!ELEMENT widget (property*, accessibility?, signal*, accelerator*, child*) >
12<!ATTLIST widget
13  class CDATA #REQUIRED
14  id ID #REQUIRED >
15
16<!ELEMENT property (#PCDATA) >
17<!-- type is an optional tag, and should be the string name of the
18     GType for the property -->
19<!-- translatable specifies whether the property should be translated
20     before use. -->
21<!ATTLIST property
22  name CDATA #REQUIRED
23  type CDATA #IMPLIED
24  translatable (yes|no) 'no'
25  agent CDATA #IMPLIED >
26
27<!ELEMENT atkproperty (#PCDATA | accessibility)* >
28<!ATTLIST atkproperty
29  name CDATA #REQUIRED
30  type CDATA #IMPLIED >
31
32<!ELEMENT atkrelation EMPTY >
33<!ATTLIST atkrelation
34  target CDATA #REQUIRED
35  type CDATA #REQUIRED >
36
37<!ELEMENT atkaction EMPTY >
38<!ATTLIST atkaction
39  action_name CDATA #REQUIRED
40  description CDATA #IMPLIED >
41
42<!ELEMENT accessibility (atkrelation | atkaction | atkproperty)* >
43
44<!ELEMENT signal EMPTY >
45<!ATTLIST signal
46  name CDATA #REQUIRED
47  handler CDATA #REQUIRED
48  after (yes|no) 'no'
49  object IDREF #IMPLIED
50  last_modification_time CDATA #IMPLIED >
51
52<!ELEMENT accelerator EMPTY >
53<!ATTLIST accelerator
54  key CDATA #REQUIRED
55  modifiers CDATA #REQUIRED
56  signal CDATA #REQUIRED >
57
58<!ELEMENT child ((widget|placeholder), packing?) >
59<!-- internal children should not have any properties set on them.
60     (Internal children are things like the scrollbars in a
61     GtkScrolledWindow, or the vbox in a GtkDialog). -->
62<!ATTLIST child
63  internal-child CDATA #IMPLIED >
64
65<!ELEMENT packing (property+) >
66
67<!ELEMENT placeholder EMPTY >
Note: See TracBrowser for help on using the repository browser.