source: libpipi/trunk/ThePimp/gtk-gui/gui.stetic @ 2872

Last change on this file since 2872 was 2872, checked in by Sam Hocevar, 14 years ago

Start playing with scrolling widgets in Pimp.

File size: 18.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<stetic-interface>
3  <configuration>
4    <images-root-path>..</images-root-path>
5    <target-gtk-version>2.12.1</target-gtk-version>
6  </configuration>
7  <import>
8    <widget-library name="../Pimp.exe" internal="true" />
9  </import>
10  <widget class="Gtk.Window" id="MainWindow" design-size="840 680">
11    <action-group name="Default">
12      <action id="newAction">
13        <property name="Type">Action</property>
14        <property name="Label" translatable="yes" />
15        <property name="Sensitive">False</property>
16        <property name="StockId">gtk-new</property>
17      </action>
18      <action id="openAction">
19        <property name="Type">Action</property>
20        <property name="Label" translatable="yes" />
21        <property name="StockId">gtk-open</property>
22        <signal name="Activated" handler="OnOpenActionActivated" />
23      </action>
24      <action id="saveAction">
25        <property name="Type">Action</property>
26        <property name="Label" translatable="yes" />
27        <property name="Sensitive">False</property>
28        <property name="StockId">gtk-save</property>
29      </action>
30      <action id="Action">
31        <property name="Type">Action</property>
32        <property name="Label" translatable="yes" />
33      </action>
34      <action id="FileAction">
35        <property name="Type">Action</property>
36        <property name="Label" translatable="yes">File</property>
37        <property name="ShortLabel" translatable="yes">File</property>
38      </action>
39      <action id="EditAction">
40        <property name="Type">Action</property>
41        <property name="Label" translatable="yes">Edit</property>
42        <property name="ShortLabel" translatable="yes">Edit</property>
43      </action>
44      <action id="ViewAction">
45        <property name="Type">Action</property>
46        <property name="Label" translatable="yes">View</property>
47        <property name="ShortLabel" translatable="yes">View</property>
48      </action>
49      <action id="HelpAction">
50        <property name="Type">Action</property>
51        <property name="Label" translatable="yes">Help</property>
52        <property name="ShortLabel" translatable="yes">Help</property>
53      </action>
54      <action id="NewAction">
55        <property name="Type">Action</property>
56        <property name="Label" translatable="yes">_New</property>
57        <property name="Sensitive">False</property>
58        <property name="ShortLabel" translatable="yes">_New</property>
59        <property name="StockId">gtk-new</property>
60      </action>
61      <action id="OpenAction">
62        <property name="Type">Action</property>
63        <property name="Label" translatable="yes">_Open</property>
64        <property name="ShortLabel" translatable="yes">_Open</property>
65        <property name="StockId">gtk-open</property>
66        <signal name="Activated" handler="OnOpenActionActivated" />
67      </action>
68      <action id="SaveAction">
69        <property name="Type">Action</property>
70        <property name="Label" translatable="yes">_Save</property>
71        <property name="Sensitive">False</property>
72        <property name="ShortLabel" translatable="yes">_Save</property>
73        <property name="StockId">gtk-save</property>
74      </action>
75      <action id="SaveAsAction">
76        <property name="Type">Action</property>
77        <property name="Label" translatable="yes">Save _As</property>
78        <property name="Sensitive">False</property>
79        <property name="ShortLabel" translatable="yes">Save _As</property>
80        <property name="StockId">gtk-save-as</property>
81      </action>
82      <action id="QuitAction">
83        <property name="Type">Action</property>
84        <property name="Label" translatable="yes">_Quit</property>
85        <property name="ShortLabel" translatable="yes">_Quit</property>
86        <property name="StockId">gtk-quit</property>
87        <signal name="Activated" handler="OnQuitActionActivated" />
88      </action>
89      <action id="HelpAction1">
90        <property name="Type">Action</property>
91        <property name="Label" translatable="yes">_Help</property>
92        <property name="Sensitive">False</property>
93        <property name="ShortLabel" translatable="yes">_Help</property>
94        <property name="StockId">gtk-help</property>
95      </action>
96      <action id="AboutAction">
97        <property name="Type">Action</property>
98        <property name="Label" translatable="yes">_About</property>
99        <property name="Sensitive">False</property>
100        <property name="ShortLabel" translatable="yes">_About</property>
101        <property name="StockId">gtk-about</property>
102      </action>
103      <action id="UndoAction">
104        <property name="Type">Action</property>
105        <property name="Label" translatable="yes">_Undo</property>
106        <property name="Sensitive">False</property>
107        <property name="ShortLabel" translatable="yes">_Undo</property>
108        <property name="StockId">gtk-undo</property>
109      </action>
110      <action id="RedoAction">
111        <property name="Type">Action</property>
112        <property name="Label" translatable="yes">_Redo</property>
113        <property name="Sensitive">False</property>
114        <property name="ShortLabel" translatable="yes">_Redo</property>
115        <property name="StockId">gtk-redo</property>
116      </action>
117      <action id="BestFitAction">
118        <property name="Type">Action</property>
119        <property name="Label" translatable="yes">Best _Fit</property>
120        <property name="Sensitive">False</property>
121        <property name="ShortLabel" translatable="yes">Best _Fit</property>
122        <property name="StockId">gtk-zoom-fit</property>
123      </action>
124      <action id="NormalSizeAction">
125        <property name="Type">Action</property>
126        <property name="Label" translatable="yes">_Normal Size</property>
127        <property name="Sensitive">False</property>
128        <property name="ShortLabel" translatable="yes">_Normal Size</property>
129        <property name="StockId">gtk-zoom-100</property>
130      </action>
131      <action id="ZoomOutAction">
132        <property name="Type">Action</property>
133        <property name="Label" translatable="yes">Zoom _Out</property>
134        <property name="Sensitive">False</property>
135        <property name="ShortLabel" translatable="yes">Zoom _Out</property>
136        <property name="StockId">gtk-zoom-out</property>
137      </action>
138      <action id="ZoomInAction">
139        <property name="Type">Action</property>
140        <property name="Label" translatable="yes">Zoom _In</property>
141        <property name="Sensitive">False</property>
142        <property name="ShortLabel" translatable="yes">Zoom _In</property>
143        <property name="StockId">gtk-zoom-in</property>
144      </action>
145      <action id="undoAction">
146        <property name="Type">Action</property>
147        <property name="Label" translatable="yes" />
148        <property name="Sensitive">False</property>
149        <property name="StockId">gtk-undo</property>
150      </action>
151      <action id="redoAction">
152        <property name="Type">Action</property>
153        <property name="Label" translatable="yes" />
154        <property name="Sensitive">False</property>
155        <property name="StockId">gtk-redo</property>
156      </action>
157      <action id="zoom100Action">
158        <property name="Type">Action</property>
159        <property name="Label" translatable="yes" />
160        <property name="Sensitive">False</property>
161        <property name="StockId">gtk-zoom-100</property>
162      </action>
163      <action id="zoomFitAction">
164        <property name="Type">Action</property>
165        <property name="Label" translatable="yes" />
166        <property name="Sensitive">False</property>
167        <property name="StockId">gtk-zoom-fit</property>
168      </action>
169      <action id="zoomOutAction">
170        <property name="Type">Action</property>
171        <property name="Label" translatable="yes" />
172        <property name="Sensitive">False</property>
173        <property name="StockId">gtk-zoom-out</property>
174      </action>
175      <action id="zoomInAction">
176        <property name="Type">Action</property>
177        <property name="Label" translatable="yes" />
178        <property name="Sensitive">False</property>
179        <property name="StockId">gtk-zoom-in</property>
180      </action>
181      <action id="helpAction">
182        <property name="Type">Action</property>
183        <property name="Label" translatable="yes" />
184        <property name="Sensitive">False</property>
185        <property name="StockId">gtk-help</property>
186      </action>
187    </action-group>
188    <property name="MemberName" />
189    <property name="Title" translatable="yes">The Pimp</property>
190    <property name="Icon">stock:stock_insert_image Menu</property>
191    <property name="WindowPosition">CenterOnParent</property>
192    <signal name="DeleteEvent" handler="OnDeleteEvent" />
193    <child>
194      <widget class="Gtk.VBox" id="vbox1">
195        <property name="MemberName" />
196        <child>
197          <widget class="Gtk.MenuBar" id="menubar1">
198            <property name="MemberName" />
199            <node name="menubar1" type="Menubar">
200              <node type="Menu" action="FileAction">
201                <node type="Menuitem" action="NewAction" />
202                <node type="Menuitem" action="OpenAction" />
203                <node type="Menuitem" action="SaveAction" />
204                <node type="Menuitem" action="SaveAsAction" />
205                <node type="Menuitem" action="QuitAction" />
206              </node>
207              <node type="Menu" action="EditAction">
208                <node type="Menuitem" action="UndoAction" />
209                <node type="Menuitem" action="RedoAction" />
210              </node>
211              <node type="Menu" action="ViewAction">
212                <node type="Menuitem" action="ZoomInAction" />
213                <node type="Menuitem" action="ZoomOutAction" />
214                <node type="Menuitem" action="BestFitAction" />
215                <node type="Menuitem" action="NormalSizeAction" />
216              </node>
217              <node type="Menu" action="HelpAction">
218                <node type="Menuitem" action="HelpAction1" />
219                <node type="Menuitem" action="AboutAction" />
220              </node>
221            </node>
222          </widget>
223          <packing>
224            <property name="Position">0</property>
225            <property name="AutoSize">True</property>
226            <property name="Expand">False</property>
227            <property name="Fill">False</property>
228          </packing>
229        </child>
230        <child>
231          <widget class="Gtk.Toolbar" id="toolbar1">
232            <property name="MemberName" />
233            <property name="ShowArrow">False</property>
234            <property name="ButtonStyle">Icons</property>
235            <node name="toolbar1" type="Toolbar">
236              <node type="Toolitem" action="newAction" />
237              <node type="Toolitem" action="openAction" />
238              <node type="Toolitem" action="saveAction" />
239              <node type="Separator" />
240              <node type="Toolitem" action="undoAction" />
241              <node type="Toolitem" action="redoAction" />
242              <node type="Separator" />
243              <node type="Toolitem" action="zoomInAction" />
244              <node type="Toolitem" action="zoomOutAction" />
245              <node type="Toolitem" action="zoomFitAction" />
246              <node type="Toolitem" action="zoom100Action" />
247              <node type="Separator" />
248              <node type="Toolitem" action="helpAction" />
249            </node>
250          </widget>
251          <packing>
252            <property name="Position">1</property>
253            <property name="AutoSize">True</property>
254            <property name="Expand">False</property>
255            <property name="Fill">False</property>
256          </packing>
257        </child>
258        <child>
259          <widget class="Gtk.HPaned" id="hpaned1">
260            <property name="MemberName" />
261            <property name="CanFocus">True</property>
262            <property name="Position">408</property>
263            <child>
264              <widget class="Gtk.Notebook" id="notebook1">
265                <property name="MemberName" />
266                <property name="CanFocus">True</property>
267                <property name="CurrentPage">0</property>
268                <property name="BorderWidth">5</property>
269                <child>
270                  <placeholder />
271                </child>
272              </widget>
273              <packing>
274                <property name="Resize">False</property>
275              </packing>
276            </child>
277            <child>
278              <widget class="Gtk.VPaned" id="vpaned1">
279                <property name="MemberName" />
280                <property name="CanFocus">True</property>
281                <property name="Position">60</property>
282                <child>
283                  <widget class="Gtk.VBox" id="vbox2">
284                    <property name="MemberName" />
285                    <property name="BorderWidth">5</property>
286                    <child>
287                      <widget class="Gtk.Label" id="label2">
288                        <property name="MemberName" />
289                        <property name="WidthRequest">100</property>
290                        <property name="LabelProp" translatable="yes">Tools</property>
291                      </widget>
292                      <packing>
293                        <property name="Position">0</property>
294                        <property name="AutoSize">True</property>
295                        <property name="Expand">False</property>
296                        <property name="Fill">False</property>
297                      </packing>
298                    </child>
299                    <child>
300                      <placeholder />
301                    </child>
302                    <child>
303                      <placeholder />
304                    </child>
305                  </widget>
306                  <packing>
307                    <property name="Resize">False</property>
308                  </packing>
309                </child>
310                <child>
311                  <widget class="Gtk.VBox" id="vbox3">
312                    <property name="MemberName" />
313                    <property name="BorderWidth">5</property>
314                    <child>
315                      <widget class="Gtk.Label" id="label3">
316                        <property name="MemberName" />
317                        <property name="WidthRequest">100</property>
318                        <property name="LabelProp" translatable="yes">Layers &amp; Channels</property>
319                      </widget>
320                      <packing>
321                        <property name="Position">0</property>
322                        <property name="AutoSize">True</property>
323                        <property name="Expand">False</property>
324                        <property name="Fill">False</property>
325                      </packing>
326                    </child>
327                    <child>
328                      <placeholder />
329                    </child>
330                    <child>
331                      <placeholder />
332                    </child>
333                  </widget>
334                </child>
335              </widget>
336            </child>
337          </widget>
338          <packing>
339            <property name="Position">2</property>
340            <property name="AutoSize">True</property>
341          </packing>
342        </child>
343        <child>
344          <widget class="Gtk.Statusbar" id="statusbar1">
345            <property name="MemberName" />
346            <property name="Spacing">6</property>
347            <child>
348              <placeholder />
349            </child>
350            <child>
351              <placeholder />
352            </child>
353          </widget>
354          <packing>
355            <property name="Position">3</property>
356            <property name="AutoSize">True</property>
357            <property name="Expand">False</property>
358            <property name="Fill">False</property>
359          </packing>
360        </child>
361      </widget>
362    </child>
363  </widget>
364  <widget class="Gtk.Dialog" id="ThePimp.OpenFile" design-size="627 448">
365    <property name="MemberName" />
366    <property name="Title" translatable="yes">Open File</property>
367    <property name="Icon">stock:gtk-open Menu</property>
368    <property name="TypeHint">Dialog</property>
369    <property name="WindowPosition">CenterOnParent</property>
370    <property name="Modal">True</property>
371    <property name="Buttons">2</property>
372    <property name="HelpButton">False</property>
373    <property name="HasSeparator">False</property>
374    <child internal-child="VBox">
375      <widget class="Gtk.VBox" id="dialog1_VBox">
376        <property name="MemberName" />
377        <property name="BorderWidth">2</property>
378        <child>
379          <widget class="Gtk.FileChooserWidget" id="filechooserwidget1">
380            <property name="MemberName" />
381          </widget>
382          <packing>
383            <property name="Position">0</property>
384            <property name="AutoSize">True</property>
385          </packing>
386        </child>
387      </widget>
388    </child>
389    <child internal-child="ActionArea">
390      <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
391        <property name="MemberName" />
392        <property name="Spacing">6</property>
393        <property name="BorderWidth">5</property>
394        <property name="Size">2</property>
395        <property name="LayoutStyle">End</property>
396        <child>
397          <widget class="Gtk.Button" id="buttonCancel">
398            <property name="MemberName" />
399            <property name="CanDefault">True</property>
400            <property name="CanFocus">True</property>
401            <property name="UseStock">True</property>
402            <property name="Type">StockItem</property>
403            <property name="StockId">gtk-cancel</property>
404            <property name="ResponseId">-6</property>
405            <property name="label">gtk-cancel</property>
406          </widget>
407          <packing>
408            <property name="Expand">False</property>
409            <property name="Fill">False</property>
410          </packing>
411        </child>
412        <child>
413          <widget class="Gtk.Button" id="buttonOk">
414            <property name="MemberName" />
415            <property name="CanDefault">True</property>
416            <property name="CanFocus">True</property>
417            <property name="UseStock">True</property>
418            <property name="Type">StockItem</property>
419            <property name="StockId">gtk-ok</property>
420            <property name="ResponseId">-5</property>
421            <property name="label">gtk-ok</property>
422          </widget>
423          <packing>
424            <property name="Position">1</property>
425            <property name="Expand">False</property>
426            <property name="Fill">False</property>
427          </packing>
428        </child>
429      </widget>
430    </child>
431  </widget>
432  <widget class="Gtk.Bin" id="ThePimp.ToolBox" design-size="300 300">
433    <property name="MemberName" />
434    <child>
435      <placeholder />
436    </child>
437  </widget>
438  <widget class="Gtk.Bin" id="ThePimp.PictureView" design-size="300 300">
439    <property name="MemberName" />
440    <child>
441      <placeholder />
442    </child>
443  </widget>
444</stetic-interface>
Note: See TracBrowser for help on using the repository browser.