File: base-headerbar.ui

package info (click to toggle)
gnome-taquin 3.38.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,344 kB
  • sloc: xml: 81; python: 11; makefile: 6
file content (131 lines) | stat: -rw-r--r-- 4,852 bytes parent folder | download | duplicates (3)
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
125
126
127
128
129
130
131
<?xml version="1.0" encoding="UTF-8"?>
<!--
  This file is part of GNOME Taquin

  GNOME Taquin is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  GNOME Taquin is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with GNOME Taquin.  If not, see <https://www.gnu.org/licenses/>.
-->
<interface>
  <requires lib="gtk+" version="3.12"/>
  <template class="BaseHeaderBar" parent="NightTimeAwareHeaderBar">
    <property name="show-close-button">True</property>
    <property name="has-subtitle">False</property>
    <child>
      <object class="GtkButton" id="go_back_button">
        <property name="visible">False</property>
        <property name="valign">center</property>
        <property name="action-name">base.show-default-view</property>
        <style>
          <class name="image-button"/>
        </style>
        <child>
          <object class="GtkImage">
            <property name="visible">True</property>
            <property name="icon-name">go-previous-symbolic</property> <!-- TODO 3/3 dialog-information-symbolic -->
            <property name="icon-size">1</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkSeparator" id="ltr_left_separator">
        <property name="visible">False</property>
      </object>
    </child>
    <child type="title">
      <object class="GtkBox" id="center_box">
        <property name="visible">True</property>
        <property name="valign">fill</property>
        <property name="spacing">6</property>
        <property name="hexpand">False</property> <!-- or "hexpand-set">true... that's horrible -->
        <style>
          <class name="centerwidget"/>
        </style>
        <child>
          <object class="GtkLabel" id="title_label">
            <property name="visible">False</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkStack" id="quit_button_stack">
        <property name="visible">False</property>
        <child>
          <object class="GtkButton">
            <property name="visible">True</property>
            <property name="valign">center</property>
            <property name="action-name">app.quit</property>
            <style>
              <class name="titlebutton"/>
              <class name="close"/>
            </style>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="icon-name">window-close-symbolic</property>
                <property name="icon-size">1</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="name">quit-button</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="pack-type">end</property>
      </packing>
    </child>
    <child>
      <object class="GtkSeparator" id="ltr_right_separator">
        <property name="visible">False</property>
        <property name="orientation">vertical</property>
        <style>
          <class name="titlebutton"/>
        </style>
      </object>
      <packing>
        <property name="pack-type">end</property>
      </packing>
    </child>
    <child>
      <object class="GtkMenuButton" id="info_button">
        <property name="visible">True</property>
        <property name="valign">center</property>
        <property name="focus-on-click">False</property>
        <style>
          <class name="image-button"/>
        </style>
        <child internal-child="accessible">
          <object class="AtkObject">
            <!-- Translators: accessible name of the hamburger menu -->
            <property name="AtkObject::accessible-name" translatable="yes">Actions</property>
            <!-- Translators: accessible description of the hamburger menu -->
            <property name="AtkObject::accessible-description" translatable="yes">Current view actions</property>
          </object>
        </child>
        <child>
          <object class="GtkImage">
            <property name="visible">True</property>
            <property name="icon-name">open-menu-symbolic</property>
            <property name="icon-size">1</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="pack-type">end</property>
      </packing>
    </child>
  </template>
</interface>