OSDN Git Service

add PyGTK version 'chartool'
[sawarabi-fonts/sawarabi-fonts.git] / chartool / pygtk / window_main.glade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <!-- interface-requires gtk+ 3.0 -->
4   <!-- interface-naming-policy toplevel-contextual -->
5   <object class="GtkFontSelectionDialog" id="fontselectiondialog">
6     <property name="can_focus">False</property>
7     <property name="border_width">5</property>
8     <property name="destroy_with_parent">True</property>
9     <property name="type_hint">dialog</property>
10     <child internal-child="font_selection">
11       <object class="GtkFontSelection" id="fontsel-font_selection1">
12         <property name="can_focus">False</property>
13       </object>
14     </child>
15     <action-widgets>
16       <action-widget response="0">fontsel_ok_button</action-widget>
17       <action-widget response="0">fontsel_apply_button1</action-widget>
18       <action-widget response="0">fontsel_cancel_button</action-widget>
19     </action-widgets>
20     <child internal-child="cancel_button">
21       <object class="GtkButton" id="fontsel_cancel_button">
22         <property name="can_focus">False</property>
23         <property name="receives_default">False</property>
24         <property name="use_action_appearance">False</property>
25         <signal name="clicked" handler="on_fontsel_cancel_button_clicked" swapped="no"/>
26       </object>
27     </child>
28     <action-widgets>
29       <action-widget response="0">fontsel_ok_button</action-widget>
30       <action-widget response="0">fontsel_apply_button1</action-widget>
31       <action-widget response="0">fontsel_cancel_button</action-widget>
32     </action-widgets>
33     <child internal-child="apply_button">
34       <object class="GtkButton" id="fontsel_apply_button1">
35         <property name="can_focus">False</property>
36         <property name="receives_default">False</property>
37         <property name="use_action_appearance">False</property>
38       </object>
39     </child>
40     <action-widgets>
41       <action-widget response="0">fontsel_ok_button</action-widget>
42       <action-widget response="0">fontsel_apply_button1</action-widget>
43       <action-widget response="0">fontsel_cancel_button</action-widget>
44     </action-widgets>
45     <child internal-child="ok_button">
46       <object class="GtkButton" id="fontsel_ok_button">
47         <property name="can_focus">False</property>
48         <property name="receives_default">False</property>
49         <property name="use_action_appearance">False</property>
50         <signal name="clicked" handler="on_fontsel_ok_button_clicked" swapped="no"/>
51       </object>
52     </child>
53     <action-widgets>
54       <action-widget response="0">fontsel_ok_button</action-widget>
55       <action-widget response="0">fontsel_apply_button1</action-widget>
56       <action-widget response="0">fontsel_cancel_button</action-widget>
57     </action-widgets>
58   </object>
59   <object class="GtkMenu" id="menu_label_char">
60     <property name="visible">True</property>
61     <property name="can_focus">False</property>
62     <property name="ubuntu_local">True</property>
63     <child>
64       <object class="GtkMenuItem" id="menuitem_font">
65         <property name="visible">True</property>
66         <property name="can_focus">False</property>
67         <property name="use_action_appearance">False</property>
68         <property name="label" translatable="yes">Font...</property>
69         <property name="use_underline">True</property>
70         <signal name="activate" handler="on_menuitem_font_activate" swapped="no"/>
71       </object>
72     </child>
73   </object>
74   <object class="GtkWindow" id="window_main">
75     <property name="width_request">439</property>
76     <property name="height_request">138</property>
77     <property name="can_focus">False</property>
78     <property name="title" translatable="yes">chartool</property>
79     <property name="default_height">138</property>
80     <signal name="destroy-event" handler="end_application" swapped="no"/>
81     <signal name="delete-event" handler="end_application" swapped="no"/>
82     <child>
83       <object class="GtkHBox" id="box_root">
84         <property name="visible">True</property>
85         <property name="can_focus">False</property>
86         <property name="spacing">2</property>
87         <child>
88           <object class="GtkLabel" id="label_char">
89             <property name="width_request">128</property>
90             <property name="height_request">128</property>
91             <property name="visible">True</property>
92             <property name="can_focus">False</property>
93             <property name="yalign">0.25</property>
94             <property name="selectable">True</property>
95             <property name="track_visited_links">False</property>
96             <attributes>
97               <attribute name="style" value="normal"/>
98               <attribute name="weight" value="thin"/>
99             </attributes>
100             <signal name="button-press-event" handler="on_label_char_button_press_event" swapped="no"/>
101           </object>
102           <packing>
103             <property name="expand">False</property>
104             <property name="fill">True</property>
105             <property name="position">0</property>
106           </packing>
107         </child>
108         <child>
109           <object class="GtkVSeparator" id="separator1">
110             <property name="visible">True</property>
111             <property name="can_focus">False</property>
112           </object>
113           <packing>
114             <property name="expand">False</property>
115             <property name="fill">True</property>
116             <property name="position">1</property>
117           </packing>
118         </child>
119         <child>
120           <object class="GtkVBox" id="box_detail">
121             <property name="visible">True</property>
122             <property name="can_focus">False</property>
123             <property name="spacing">5</property>
124             <child>
125               <object class="GtkHBox" id="box_search">
126                 <property name="visible">True</property>
127                 <property name="can_focus">False</property>
128                 <property name="spacing">5</property>
129                 <child>
130                   <object class="GtkEntry" id="entry_search">
131                     <property name="visible">True</property>
132                     <property name="can_focus">True</property>
133                     <property name="primary_icon_activatable">False</property>
134                     <property name="secondary_icon_activatable">False</property>
135                     <property name="primary_icon_sensitive">True</property>
136                     <property name="secondary_icon_sensitive">True</property>
137                     <signal name="activate" handler="on_entry_search_activate" swapped="no"/>
138                   </object>
139                   <packing>
140                     <property name="expand">True</property>
141                     <property name="fill">True</property>
142                     <property name="position">0</property>
143                   </packing>
144                 </child>
145                 <child>
146                   <object class="GtkButton" id="button_search">
147                     <property name="label" translatable="yes">Search</property>
148                     <property name="visible">True</property>
149                     <property name="can_focus">False</property>
150                     <property name="receives_default">True</property>
151                     <property name="use_action_appearance">False</property>
152                     <property name="focus_on_click">False</property>
153                     <signal name="clicked" handler="on_button_search_clicked" swapped="no"/>
154                   </object>
155                   <packing>
156                     <property name="expand">False</property>
157                     <property name="fill">True</property>
158                     <property name="position">1</property>
159                   </packing>
160                 </child>
161               </object>
162               <packing>
163                 <property name="expand">False</property>
164                 <property name="fill">True</property>
165                 <property name="position">0</property>
166               </packing>
167             </child>
168             <child>
169               <object class="GtkHBox" id="box_code">
170                 <property name="visible">True</property>
171                 <property name="can_focus">False</property>
172                 <property name="spacing">5</property>
173                 <child>
174                   <object class="GtkLabel" id="label2">
175                     <property name="width_request">64</property>
176                     <property name="visible">True</property>
177                     <property name="can_focus">False</property>
178                     <property name="label" translatable="yes">Code:</property>
179                   </object>
180                   <packing>
181                     <property name="expand">False</property>
182                     <property name="fill">True</property>
183                     <property name="position">0</property>
184                   </packing>
185                 </child>
186                 <child>
187                   <object class="GtkEntry" id="entry_code">
188                     <property name="visible">True</property>
189                     <property name="can_focus">True</property>
190                     <property name="editable">False</property>
191                     <property name="primary_icon_activatable">False</property>
192                     <property name="secondary_icon_activatable">False</property>
193                     <property name="primary_icon_sensitive">True</property>
194                     <property name="secondary_icon_sensitive">True</property>
195                   </object>
196                   <packing>
197                     <property name="expand">True</property>
198                     <property name="fill">True</property>
199                     <property name="position">1</property>
200                   </packing>
201                 </child>
202                 <child>
203                   <object class="GtkButton" id="button_code_script">
204                     <property name="label" translatable="yes">S</property>
205                     <property name="width_request">24</property>
206                     <property name="height_request">24</property>
207                     <property name="visible">True</property>
208                     <property name="can_focus">False</property>
209                     <property name="receives_default">True</property>
210                     <property name="use_action_appearance">False</property>
211                     <property name="focus_on_click">False</property>
212                   </object>
213                   <packing>
214                     <property name="expand">False</property>
215                     <property name="fill">True</property>
216                     <property name="position">2</property>
217                   </packing>
218                 </child>
219               </object>
220               <packing>
221                 <property name="expand">False</property>
222                 <property name="fill">True</property>
223                 <property name="position">1</property>
224               </packing>
225             </child>
226             <child>
227               <object class="GtkHBox" id="box_name">
228                 <property name="visible">True</property>
229                 <property name="can_focus">False</property>
230                 <property name="spacing">5</property>
231                 <child>
232                   <object class="GtkLabel" id="label3">
233                     <property name="width_request">64</property>
234                     <property name="visible">True</property>
235                     <property name="can_focus">False</property>
236                     <property name="label" translatable="yes">Name:</property>
237                   </object>
238                   <packing>
239                     <property name="expand">False</property>
240                     <property name="fill">True</property>
241                     <property name="position">0</property>
242                   </packing>
243                 </child>
244                 <child>
245                   <object class="GtkEntry" id="entry_name">
246                     <property name="visible">True</property>
247                     <property name="can_focus">True</property>
248                     <property name="editable">False</property>
249                     <property name="primary_icon_activatable">False</property>
250                     <property name="secondary_icon_activatable">False</property>
251                     <property name="primary_icon_sensitive">True</property>
252                     <property name="secondary_icon_sensitive">True</property>
253                   </object>
254                   <packing>
255                     <property name="expand">True</property>
256                     <property name="fill">True</property>
257                     <property name="position">1</property>
258                   </packing>
259                 </child>
260                 <child>
261                   <object class="GtkButton" id="button_name_script">
262                     <property name="label" translatable="yes">S</property>
263                     <property name="width_request">24</property>
264                     <property name="height_request">24</property>
265                     <property name="visible">True</property>
266                     <property name="can_focus">False</property>
267                     <property name="receives_default">True</property>
268                     <property name="use_action_appearance">False</property>
269                     <property name="focus_on_click">False</property>
270                   </object>
271                   <packing>
272                     <property name="expand">False</property>
273                     <property name="fill">True</property>
274                     <property name="position">2</property>
275                   </packing>
276                 </child>
277               </object>
278               <packing>
279                 <property name="expand">False</property>
280                 <property name="fill">True</property>
281                 <property name="position">2</property>
282               </packing>
283             </child>
284           </object>
285           <packing>
286             <property name="expand">True</property>
287             <property name="fill">True</property>
288             <property name="padding">5</property>
289             <property name="position">2</property>
290           </packing>
291         </child>
292       </object>
293     </child>
294   </object>
295 </interface>