-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
MainWindow.ui
97 lines (97 loc) · 3.79 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?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="spacing">12</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>
<child>
<object class="AdwSplitButton">
<property name="halign">3</property>
<property name="popover">popover_menu</property>
<signal name="clicked" handler="on_split_button_clicked"/>
<property name="child">
<object class="AdwButtonContent">
<property name="icon-name">document-open-symbolic</property>
<property name="label" translatable="yes">_Open</property>
<property name="use-underline">true</property>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</property>
</object>
</property>
</template>
<object class="GtkPopoverMenu" id="popover_menu">
<property name="menu-model">adw_split_button_menu</property>
</object>
<menu id="adw_split_button_menu">
<section>
<item>
<attribute name="label" translatable="yes">Item 01</attribute>
<attribute name="action">app.split-button-menu-item-activate</attribute>
</item>
<submenu>
<attribute name="label" translatable="yes">Submenu</attribute>
<item>
<attribute name="label" translatable="yes">Item 02</attribute>
<attribute name="action">app.split-button-menu-item-activate</attribute>
</item>
</submenu>
<section>
<attribute name="label" translatable="yes">Editar</attribute>
<item>
<attribute name="label" translatable="yes">Item 03</attribute>
<attribute name="action">app.split-button-menu-item-activate</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Item 04</attribute>
<attribute name="action">app.split-button-menu-item-activate</attribute>
</item>
</section>
<item>
<attribute name="label" translatable="yes">Sair</attribute>
<attribute name="action">app.quit</attribute>
</item>
</section>
</menu>
<menu id="primary_menu">
<section>
<item>
<attribute name="label" translatable="yes">Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
</section>
</menu>
</interface>