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 domain="panorama-panel"> 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<requires lib="gtk" version="4.6"/> 21<template class="PanelManager" parent="GtkWindow"> 22<property name="default-height">320</property> 23<property name="default-width">576</property> 24<property name="title" translatable="yes">Panel management</property> 25<child> 26<object class="GtkBox"> 27<property name="orientation">vertical</property> 28<child> 29<object class="GtkCenterBox"> 30<property name="margin-bottom">8</property> 31<property name="margin-end">8</property> 32<property name="margin-start">8</property> 33<property name="margin-top">8</property> 34<child type="end"> 35<object class="GtkButton" id="next_panel_button"> 36<property name="action-name">win.next-panel</property> 37<property name="icon-name">go-next-symbolic</property> 38<property name="tooltip-text" translatable="yes">Next panel</property> 39</object> 40</child> 41<child type="start"> 42<object class="GtkButton" id="previous_panel_button"> 43<property name="action-name">win.previous-panel</property> 44<property name="has-tooltip">True</property> 45<property name="icon-name">go-previous-symbolic</property> 46<property name="tooltip-text" translatable="yes">Previous panel</property> 47</object> 48</child> 49</object> 50</child> 51<child> 52<object class="GtkScrolledWindow"> 53<property name="vexpand">True</property> 54<child> 55<object class="GtkViewport"> 56<child> 57<object class="GtkStack" id="panel_stack"> 58<property name="margin-end">16</property> 59<property name="margin-start">16</property> 60<property name="transition-type">slide-left-right</property> 61</object> 62</child> 63</object> 64</child> 65</object> 66</child> 67<child> 68<object class="GtkBox"> 69<property name="hexpand">True</property> 70<property name="margin-bottom">8</property> 71<property name="margin-end">8</property> 72<property name="margin-start">8</property> 73<property name="margin-top">8</property> 74<child> 75<object class="GtkButton" id="save_now_button"> 76<property name="has-tooltip">True</property> 77<property name="label" translatable="yes">_Save settings now</property> 78<property name="tooltip-text" translatable="yes">The configuration is also saved when exiting the app.</property> 79<property name="use-underline">True</property> 80<signal name="clicked" handler="save_settings"/> 81<style> 82<class name="suggested-action"/> 83</style> 84</object> 85</child> 86<child> 87<object class="GtkBox"> 88<property name="halign">end</property> 89<child> 90<object class="GtkLabel"> 91<property name="hexpand">True</property> 92<property name="label" translatable="yes">Panel _editing mode</property> 93<property name="mnemonic-widget">panel_editing_switch</property> 94<property name="use-underline">True</property> 95<property name="wrap">True</property> 96<property name="xalign">0.0</property> 97</object> 98</child> 99<child> 100<object class="GtkSwitch" id="panel_editing_switch"> 101<property name="halign">end</property> 102<property name="valign">center</property> 103</object> 104</child> 105</object> 106</child> 107</object> 108</child> 109</object> 110</child> 111</template> 112</interface> 113