| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface domain="drawing"> |
| 3 |
<object class="GtkAdjustment" id="adjustment_size"> |
| 4 |
<property name="lower">1</property> |
| 5 |
<property name="upper">200</property> |
| 6 |
<property name="step_increment">1</property> |
| 7 |
<property name="page_increment">10</property> |
| 8 |
<property name="value">10</property> |
| 9 |
</object> |
| 10 |
|
| 11 |
<template class="DrWindow" parent="GtkApplicationWindow"> |
| 12 |
<property name="default-width">900</property> |
| 13 |
<property name="default-height">500</property> |
| 14 |
<property name="icon-name">com.github.maoschanz.drawing</property> |
| 15 |
<child> |
| 16 |
<object class="GtkBox" id="main_box"> |
| 17 |
<property name="orientation">vertical</property> |
| 18 |
<property name="visible">True</property> |
| 19 |
<child> |
| 20 |
<object class="GtkBox" id="toolbar_box"> |
| 21 |
<property name="orientation">vertical</property> |
| 22 |
<property name="visible">False</property> |
| 23 |
<style><class name="primary-toolbar"/></style> |
| 24 |
<child> |
| 25 |
<object class="GtkSeparator" /> |
| 26 |
<packing> |
| 27 |
<property name="pack-type">end</property> |
| 28 |
</packing> |
| 29 |
</child> |
| 30 |
</object> |
| 31 |
</child> |
| 32 |
<child> |
| 33 |
<object class="GtkInfoBar" id="info_bar"> |
| 34 |
<property name="visible">True</property> |
| 35 |
<property name="show-close-button">True</property> |
| 36 |
<property name="revealed">True</property> |
| 37 |
<child internal-child="content_area"> |
| 38 |
<object class="GtkBox"> |
| 39 |
<property name="visible">True</property> |
| 40 |
<child> |
| 41 |
<object class="GtkLabel" id="info_label"> |
| 42 |
<property name="visible">True</property> |
| 43 |
<property name="wrap">True</property> |
| 44 |
<property name="label" translatable="yes">Loading…</property> |
| 45 |
</object> |
| 46 |
</child> |
| 47 |
</object> |
| 48 |
</child> |
| 49 |
<child internal-child="action_area"> |
| 50 |
<object class="GtkButtonBox"> |
| 51 |
<property name="visible">True</property> |
| 52 |
<child> |
| 53 |
<object class="GtkButton" id="info_action"> |
| 54 |
<property name="visible">True</property> |
| 55 |
<property name="action-name">app.report-issue</property> |
| 56 |
<property name="label" translatable="yes">Report a bug</property> |
| 57 |
</object> |
| 58 |
</child> |
| 59 |
</object> |
| 60 |
</child> |
| 61 |
<action-widgets> |
| 62 |
<action-widget response="ok">info_action</action-widget> |
| 63 |
</action-widgets> |
| 64 |
</object> |
| 65 |
</child> |
| 66 |
<child> |
| 67 |
<object class="GtkBox"> |
| 68 |
<property name="visible">True</property> |
| 69 |
<property name="orientation">horizontal</property> |
| 70 |
<child> |
| 71 |
<object class="GtkScrolledWindow"> |
| 72 |
<property name="visible">True</property> |
| 73 |
<property name="vscrollbar-policy">external</property> |
| 74 |
<property name="hscrollbar-policy">never</property> |
| 75 |
<child> |
| 76 |
<object class="GtkBox" id="tools_scrollable_box"> |
| 77 |
<property name="visible">True</property> |
| 78 |
<property name="expand">False</property> |
| 79 |
<property name="halign">center</property> |
| 80 |
<!-- <child> --> |
| 81 |
<!-- the flowbox will move here if needed --> |
| 82 |
<!-- </child> --> |
| 83 |
</object> |
| 84 |
</child> |
| 85 |
</object> |
| 86 |
</child> |
| 87 |
<child> |
| 88 |
<object class="GtkBox" id="tools_nonscrollable_box"> |
| 89 |
<property name="visible">True</property> |
| 90 |
<child> |
| 91 |
<object class="GtkFlowBox" id="tools_flowbox"> |
| 92 |
<property name="visible">True</property> |
| 93 |
<property name="activate-on-single-click">True</property> |
| 94 |
<property name="selection-mode">single</property> |
| 95 |
<property name="orientation">vertical</property> |
| 96 |
</object> |
| 97 |
</child> |
| 98 |
</object> |
| 99 |
</child> |
| 100 |
<child> |
| 101 |
<object class="GtkSeparator"> |
| 102 |
<property name="visible">True</property> |
| 103 |
</object> |
| 104 |
</child> |
| 105 |
<child> |
| 106 |
<object class="GtkNotebook" id="notebook"> |
| 107 |
<property name="visible">True</property> |
| 108 |
<property name="can-focus">False</property> |
| 109 |
<property name="show-tabs">False</property> |
| 110 |
<property name="show-border">True</property> |
| 111 |
<property name="scrollable">True</property> |
| 112 |
<property name="group-name">drawing-tabs</property> |
| 113 |
<child type="action-end"> |
| 114 |
<object class="GtkButton"> |
| 115 |
<property name="can-focus">False</property> |
| 116 |
<property name="visible">True</property> |
| 117 |
<property name="relief">none</property> |
| 118 |
<property name="action-name">win.new_tab</property> |
| 119 |
<property name="tooltip-text" translatable="yes">New Image</property> |
| 120 |
<child> |
| 121 |
<object class="GtkImage"> |
| 122 |
<property name="icon-name">tab-new-symbolic</property> |
| 123 |
<property name="visible">True</property> |
| 124 |
</object> |
| 125 |
</child> |
| 126 |
</object> |
| 127 |
</child> |
| 128 |
</object> |
| 129 |
<packing> |
| 130 |
<property name="expand">True</property> |
| 131 |
</packing> |
| 132 |
</child> |
| 133 |
</object> |
| 134 |
<packing> |
| 135 |
<property name="expand">True</property> |
| 136 |
</packing> |
| 137 |
</child> |
| 138 |
<child> |
| 139 |
<object class="GtkBox" id="bottom_meta_box"> |
| 140 |
<property name="orientation">horizontal</property> |
| 141 |
<property name="visible">True</property> |
| 142 |
<property name="expand">False</property> |
| 143 |
<child> |
| 144 |
<object class="GtkBox" id="bottom_panes_box"> |
| 145 |
<property name="orientation">vertical</property> |
| 146 |
<property name="visible">True</property> |
| 147 |
<property name="expand">True</property> |
| 148 |
<property name="halign">fill</property> |
| 149 |
<!-- Tools will add their optionsbars here --> |
| 150 |
</object> |
| 151 |
</child> |
| 152 |
<child> |
| 153 |
<object class="GtkButton" id="unfullscreen_btn"> |
| 154 |
<property name="visible">False</property> |
| 155 |
<property name="valign">center</property> |
| 156 |
<property name="margin-right">6</property> |
| 157 |
<property name="tooltip-text" translatable="yes">Exit fullscreen</property> |
| 158 |
<property name="action-name">win.unfullscreen</property> |
| 159 |
<child> |
| 160 |
<object class="GtkImage"> |
| 161 |
<property name="icon-name">view-restore-symbolic</property> |
| 162 |
<property name="visible">True</property> |
| 163 |
</object> |
| 164 |
</child> |
| 165 |
</object> |
| 166 |
</child> |
| 167 |
</object> |
| 168 |
</child> |
| 169 |
</object> |
| 170 |
</child> |
| 171 |
</template> |
| 172 |
</interface> |