OSDN Git Service

Add clear button for fliterbar.
[fukui-no-namari/fukui-no-namari.git] / src / data / board_window.glade
1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
2 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
3
4 <glade-interface>
5 <requires lib="gnome"/>
6 <requires lib="bonobo"/>
7
8 <widget class="GnomeApp" id="board_window">
9   <property name="title" translatable="yes">board_window</property>
10   <property name="type">GTK_WINDOW_TOPLEVEL</property>
11   <property name="window_position">GTK_WIN_POS_NONE</property>
12   <property name="modal">False</property>
13   <property name="default_width">600</property>
14   <property name="default_height">600</property>
15   <property name="resizable">True</property>
16   <property name="destroy_with_parent">False</property>
17   <property name="decorated">True</property>
18   <property name="skip_taskbar_hint">False</property>
19   <property name="skip_pager_hint">False</property>
20   <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
21   <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
22   <property name="enable_layout_config">True</property>
23   <signal name="destroy" handler="on_board_window_destroy" last_modification_time="Wed, 09 Aug 2006 23:41:09 GMT"/>
24   <signal name="delete_event" handler="on_board_window_delete_event" last_modification_time="Thu, 31 Aug 2006 11:00:02 GMT"/>
25
26   <child internal-child="dock">
27     <widget class="BonoboDock" id="bonobodock1">
28       <property name="visible">True</property>
29       <property name="allow_floating">True</property>
30
31       <child>
32         <widget class="BonoboDockItem" id="bonobodockitem1">
33           <property name="visible">True</property>
34           <property name="shadow_type">GTK_SHADOW_NONE</property>
35
36           <child>
37             <widget class="GtkMenuBar" id="menubar1">
38               <property name="visible">True</property>
39
40               <child>
41                 <widget class="GtkMenuItem" id="file1">
42                   <property name="visible">True</property>
43                   <property name="stock_item">GNOMEUIINFO_MENU_FILE_TREE</property>
44
45                   <child>
46                     <widget class="GtkMenu" id="file1_menu">
47
48                       <child>
49                         <widget class="GtkImageMenuItem" id="close">
50                           <property name="visible">True</property>
51                           <property name="stock_item">GNOMEUIINFO_MENU_CLOSE_ITEM</property>
52                           <signal name="activate" handler="on_close_activate" last_modification_time="Sun, 20 Aug 2006 13:00:02 GMT"/>
53                         </widget>
54                       </child>
55
56                       <child>
57                         <widget class="GtkSeparatorMenuItem" id="separator1">
58                           <property name="visible">True</property>
59                         </widget>
60                       </child>
61
62                       <child>
63                         <widget class="GtkImageMenuItem" id="quit">
64                           <property name="visible">True</property>
65                           <property name="stock_item">GNOMEUIINFO_MENU_EXIT_ITEM</property>
66                           <signal name="activate" handler="on_quit_activate" last_modification_time="Wed, 09 Aug 2006 23:42:32 GMT"/>
67                         </widget>
68                       </child>
69                     </widget>
70                   </child>
71                 </widget>
72               </child>
73
74               <child>
75                 <widget class="GtkMenuItem" id="edit1">
76                   <property name="visible">True</property>
77                   <property name="stock_item">GNOMEUIINFO_MENU_EDIT_TREE</property>
78
79                   <child>
80                     <widget class="GtkMenu" id="edit1_menu">
81
82                       <child>
83                         <widget class="GtkMenuItem" id="filter">
84                           <property name="visible">True</property>
85                           <property name="label" translatable="yes">Filter</property>
86                           <property name="use_underline">True</property>
87                           <signal name="activate" handler="on_filter_activate" last_modification_time="Wed, 06 Sep 2006 21:41:17 GMT"/>
88                           <accelerator key="F" modifiers="GDK_CONTROL_MASK" signal="activate"/>
89                         </widget>
90                       </child>
91                     </widget>
92                   </child>
93                 </widget>
94               </child>
95
96               <child>
97                 <widget class="GtkMenuItem" id="view1">
98                   <property name="visible">True</property>
99                   <property name="stock_item">GNOMEUIINFO_MENU_VIEW_TREE</property>
100
101                   <child>
102                     <widget class="GtkMenu" id="view1_menu">
103
104                       <child>
105                         <widget class="GtkImageMenuItem" id="refresh">
106                           <property name="visible">True</property>
107                           <property name="label" translatable="yes">_Refresh</property>
108                           <property name="use_underline">True</property>
109                           <signal name="activate" handler="on_refresh_activate" last_modification_time="Thu, 31 Aug 2006 09:40:44 GMT"/>
110                           <accelerator key="R" modifiers="GDK_CONTROL_MASK" signal="activate"/>
111
112                           <child internal-child="image">
113                             <widget class="GtkImage" id="image17">
114                               <property name="visible">True</property>
115                               <property name="stock">gtk-refresh</property>
116                               <property name="icon_size">1</property>
117                               <property name="xalign">0.5</property>
118                               <property name="yalign">0.5</property>
119                               <property name="xpad">0</property>
120                               <property name="ypad">0</property>
121                             </widget>
122                           </child>
123                         </widget>
124                       </child>
125
126                       <child>
127                         <widget class="GtkSeparatorMenuItem" id="separator2">
128                           <property name="visible">True</property>
129                         </widget>
130                       </child>
131
132                       <child>
133                         <widget class="GtkMenuItem" id="toolbar">
134                           <property name="visible">True</property>
135                           <property name="label" translatable="yes">_Toolbar</property>
136                           <property name="use_underline">True</property>
137                           <signal name="activate" handler="on_toolbar_activate" last_modification_time="Thu, 31 Aug 2006 09:21:48 GMT"/>
138                         </widget>
139                       </child>
140
141                       <child>
142                         <widget class="GtkMenuItem" id="statusbar">
143                           <property name="visible">True</property>
144                           <property name="label" translatable="yes">St_atusbar</property>
145                           <property name="use_underline">True</property>
146                           <signal name="activate" handler="on_statusbar_activate" last_modification_time="Thu, 31 Aug 2006 09:21:48 GMT"/>
147                         </widget>
148                       </child>
149                     </widget>
150                   </child>
151                 </widget>
152               </child>
153
154               <child>
155                 <widget class="GtkMenuItem" id="help1">
156                   <property name="visible">True</property>
157                   <property name="stock_item">GNOMEUIINFO_MENU_HELP_TREE</property>
158
159                   <child>
160                     <widget class="GtkMenu" id="help1_menu">
161
162                       <child>
163                         <widget class="GtkImageMenuItem" id="about1">
164                           <property name="visible">True</property>
165                           <property name="stock_item">GNOMEUIINFO_MENU_ABOUT_ITEM</property>
166                           <signal name="activate" handler="on_about1_activate" last_modification_time="Wed, 02 Aug 2006 06:14:00 GMT"/>
167                         </widget>
168                       </child>
169                     </widget>
170                   </child>
171                 </widget>
172               </child>
173             </widget>
174           </child>
175         </widget>
176         <packing>
177           <property name="placement">BONOBO_DOCK_TOP</property>
178           <property name="band">0</property>
179           <property name="position">0</property>
180           <property name="offset">0</property>
181           <property name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL|BONOBO_DOCK_ITEM_BEH_LOCKED</property>
182         </packing>
183       </child>
184
185       <child>
186         <widget class="BonoboDockItem" id="bonobodockitem2">
187           <property name="visible">True</property>
188           <property name="shadow_type">GTK_SHADOW_OUT</property>
189
190           <child>
191             <widget class="GtkToolbar" id="toolbar">
192               <property name="visible">True</property>
193               <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
194               <property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
195               <property name="tooltips">True</property>
196               <property name="show_arrow">True</property>
197
198               <child>
199                 <widget class="GtkToolButton" id="toolbarbutton_refresh">
200                   <property name="visible">True</property>
201                   <property name="stock_id">gtk-refresh</property>
202                   <property name="visible_horizontal">True</property>
203                   <property name="visible_vertical">True</property>
204                   <property name="is_important">False</property>
205                   <signal name="clicked" handler="on_refresh_activate" last_modification_time="Thu, 31 Aug 2006 09:43:06 GMT"/>
206                 </widget>
207                 <packing>
208                   <property name="expand">False</property>
209                   <property name="homogeneous">True</property>
210                 </packing>
211               </child>
212             </widget>
213           </child>
214         </widget>
215         <packing>
216           <property name="placement">BONOBO_DOCK_TOP</property>
217           <property name="band">1</property>
218           <property name="position">0</property>
219           <property name="offset">0</property>
220           <property name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_LOCKED</property>
221         </packing>
222       </child>
223
224       <child>
225         <widget class="BonoboDockItem" id="bonobodockitem_filterbar">
226           <property name="visible">True</property>
227           <property name="shadow_type">GTK_SHADOW_OUT</property>
228
229           <child>
230             <widget class="GtkHBox" id="hbox1">
231               <property name="visible">True</property>
232               <property name="homogeneous">False</property>
233               <property name="spacing">0</property>
234
235               <child>
236                 <widget class="GtkToolbar" id="toolbar2">
237                   <property name="visible">True</property>
238                   <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
239                   <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
240                   <property name="tooltips">True</property>
241                   <property name="show_arrow">False</property>
242
243                   <child>
244                     <widget class="GtkToolButton" id="toolbutton_filterbar_close">
245                       <property name="visible">True</property>
246                       <property name="stock_id">gtk-close</property>
247                       <property name="visible_horizontal">True</property>
248                       <property name="visible_vertical">True</property>
249                       <property name="is_important">False</property>
250                       <signal name="clicked" handler="on_toolbutton_filterbar_close_clicked" last_modification_time="Wed, 06 Sep 2006 21:30:04 GMT"/>
251                     </widget>
252                     <packing>
253                       <property name="expand">False</property>
254                       <property name="homogeneous">False</property>
255                     </packing>
256                   </child>
257                 </widget>
258                 <packing>
259                   <property name="padding">0</property>
260                   <property name="expand">False</property>
261                   <property name="fill">False</property>
262                 </packing>
263               </child>
264
265               <child>
266                 <widget class="GtkLabel" id="label1">
267                   <property name="visible">True</property>
268                   <property name="label" translatable="yes">Filter:</property>
269                   <property name="use_underline">False</property>
270                   <property name="use_markup">False</property>
271                   <property name="justify">GTK_JUSTIFY_LEFT</property>
272                   <property name="wrap">False</property>
273                   <property name="selectable">False</property>
274                   <property name="xalign">0.5</property>
275                   <property name="yalign">0.5</property>
276                   <property name="xpad">0</property>
277                   <property name="ypad">0</property>
278                 </widget>
279                 <packing>
280                   <property name="padding">0</property>
281                   <property name="expand">False</property>
282                   <property name="fill">False</property>
283                 </packing>
284               </child>
285
286               <child>
287                 <widget class="GtkEntry" id="entry_filterbar">
288                   <property name="visible">True</property>
289                   <property name="can_focus">True</property>
290                   <property name="editable">True</property>
291                   <property name="visibility">True</property>
292                   <property name="max_length">0</property>
293                   <property name="text" translatable="yes"></property>
294                   <property name="has_frame">True</property>
295                   <property name="invisible_char">*</property>
296                   <property name="activates_default">False</property>
297                   <signal name="activate" handler="on_entry_filterbar_activate" last_modification_time="Wed, 06 Sep 2006 21:30:21 GMT"/>
298                 </widget>
299                 <packing>
300                   <property name="padding">0</property>
301                   <property name="expand">True</property>
302                   <property name="fill">True</property>
303                 </packing>
304               </child>
305
306               <child>
307                 <widget class="GtkButton" id="button_filterbar_clear">
308                   <property name="visible">True</property>
309                   <property name="can_focus">True</property>
310                   <property name="label">gtk-clear</property>
311                   <property name="use_stock">True</property>
312                   <property name="relief">GTK_RELIEF_NONE</property>
313                   <property name="focus_on_click">False</property>
314                   <signal name="clicked" handler="on_button_filterbar_clear_clicked" last_modification_time="Thu, 14 Sep 2006 03:15:16 GMT"/>
315                 </widget>
316                 <packing>
317                   <property name="padding">5</property>
318                   <property name="expand">False</property>
319                   <property name="fill">False</property>
320                 </packing>
321               </child>
322             </widget>
323           </child>
324         </widget>
325         <packing>
326           <property name="placement">BONOBO_DOCK_BOTTOM</property>
327           <property name="band">0</property>
328           <property name="position">0</property>
329           <property name="offset">0</property>
330           <property name="behavior">BONOBO_DOCK_ITEM_BEH_EXCLUSIVE|BONOBO_DOCK_ITEM_BEH_LOCKED</property>
331         </packing>
332       </child>
333
334       <child>
335         <widget class="GtkScrolledWindow" id="scrolledwindow1">
336           <property name="visible">True</property>
337           <property name="can_focus">True</property>
338           <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
339           <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
340           <property name="shadow_type">GTK_SHADOW_NONE</property>
341           <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
342
343           <child>
344             <widget class="GtkTreeView" id="treeview">
345               <property name="visible">True</property>
346               <property name="can_focus">True</property>
347               <property name="has_focus">True</property>
348               <property name="headers_visible">True</property>
349               <property name="rules_hint">True</property>
350               <property name="reorderable">False</property>
351               <property name="enable_search">True</property>
352               <signal name="row_activated" handler="on_treeview_row_activated" last_modification_time="Wed, 09 Aug 2006 23:46:30 GMT"/>
353               <signal name="button_press_event" handler="on_treeview_button_press_event" last_modification_time="Wed, 09 Aug 2006 23:46:34 GMT"/>
354             </widget>
355           </child>
356         </widget>
357       </child>
358     </widget>
359     <packing>
360       <property name="padding">0</property>
361       <property name="expand">True</property>
362       <property name="fill">True</property>
363     </packing>
364   </child>
365
366   <child internal-child="appbar">
367     <widget class="GnomeAppBar" id="appbar">
368       <property name="visible">True</property>
369       <property name="has_progress">True</property>
370       <property name="has_status">True</property>
371     </widget>
372     <packing>
373       <property name="padding">0</property>
374       <property name="expand">True</property>
375       <property name="fill">True</property>
376     </packing>
377   </child>
378 </widget>
379
380 <widget class="GtkMenu" id="popup_menu">
381
382   <child>
383     <widget class="GtkImageMenuItem" id="popup_menu_open">
384       <property name="visible">True</property>
385       <property name="stock_item">GNOMEUIINFO_MENU_OPEN_ITEM</property>
386       <signal name="activate" handler="on_popup_menu_open_activate" last_modification_time="Wed, 09 Aug 2006 23:44:38 GMT"/>
387     </widget>
388   </child>
389 </widget>
390
391 </glade-interface>