forked from paperwm/PaperWM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WinpropsPane.ui
74 lines (74 loc) · 2.9 KB
/
WinpropsPane.ui
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
<?xml version="1.0" encoding="utf-8" ?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="WinpropsPane" parent="GtkBox">
<property name="focusable">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="focusable">False</property>
<property name="halign">center</property>
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<child>
<object class="GtkSearchEntry" id="search">
<property name="activates-default">False</property>
<property name="halign">center</property>
<property name="margin-top">12</property>
</object>
</child>
<child>
<object class="GtkButton" id="addButton">
<property name="label" translatable="yes">Add Winprop</property>
<property name="hexpand">True</property>
<property name="halign">center</property>
<property name="margin-top">12px</property>
<signal name="clicked" handler="_onAddButtonClicked" />
<style>
<class name="winprops" />
<class name="add-button" />
<class name="suggested-action" />
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes"><i>Winprops allow setting window properties to be applied to new windows</i></property>
<property name="max_width_chars">-1</property>
<property name="margin-top">12px</property>
<property name="margin-bottom">2px</property>
<property name="use_markup">True</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledWindow">
<property name="hscrollbar_policy">never</property>
<child>
<object class="GtkViewport">
<property name="focusable">False</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="hexpand">True</property>
<property name="margin_start">36</property>
<property name="margin_end">36</property>
<property name="margin_top">16</property>
<property name="margin_bottom">36</property>
<property name="width_request">480</property>
<property name="show_separators">True</property>
<style>
<class name="keybindings" />
<class name="winprops" />
<class name="frame" />
</style>
<signal name="row-activated" handler="_onRowActivated" />
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>