Mercurial > MadButterfly
annotate pyink/component_dock.glade @ 1311:e6bb9d00341f
Make content dom and comp_dock synchronized
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 20 Jan 2011 13:08:26 +0800 |
parents | f2b1b22f7cbc |
children | c2a693a27eb9 |
rev | line source |
---|---|
1303 | 1 <?xml version="1.0"?> |
2 <interface> | |
3 <requires lib="gtk+" version="2.16"/> | |
4 <!-- interface-naming-policy project-wide --> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
5 <object class="GtkListStore" id="components_model"> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
6 <columns> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
7 <!-- column-name name --> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
8 <column type="gchararray"/> |
1309
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
9 <!-- column-name editable --> |
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
10 <column type="gboolean"/> |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
11 </columns> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
12 </object> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
13 <object class="GtkListStore" id="timelines_model"> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
14 <columns> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
15 <!-- column-name name --> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
16 <column type="gchararray"/> |
1309
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
17 <!-- column-name editable --> |
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
18 <column type="gboolean"/> |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
19 </columns> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
20 </object> |
1303 | 21 <object class="GtkWindow" id="window1"> |
22 <child> | |
23 <object class="GtkVBox" id="component_dock_top"> | |
24 <property name="visible">True</property> | |
25 <property name="orientation">vertical</property> | |
26 <child> | |
27 <object class="GtkVBox" id="vbox2"> | |
28 <property name="visible">True</property> | |
29 <property name="orientation">vertical</property> | |
30 <child> | |
31 <object class="GtkTreeView" id="treeview_components"> | |
32 <property name="height_request">100</property> | |
33 <property name="visible">True</property> | |
34 <property name="can_focus">True</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
35 <property name="model">components_model</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
36 <signal name="cursor_changed" handler="on_treeview_components_cursor_changed"/> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
37 <child> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
38 <object class="GtkTreeViewColumn" id="treeviewcolumn1"> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
39 <property name="sizing">autosize</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
40 <property name="title">Component Name</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
41 <property name="expand">True</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
42 <child> |
1309
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
43 <object class="GtkCellRendererText" id="cellrenderer_comp"> |
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
44 <signal name="edited" handler="on_cellrenderer_comp_edited"/> |
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
45 </object> |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
46 <attributes> |
1309
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
47 <attribute name="editable">1</attribute> |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
48 <attribute name="text">0</attribute> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
49 </attributes> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
50 </child> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
51 </object> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
52 </child> |
1303 | 53 </object> |
54 <packing> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
55 <property name="position">0</property> |
1303 | 56 </packing> |
57 </child> | |
58 <child> | |
59 <object class="GtkHButtonBox" id="hbuttonbox1"> | |
60 <property name="visible">True</property> | |
61 <property name="spacing">5</property> | |
62 <property name="layout_style">start</property> | |
63 <child> | |
64 <object class="GtkButton" id="add_comp"> | |
65 <property name="label">gtk-add</property> | |
66 <property name="visible">True</property> | |
67 <property name="can_focus">True</property> | |
68 <property name="receives_default">True</property> | |
69 <property name="use_stock">True</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
70 <signal name="clicked" handler="on_add_comp_clicked"/> |
1303 | 71 </object> |
72 <packing> | |
73 <property name="expand">False</property> | |
74 <property name="fill">False</property> | |
75 <property name="position">0</property> | |
76 </packing> | |
77 </child> | |
78 <child> | |
79 <object class="GtkButton" id="remove_comp"> | |
80 <property name="label">gtk-remove</property> | |
81 <property name="visible">True</property> | |
82 <property name="can_focus">True</property> | |
83 <property name="receives_default">True</property> | |
84 <property name="use_stock">True</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
85 <signal name="clicked" handler="on_remove_comp_clicked"/> |
1303 | 86 </object> |
87 <packing> | |
88 <property name="expand">False</property> | |
89 <property name="fill">False</property> | |
90 <property name="position">1</property> | |
91 </packing> | |
92 </child> | |
93 </object> | |
94 <packing> | |
95 <property name="expand">False</property> | |
96 <property name="fill">False</property> | |
97 <property name="padding">1</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
98 <property name="position">1</property> |
1303 | 99 </packing> |
100 </child> | |
101 </object> | |
102 <packing> | |
103 <property name="position">0</property> | |
104 </packing> | |
105 </child> | |
106 <child> | |
107 <object class="GtkHSeparator" id="hseparator1"> | |
108 <property name="visible">True</property> | |
109 </object> | |
110 <packing> | |
111 <property name="expand">False</property> | |
112 <property name="fill">False</property> | |
113 <property name="padding">5</property> | |
114 <property name="position">1</property> | |
115 </packing> | |
116 </child> | |
117 <child> | |
118 <object class="GtkVBox" id="vbox3"> | |
119 <property name="visible">True</property> | |
120 <property name="orientation">vertical</property> | |
121 <child> | |
122 <object class="GtkTreeView" id="treeview_timelines"> | |
123 <property name="height_request">100</property> | |
124 <property name="visible">True</property> | |
125 <property name="can_focus">True</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
126 <property name="model">timelines_model</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
127 <property name="search_column">1</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
128 <property name="level_indentation">9</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
129 <property name="enable_grid_lines">horizontal</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
130 <signal name="cursor_changed" handler="on_treeview_timelines_cursor_changed"/> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
131 <child> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
132 <object class="GtkTreeViewColumn" id="treeviewcolumn2"> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
133 <property name="title">Action/Timeline Name</property> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
134 <child> |
1309
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
135 <object class="GtkCellRendererText" id="cellrenderer_timelines"> |
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
136 <signal name="edited" handler="on_cellrenderer_timelines_edited"/> |
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
137 </object> |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
138 <attributes> |
1309
f2b1b22f7cbc
Make comp_dock editable
Thinker K.F. Li <thinker@codemud.net>
parents:
1308
diff
changeset
|
139 <attribute name="editable">1</attribute> |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
140 <attribute name="text">0</attribute> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
141 </attributes> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
142 </child> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
143 </object> |
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
144 </child> |
1303 | 145 </object> |
146 <packing> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
147 <property name="position">0</property> |
1303 | 148 </packing> |
149 </child> | |
150 <child> | |
151 <object class="GtkHButtonBox" id="hbuttonbox2"> | |
152 <property name="visible">True</property> | |
153 <property name="spacing">5</property> | |
154 <property name="layout_style">start</property> | |
155 <child> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
156 <object class="GtkButton" id="add_timeline"> |
1303 | 157 <property name="label">gtk-add</property> |
158 <property name="visible">True</property> | |
159 <property name="can_focus">True</property> | |
160 <property name="receives_default">True</property> | |
161 <property name="use_stock">True</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
162 <signal name="clicked" handler="on_add_timeline_clicked"/> |
1303 | 163 </object> |
164 <packing> | |
165 <property name="expand">False</property> | |
166 <property name="fill">False</property> | |
167 <property name="position">0</property> | |
168 </packing> | |
169 </child> | |
170 <child> | |
171 <object class="GtkButton" id="remove_timeline"> | |
172 <property name="label">gtk-remove</property> | |
173 <property name="visible">True</property> | |
174 <property name="can_focus">True</property> | |
175 <property name="receives_default">True</property> | |
176 <property name="use_stock">True</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
177 <signal name="clicked" handler="on_remove_timeline_clicked"/> |
1303 | 178 </object> |
179 <packing> | |
180 <property name="expand">False</property> | |
181 <property name="fill">False</property> | |
182 <property name="position">1</property> | |
183 </packing> | |
184 </child> | |
185 </object> | |
186 <packing> | |
187 <property name="expand">False</property> | |
188 <property name="fill">False</property> | |
189 <property name="padding">2</property> | |
1308
49775feefbcf
Show components and timelines in comp_dock
Thinker K.F. Li <thinker@codemud.net>
parents:
1303
diff
changeset
|
190 <property name="position">1</property> |
1303 | 191 </packing> |
192 </child> | |
193 </object> | |
194 <packing> | |
195 <property name="position">2</property> | |
196 </packing> | |
197 </child> | |
198 </object> | |
199 </child> | |
200 </object> | |
201 <object class="GtkActionGroup" id="actiongroup1"/> | |
202 <object class="GtkActionGroup" id="actiongroup2"/> | |
203 <object class="GtkActionGroup" id="actiongroup3"/> | |
204 </interface> |