-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
MainWindow.ui
66 lines (66 loc) · 2.47 KB
/
MainWindow.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT EDIT!
This file was @generated by blueprint-compiler. Instead, edit the
corresponding .blp file and regenerate this file with blueprint-compiler.
-->
<interface>
<requires lib="gtk" version="4.0"/>
<template class="ExampleWindow" parent="AdwApplicationWindow">
<property name="title">Python - PyGObject - GTK</property>
<property name="default-width">683</property>
<property name="default-height">384</property>
<property name="content">
<object class="AdwToastOverlay">
<property name="child">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar" id="header_bar">
<child type="end">
<object class="GtkMenuButton">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">primary_menu</property>
</object>
</child>
</object>
</child>
<property name="content">
<object class="GtkBox">
<property name="orientation">1</property>
<property name="margin-top">12</property>
<property name="margin-end">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkButton" id="button">
<property name="label">Lorem Ipsum</property>
<style>
<class name="opaque"/>
</style>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">Add/Remove class</property>
<property name="vexpand">true</property>
<property name="valign">2</property>
<signal name="clicked" handler="on_button_clicked"/>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</property>
</template>
<menu id="primary_menu">
<section>
<item>
<attribute name="label" translatable="yes">Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
</section>
</menu>
</interface>