panel-manager.ui
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-manager.ui --> 5<!-- interface-description Provides a window that allows the user to edit settings for various panels. --> 6<!-- interface-copyright Copyright 2025, roundabout-host.com <vlad@roundabout-host.com> 7 8This program is free software: you can redistribute it and/or modify 9it under the terms of the GNU General Public Licence as published by 10the Free Software Foundation, either version 3 of the Licence, or 11(at your option) any later version. 12 13This program is distributed in the hope that it will be useful, 14but WITHOUT ANY WARRANTY; without even the implied warranty of 15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16GNU General Public Licence for more details. 17 18You should have received a copy of the GNU General Public Licence 19along with this program. If not, see <https://www.gnu.org/licenses/>. 20--> 21<requires lib="gtk" version="4.6"/> 22<template class="PanelManager" parent="GtkWindow"> 23<property name="default-height">320</property> 24<property name="default-width">576</property> 25<property name="title" translatable="yes">Panel management</property> 26<child> 27<object class="GtkBox"> 28<property name="orientation">vertical</property> 29<child> 30<object class="GtkCenterBox"> 31<property name="margin-bottom">8</property> 32<property name="margin-end">8</property> 33<property name="margin-start">8</property> 34<property name="margin-top">8</property> 35<child type="end"> 36<object class="GtkButton" id="next_panel_button"> 37<property name="action-name">win.next-panel</property> 38<property name="icon-name">go-next-symbolic</property> 39<property name="tooltip-text" translatable="yes">Next panel</property> 40</object> 41</child> 42<child type="start"> 43<object class="GtkButton" id="previous_panel_button"> 44<property name="action-name">win.previous-panel</property> 45<property name="has-tooltip">True</property> 46<property name="icon-name">go-previous-symbolic</property> 47<property name="tooltip-text" translatable="yes">Previous panel</property> 48</object> 49</child> 50</object> 51</child> 52<child> 53<object class="GtkScrolledWindow"> 54<property name="vexpand">True</property> 55<child> 56<object class="GtkViewport"> 57<child> 58<object class="GtkStack" id="panel_stack"> 59<property name="margin-end">16</property> 60<property name="margin-start">16</property> 61<property name="transition-type">slide-left-right</property> 62</object> 63</child> 64</object> 65</child> 66</object> 67</child> 68<child> 69<object class="GtkBox"> 70<property name="hexpand">True</property> 71<property name="margin-bottom">8</property> 72<property name="margin-end">8</property> 73<property name="margin-start">8</property> 74<property name="margin-top">8</property> 75<child> 76<object class="GtkButton" id="save_now_button"> 77<property name="has-tooltip">True</property> 78<property name="label" translatable="yes">_Save settings now</property> 79<property name="tooltip-text" translatable="yes">The configuration is also saved when exiting the app.</property> 80<property name="use-underline">True</property> 81<signal name="clicked" handler="save_settings"/> 82<style> 83<class name="suggested-action"/> 84</style> 85</object> 86</child> 87<child> 88<object class="GtkBox"> 89<property name="halign">end</property> 90<child> 91<object class="GtkLabel"> 92<property name="hexpand">True</property> 93<property name="label" translatable="yes">Panel _editing mode</property> 94<property name="mnemonic-widget">panel_editing_switch</property> 95<property name="use-underline">True</property> 96<property name="wrap">True</property> 97<property name="xalign">0.0</property> 98</object> 99</child> 100<child> 101<object class="GtkSwitch" id="panel_editing_switch"> 102<property name="halign">end</property> 103<property name="valign">center</property> 104</object> 105</child> 106</object> 107</child> 108</object> 109</child> 110</object> 111</child> 112</template> 113</interface> 114