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.63 kiB
XML 1.0 document, ASCII text
        
            
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!-- Created with Cambalache 0.96.1 -->
3
<interface domain="panorama-panel">
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
<requires lib="gtk" version="4.2"/>
21
<template class="PanelConfigurator" parent="GtkFrame">
22
<property name="valign">start</property>
23
<child>
24
<object class="GtkFrame">
25
<property name="valign">start</property>
26
<child>
27
<object class="GtkListBox">
28
<property name="selection-mode">none</property>
29
<child>
30
<object class="GtkListBoxRow">
31
<property name="activatable">False</property>
32
<child>
33
<object class="GtkBox">
34
<property name="orientation">vertical</property>
35
<child>
36
<object class="GtkBox">
37
<child>
38
<object class="GtkLabel">
39
<property name="label" translatable="yes">Thic_kness</property>
40
<property name="use-underline">True</property>
41
<property name="width-request">128</property>
42
<property name="wrap">True</property>
43
<property name="xalign">-0.0</property>
44
</object>
45
</child>
46
<child>
47
<object class="GtkScale">
48
<property name="adjustment">
49
<object class="GtkAdjustment" id="panel_size_adjustment">
50
<property name="lower">12.0</property>
51
<property name="page-increment">1.0</property>
52
<property name="page-size">1.0</property>
53
<property name="step-increment">1.0</property>
54
<property name="upper">192.0</property>
55
<property name="value">48.0</property>
56
<signal name="value-changed" handler="update_panel_size"/>
57
</object>
58
</property>
59
<property name="digits">0</property>
60
<property name="hexpand">True</property>
61
<property name="round-digits">0</property>
62
<marks/>
63
</object>
64
</child>
65
<child>
66
<object class="GtkSpinButton" id="thickness_spinbutton">
67
<property name="adjustment">panel_size_adjustment</property>
68
<property name="numeric">True</property>
69
</object>
70
</child>
71
</object>
72
</child>
73
<child>
74
<object class="GtkLabel">
75
<property name="label" translatable="yes">Depending on your theme and your applets, the panel may be larger than the set size.</property>
76
<property name="wrap">True</property>
77
<property name="xalign">0.0</property>
78
<attributes>
79
<attribute name="weight" value="light"/>
80
</attributes>
81
</object>
82
</child>
83
</object>
84
</child>
85
</object>
86
</child>
87
<child>
88
<object class="GtkListBoxRow">
89
<property name="activatable">False</property>
90
<child>
91
<object class="GtkBox">
92
<property name="orientation">vertical</property>
93
<child>
94
<object class="GtkBox">
95
<child>
96
<object class="GtkLabel">
97
<property name="label" translatable="yes">Automatically _hide</property>
98
<property name="use-underline">True</property>
99
<property name="width-request">128</property>
100
<property name="wrap">True</property>
101
<property name="xalign">-0.0</property>
102
</object>
103
</child>
104
<child>
105
<object class="GtkSwitch" id="autohide_switch">
106
<property name="halign">end</property>
107
<property name="hexpand">True</property>
108
<property name="valign">center</property>
109
<signal name="state-set" handler="toggle_autohide"/>
110
</object>
111
</child>
112
</object>
113
</child>
114
<child>
115
<object class="GtkLabel">
116
<property name="label" translatable="yes">Only show the panel while the cursor is over it or a menu is being used</property>
117
<property name="wrap">True</property>
118
<property name="xalign">0.0</property>
119
<attributes>
120
<attribute name="weight" value="light"/>
121
</attributes>
122
</object>
123
</child>
124
</object>
125
</child>
126
</object>
127
</child>
128
<child>
129
<object class="GtkListBoxRow">
130
<property name="activatable">False</property>
131
<child>
132
<object class="GtkGrid">
133
<property name="column-homogeneous">True</property>
134
<property name="row-homogeneous">True</property>
135
<child>
136
<object class="GtkCheckButton" id="top_position_radio">
137
<property name="group">top_position_radio</property>
138
<property name="label" translatable="yes">_Top</property>
139
<property name="use-underline">True</property>
140
<signal name="toggled" handler="move_panel"/>
141
<layout>
142
<property name="column">1</property>
143
<property name="column-span">2</property>
144
<property name="row">0</property>
145
<property name="row-span">1</property>
146
</layout>
147
</object>
148
</child>
149
<child>
150
<object class="GtkCheckButton" id="left_position_radio">
151
<property name="group">top_position_radio</property>
152
<property name="label" translatable="yes">_Left</property>
153
<property name="use-underline">True</property>
154
<signal name="toggled" handler="move_panel"/>
155
<layout>
156
<property name="column">0</property>
157
<property name="column-span">1</property>
158
<property name="row">1</property>
159
<property name="row-span">1</property>
160
</layout>
161
</object>
162
</child>
163
<child>
164
<object class="GtkCheckButton" id="bottom_position_radio">
165
<property name="group">top_position_radio</property>
166
<property name="label" translatable="yes">_Bottom</property>
167
<property name="use-underline">True</property>
168
<signal name="toggled" handler="move_panel"/>
169
<layout>
170
<property name="column">1</property>
171
<property name="column-span">2</property>
172
<property name="row">2</property>
173
<property name="row-span">1</property>
174
</layout>
175
</object>
176
</child>
177
<child>
178
<object class="GtkCheckButton" id="right_position_radio">
179
<property name="group">top_position_radio</property>
180
<property name="label" translatable="yes">_Right</property>
181
<property name="use-underline">True</property>
182
<signal name="toggled" handler="move_panel"/>
183
<layout>
184
<property name="column">3</property>
185
<property name="column-span">1</property>
186
<property name="row">1</property>
187
<property name="row-span">1</property>
188
</layout>
189
</object>
190
</child>
191
<child>
192
<object class="GtkLabel">
193
<property name="label" translatable="yes">_Monitor number: </property>
194
<property name="use-underline">True</property>
195
<property name="xalign">-0.0</property>
196
<layout>
197
<property name="column">1</property>
198
<property name="column-span">1</property>
199
<property name="row">1</property>
200
<property name="row-span">1</property>
201
</layout>
202
</object>
203
</child>
204
<child>
205
<object class="GtkSpinButton" id="monitor_number_spinbutton">
206
<property name="adjustment">
207
<object class="GtkAdjustment" id="monitor_number_adjustment">
208
<property name="page-increment">1.0</property>
209
<property name="page-size">1.0</property>
210
<property name="step-increment">1.0</property>
211
<property name="upper">64.0</property>
212
<signal name="value-changed" handler="move_to_monitor"/>
213
</object>
214
</property>
215
<layout>
216
<property name="column">2</property>
217
<property name="column-span">1</property>
218
<property name="row">1</property>
219
<property name="row-span">1</property>
220
</layout>
221
</object>
222
</child>
223
</object>
224
</child>
225
</object>
226
</child>
227
</object>
228
</child>
229
</object>
230
</child>
231
</template>
232
</interface>
233