-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
MainWindow.ui
84 lines (84 loc) · 3.07 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
<?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="GtkApplicationWindow">
<property name="title">Python - PyGObject - GTK</property>
<property name="default-width">683</property>
<property name="default-height">384</property>
<child type="titlebar">
<object class="GtkHeaderBar" 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>
<child>
<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="GtkTextView">
<property name="buffer">text_buffer</property>
<property name="vexpand">true</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">0</property>
<property name="halign">3</property>
<property name="spacing">12</property>
<child>
<object class="GtkButton">
<property name="label">Print</property>
<signal name="clicked" handler="on_button_open_print_dialog_clicked"/>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">View</property>
<signal name="clicked" handler="on_button_open_preview_clicked"/>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">Page setup</property>
<signal name="clicked" handler="on_button_open_page_setup_dialog_clicked"/>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">Export to PDF</property>
<signal name="clicked" handler="on_button_export_to_pdf_clicked"/>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkTextBuffer" id="text_buffer"></object>
<object class="GtkPrintOperation" id="print_operation">
<signal name="begin-print" handler="on_begin_print"/>
<signal name="draw-page" handler="on_draw_page"/>
</object>
<menu id="primary_menu">
<section>
<item>
<attribute name="label" translatable="yes">Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
</section>
</menu>
</interface>