By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 panel-configurator.ui

View raw Download
text/xml • 11.61 kiB
XML 1.0 document, ASCII text
        
            
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Created with Cambalache 0.96.1 -->
3
<interface>
4
<!-- interface-name panel-configurator.ui -->
5
<!-- interface-description Provides a widget that contains settings for a panel. -->
6
<!-- interface-copyright Copyright 2025, roundabout-host.com <vlad@roundabout-host.com>
7
8
This program is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public Licence as published by
10
the Free Software Foundation, either version 3 of the Licence, or
11
(at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public Licence for more details.
17
18
You should have received a copy of the GNU General Public Licence
19
along with this program. If not, see <https://www.gnu.org/licenses/>.
20
-->
21
<requires lib="gtk" version="4.2"/>
22
<template class="PanelConfigurator" parent="GtkFrame">
23
<property name="valign">start</property>
24
<child>
25
<object class="GtkFrame">
26
<property name="valign">start</property>
27
<child>
28
<object class="GtkListBox">
29
<property name="selection-mode">none</property>
30
<child>
31
<object class="GtkListBoxRow">
32
<property name="activatable">False</property>
33
<child>
34
<object class="GtkBox">
35
<property name="orientation">vertical</property>
36
<child>
37
<object class="GtkBox">
38
<child>
39
<object class="GtkLabel">
40
<property name="label" translatable="yes">Thic_kness</property>
41
<property name="use-underline">True</property>
42
<property name="width-request">128</property>
43
<property name="wrap">True</property>
44
<property name="xalign">-0.0</property>
45
</object>
46
</child>
47
<child>
48
<object class="GtkScale">
49
<property name="adjustment">
50
<object class="GtkAdjustment" id="panel_size_adjustment">
51
<property name="lower">12.0</property>
52
<property name="page-increment">1.0</property>
53
<property name="page-size">1.0</property>
54
<property name="step-increment">1.0</property>
55
<property name="upper">192.0</property>
56
<property name="value">48.0</property>
57
<signal name="value-changed" handler="update_panel_size"/>
58
</object>
59
</property>
60
<property name="digits">0</property>
61
<property name="hexpand">True</property>
62
<property name="round-digits">0</property>
63
<marks/>
64
</object>
65
</child>
66
<child>
67
<object class="GtkSpinButton" id="thickness_spinbutton">
68
<property name="adjustment">panel_size_adjustment</property>
69
<property name="numeric">True</property>
70
</object>
71
</child>
72
</object>
73
</child>
74
<child>
75
<object class="GtkLabel">
76
<property name="label" translatable="yes">Depending on your theme and your applets, the panel may be larger than the set size.</property>
77
<property name="wrap">True</property>
78
<property name="xalign">0.0</property>
79
<attributes>
80
<attribute name="weight" value="light"/>
81
</attributes>
82
</object>
83
</child>
84
</object>
85
</child>
86
</object>
87
</child>
88
<child>
89
<object class="GtkListBoxRow">
90
<property name="activatable">False</property>
91
<child>
92
<object class="GtkBox">
93
<property name="orientation">vertical</property>
94
<child>
95
<object class="GtkBox">
96
<child>
97
<object class="GtkLabel">
98
<property name="label" translatable="yes">Automatically _hide</property>
99
<property name="use-underline">True</property>
100
<property name="width-request">128</property>
101
<property name="wrap">True</property>
102
<property name="xalign">-0.0</property>
103
</object>
104
</child>
105
<child>
106
<object class="GtkSwitch" id="autohide_switch">
107
<property name="halign">end</property>
108
<property name="hexpand">True</property>
109
<property name="valign">center</property>
110
<signal name="state-set" handler="toggle_autohide"/>
111
</object>
112
</child>
113
</object>
114
</child>
115
<child>
116
<object class="GtkLabel">
117
<property name="label" translatable="yes">Only show the panel while the cursor is over it or a menu is being used</property>
118
<property name="wrap">True</property>
119
<property name="xalign">0.0</property>
120
<attributes>
121
<attribute name="weight" value="light"/>
122
</attributes>
123
</object>
124
</child>
125
</object>
126
</child>
127
</object>
128
</child>
129
<child>
130
<object class="GtkListBoxRow">
131
<property name="activatable">False</property>
132
<child>
133
<object class="GtkGrid">
134
<property name="column-homogeneous">True</property>
135
<property name="row-homogeneous">True</property>
136
<child>
137
<object class="GtkCheckButton" id="top_position_radio">
138
<property name="group">top_position_radio</property>
139
<property name="label" translatable="yes">_Top</property>
140
<property name="use-underline">True</property>
141
<signal name="toggled" handler="move_panel"/>
142
<layout>
143
<property name="column">1</property>
144
<property name="column-span">2</property>
145
<property name="row">0</property>
146
<property name="row-span">1</property>
147
</layout>
148
</object>
149
</child>
150
<child>
151
<object class="GtkCheckButton" id="left_position_radio">
152
<property name="group">top_position_radio</property>
153
<property name="label" translatable="yes">_Left</property>
154
<property name="use-underline">True</property>
155
<signal name="toggled" handler="move_panel"/>
156
<layout>
157
<property name="column">0</property>
158
<property name="column-span">1</property>
159
<property name="row">1</property>
160
<property name="row-span">1</property>
161
</layout>
162
</object>
163
</child>
164
<child>
165
<object class="GtkCheckButton" id="bottom_position_radio">
166
<property name="group">top_position_radio</property>
167
<property name="label" translatable="yes">_Bottom</property>
168
<property name="use-underline">True</property>
169
<signal name="toggled" handler="move_panel"/>
170
<layout>
171
<property name="column">1</property>
172
<property name="column-span">2</property>
173
<property name="row">2</property>
174
<property name="row-span">1</property>
175
</layout>
176
</object>
177
</child>
178
<child>
179
<object class="GtkCheckButton" id="right_position_radio">
180
<property name="group">top_position_radio</property>
181
<property name="label" translatable="yes">_Right</property>
182
<property name="use-underline">True</property>
183
<signal name="toggled" handler="move_panel"/>
184
<layout>
185
<property name="column">3</property>
186
<property name="column-span">1</property>
187
<property name="row">1</property>
188
<property name="row-span">1</property>
189
</layout>
190
</object>
191
</child>
192
<child>
193
<object class="GtkLabel">
194
<property name="label" translatable="yes">_Monitor number: </property>
195
<property name="use-underline">True</property>
196
<property name="xalign">-0.0</property>
197
<layout>
198
<property name="column">1</property>
199
<property name="column-span">1</property>
200
<property name="row">1</property>
201
<property name="row-span">1</property>
202
</layout>
203
</object>
204
</child>
205
<child>
206
<object class="GtkSpinButton" id="monitor_number_spinbutton">
207
<property name="adjustment">
208
<object class="GtkAdjustment" id="monitor_number_adjustment">
209
<property name="page-increment">1.0</property>
210
<property name="page-size">1.0</property>
211
<property name="step-increment">1.0</property>
212
<property name="upper">64.0</property>
213
<signal name="value-changed" handler="move_to_monitor"/>
214
</object>
215
</property>
216
<layout>
217
<property name="column">2</property>
218
<property name="column-span">1</property>
219
<property name="row">1</property>
220
<property name="row-span">1</property>
221
</layout>
222
</object>
223
</child>
224
</object>
225
</child>
226
</object>
227
</child>
228
</object>
229
</child>
230
</object>
231
</child>
232
</template>
233
</interface>
234