window.ui 4.88 KB
Newer Older
Colomban Wendling's avatar
Colomban Wendling committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <object class="GtkUIManager" id="uimanager1">
    <child>
      <object class="GtkActionGroup" id="actiongroup1">
        <child>
          <object class="GtkAction" id="quit">
            <property name="label" translatable="yes">_Quit</property>
            <property name="tooltip" translatable="yes">Quit</property>
            <property name="stock_id">gtk-quit</property>
          </object>
          <accelerator key="q" modifiers="GDK_CONTROL_MASK"/>
        </child>
        <child>
          <object class="GtkAction" id="add">
            <property name="label" translatable="yes">_Add</property>
            <property name="tooltip" translatable="yes">Add a new key</property>
            <property name="stock_id">gtk-add</property>
          </object>
          <accelerator key="n" modifiers="GDK_CONTROL_MASK"/>
        </child>
        <child>
          <object class="GtkAction" id="remove">
            <property name="label" translatable="yes">_Remove</property>
            <property name="tooltip" translatable="yes">Remove the selected key</property>
            <property name="stock_id">gtk-delete</property>
          </object>
          <accelerator key="Delete"/>
        </child>
        <child>
          <object class="GtkAction" id="undo">
            <property name="label" translatable="yes">_Undo</property>
            <property name="tooltip" translatable="yes">Undo the last action</property>
            <property name="stock_id">gtk-undo</property>
          </object>
          <accelerator key="z" modifiers="GDK_CONTROL_MASK"/>
        </child>
        <child>
          <object class="GtkAction" id="redo">
            <property name="label" translatable="yes">_Redo</property>
            <property name="tooltip" translatable="yes">Redo the last undone action</property>
            <property name="stock_id">gtk-redo</property>
          </object>
          <accelerator key="z" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
        </child>
      </object>
    </child>
    <ui>
      <toolbar name="toolbar1">
        <toolitem action="add"/>
        <toolitem action="remove"/>
        <separator/>
        <toolitem action="undo"/>
        <toolitem action="redo"/>
        <separator expand="true"/>
        <toolitem action="quit"/>
      </toolbar>
    </ui>
  </object>
  <object class="GtkVBox" id="box">
    <property name="can_focus">False</property>
    <property name="border_width">12</property>
    <child>
      <object class="GtkBox" id="box1">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkToolbar" id="toolbar1" constructor="uimanager1"/>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow1">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="shadow_type">in</property>
            <child>
              <object class="GtkTreeView" id="treeview1">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <child internal-child="selection">
                  <object class="GtkTreeSelection" id="treeview-selection1"/>
                </child>
                <child>
                  <object class="GtkTreeViewColumn" id="treeviewcolumn1">
                    <property name="title" translatable="yes">Key</property>
                    <child>
                      <object class="GtkCellRendererText" id="cellrenderertext1">
                        <property name="editable">True</property>
                      </object>
                      <attributes>
                        <attribute name="text">0</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn" id="treeviewcolumn2">
                    <property name="title" translatable="yes">Color</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
        <property name="position">0</property>
      </packing>
    </child>
  </object>
</interface>