window.ui.in 5.49 KB
Newer Older
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
  <requires lib="gtk+" version="3.20"/>
Bilal Elmoussaoui's avatar
Bilal Elmoussaoui committed
5
  <requires lib="libhandy" version="0.0"/>
Bilal Elmoussaoui's avatar
Bilal Elmoussaoui committed
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
  <object class="GtkPopoverMenu" id="popover">
    <property name="width_request">200</property>
    <property name="can_focus">False</property>
    <child>
      <object class="GtkBox">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="border_width">10</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkModelButton">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <property name="action_name">win.show-help-overlay</property>
            <property name="text" translatable="yes">_Keyboard Shortcuts</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">4</property>
          </packing>
        </child>
        <child>
          <object class="GtkModelButton">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">False</property>
            <property name="action_name">app.about</property>
            <property name="text" translatable="yes">About Icon Library</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">7</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="submenu">main</property>
      </packing>
    </child>
  </object>
49
  <object class="HdyApplicationWindow" id="window">
50
    <property name="can_focus">False</property>
51 52
    <property name="default_width">650</property>
    <property name="default_height">500</property>
53
    <property name="icon_name">@app-id@</property>
54 55 56
    <property name="title" translatable="yes">Icon Library</property>
    <child>
      <object class="GtkBox" id="container">
57
        <property name="visible">True</property>
58 59 60
        <property name="orientation">vertical</property>
        <child>
          <object class="HdyHeaderBar" id="headerbar">
Bilal Elmoussaoui's avatar
Bilal Elmoussaoui committed
61 62
            <property name="visible">True</property>
            <property name="can_focus">False</property>
63 64 65 66
            <property name="show_close_button">True</property>
            <property name="centering_policy">HDY_CENTERING_POLICY_STRICT</property>
            <child type="title">
              <object class="HdyClamp">
Bilal Elmoussaoui's avatar
Bilal Elmoussaoui committed
67
                <property name="visible">True</property>
68 69 70 71 72 73 74 75 76 77 78 79 80
                <property name="can_focus">False</property>
                <property name="tightening_threshold">400</property>
                <property name="hexpand">True</property>
                <child>
                  <object class="GtkSearchEntry" id="search_entry">
                    <property name="visible">True</property>
                    <property name="can_focus">True</property>
                    <property name="primary_icon_name">edit-find-symbolic</property>
                    <property name="primary_icon_activatable">False</property>
                    <property name="primary_icon_sensitive">False</property>
                    <property name="placeholder_text" translatable="yes">Search for icons by name, category or tag</property>
                  </object>
                </child>
Bilal Elmoussaoui's avatar
Bilal Elmoussaoui committed
81 82
              </object>
            </child>
83
            <child>
84
              <object class="GtkButton">
85
                <property name="visible">True</property>
86 87 88 89 90 91 92 93 94 95 96 97 98
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="halign">center</property>
                <property name="valign">center</property>
                <property name="action_name">app.dark-mode</property>
                <property name="tooltip_text" translatable="yes">Toggle Dark Mode</property>
                <child>
                  <object class="GtkImage" id="dark_mode_image">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">dark-mode-symbolic</property>
                  </object>
                </child>
99
              </object>
100 101 102
              <packing>
                <property name="pack_type">start</property>
              </packing>
103
            </child>
104
            <child>
105
              <object class="GtkMenuButton">
106
                <property name="visible">True</property>
107 108 109 110 111 112 113 114 115 116
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="popover">popover</property>
                <child>
                  <object class="GtkImage">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="icon_name">open-menu-symbolic</property>
                  </object>
                </child>
117
              </object>
118 119 120
              <packing>
                <property name="pack_type">end</property>
              </packing>
121 122 123 124 125 126 127
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>