Commit 2c9b871b3da56511f15f54240d16f673725c07a8
- Diff rendering mode:
- inline
- side by side
gtk-gui/gui.stetic
(97 / 0)
|   | |||
| 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</target-gtk-version> | ||
| 6 | </configuration> | ||
| 7 | <import> | ||
| 8 | <widget-library name="../bin/Debug/GSDocViewer.dll" internal="true" /> | ||
| 9 | </import> | ||
| 10 | <widget class="Gtk.Bin" id="GSDocViewer.Viewer" design-size="300 300"> | ||
| 11 | <action-group name="Default"> | ||
| 12 | <action id="zoom100Action"> | ||
| 13 | <property name="Type">Action</property> | ||
| 14 | <property name="Label" translatable="yes" /> | ||
| 15 | <property name="StockId">gtk-zoom-100</property> | ||
| 16 | <signal name="Activated" handler="OnZoom100ActionActivated" /> | ||
| 17 | </action> | ||
| 18 | <action id="zoomFitAction"> | ||
| 19 | <property name="Type">Action</property> | ||
| 20 | <property name="Label" translatable="yes" /> | ||
| 21 | <property name="StockId">gtk-zoom-fit</property> | ||
| 22 | <signal name="Activated" handler="OnZoomFitActionActivated" /> | ||
| 23 | </action> | ||
| 24 | <action id="zoomInAction"> | ||
| 25 | <property name="Type">Action</property> | ||
| 26 | <property name="Label" translatable="yes" /> | ||
| 27 | <property name="StockId">gtk-zoom-in</property> | ||
| 28 | <signal name="Activated" handler="OnZoomInActionActivated" /> | ||
| 29 | </action> | ||
| 30 | <action id="zoomOutAction"> | ||
| 31 | <property name="Type">Action</property> | ||
| 32 | <property name="Label" translatable="yes" /> | ||
| 33 | <property name="StockId">gtk-zoom-out</property> | ||
| 34 | <signal name="Activated" handler="OnZoomOutActionActivated" /> | ||
| 35 | </action> | ||
| 36 | <action id="clearAction"> | ||
| 37 | <property name="Type">Action</property> | ||
| 38 | <property name="Label" translatable="yes" /> | ||
| 39 | <property name="StockId">gtk-clear</property> | ||
| 40 | <signal name="Activated" handler="OnClearActionActivated" /> | ||
| 41 | </action> | ||
| 42 | </action-group> | ||
| 43 | <property name="MemberName" /> | ||
| 44 | <property name="Visible">False</property> | ||
| 45 | <child> | ||
| 46 | <widget class="Gtk.VBox" id="vbox1"> | ||
| 47 | <property name="MemberName" /> | ||
| 48 | <property name="Spacing">6</property> | ||
| 49 | <child> | ||
| 50 | <widget class="Gtk.Toolbar" id="toolbar1"> | ||
| 51 | <property name="MemberName" /> | ||
| 52 | <property name="ShowArrow">False</property> | ||
| 53 | <property name="ButtonStyle">Icons</property> | ||
| 54 | <property name="IconSize">LargeToolbar</property> | ||
| 55 | <node name="toolbar1" type="Toolbar"> | ||
| 56 | <node type="Toolitem" action="zoom100Action" /> | ||
| 57 | <node type="Toolitem" action="zoomFitAction" /> | ||
| 58 | <node type="Toolitem" action="zoomInAction" /> | ||
| 59 | <node type="Toolitem" action="zoomOutAction" /> | ||
| 60 | <node type="Toolitem" action="clearAction" /> | ||
| 61 | </node> | ||
| 62 | </widget> | ||
| 63 | <packing> | ||
| 64 | <property name="Position">0</property> | ||
| 65 | <property name="AutoSize">True</property> | ||
| 66 | <property name="Expand">False</property> | ||
| 67 | <property name="Fill">False</property> | ||
| 68 | </packing> | ||
| 69 | </child> | ||
| 70 | <child> | ||
| 71 | <widget class="Gtk.ScrolledWindow" id="imgScrolledArea"> | ||
| 72 | <property name="MemberName" /> | ||
| 73 | <property name="CanFocus">True</property> | ||
| 74 | <property name="VscrollbarPolicy">Always</property> | ||
| 75 | <property name="HscrollbarPolicy">Always</property> | ||
| 76 | <property name="ShadowType">In</property> | ||
| 77 | <child> | ||
| 78 | <widget class="Gtk.Viewport" id="GtkViewport"> | ||
| 79 | <property name="MemberName" /> | ||
| 80 | <property name="ShadowType">None</property> | ||
| 81 | <child> | ||
| 82 | <widget class="Gtk.Image" id="imgDisplay"> | ||
| 83 | <property name="MemberName" /> | ||
| 84 | </widget> | ||
| 85 | </child> | ||
| 86 | </widget> | ||
| 87 | </child> | ||
| 88 | </widget> | ||
| 89 | <packing> | ||
| 90 | <property name="Position">1</property> | ||
| 91 | <property name="AutoSize">False</property> | ||
| 92 | </packing> | ||
| 93 | </child> | ||
| 94 | </widget> | ||
| 95 | </child> | ||
| 96 | </widget> | ||
| 97 | </stetic-interface> |

