-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterface.xml
More file actions
125 lines (125 loc) · 4.89 KB
/
interface.xml
File metadata and controls
125 lines (125 loc) · 4.89 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkAccelGroup" id="accelGroup1"/>
<object class="GtkWindow" id="win">
<accel-groups>
<group name="accelGroup1"/>
</accel-groups>
<property name="type">toplevel</property>
<property name="title">Magicam</property>
<property name="default-width">1024</property>
<property name="default-height">576</property>
<property name="events">
GDK_KEY_PRESS_MASK |
GDK_KEY_RELEASE_MASK |
GDK_SCROLL_MASK
</property>
<signal name="destroy" handler="winDestroy"/>
<signal name="scroll-event" handler="wheel"/>
<signal name="key-press-event" handler="keyPress"/>
<signal name="key-release-event" handler="keyRelease"/>
<signal name="check-resize" handler="checkResize"/>
<child>
<object class="GtkEventBox" id="ebox">
<child>
<object class="GtkBox" id="box">
<property name="orientation">vertical</property>
<child>
<object class="GtkMenuBar" id="menubar">
<child>
<object class="GtkMenuItem" id="file_item">
<property name="label">File</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="edit_item">
<property name="label">Edit</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="view_item">
<property name="label">View</property>
<property name="submenu">view_submenu</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="graph_item">
<property name="label">Graph</property>
<property name="submenu">graph_submenu</property>
</object>
</child>
</object>
<packing>
<property name="pack-type">start</property>
<property name="expand">false</property>
<property name="fill">false</property>
<property name="padding">0</property>
</packing>
</child>
<child>
<object class="GtkOverlay" id="overlay">
<signal name="button-press-event" handler="buttonPress"/>
<signal name="button-release-event" handler="buttonRelease"/>
<signal name="motion-notify-event" handler="pointerMotion"/>
<signal name="size-allocate" handler="sizeAllocate"/>
<child>
<object class="GtkDrawingArea" id="pixbuf">
<property name="name">pixbuf</property>
<property name="events">
GDK_POINTER_MOTION_MASK |
GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
GDK_SCROLL_MASK
</property>
<property name="width-request">1024</property>
<property name="height-request">576</property>
<property name="expand">true</property>
<signal name="draw" handler="drawPixbuf"/>
</object>
</child>
<child type="overlay">
<object class="GtkDrawingArea" id="vector">
<property name="name">vector</property>
<property name="halign">GTK_ALIGN_FILL</property>
<property name="valign">GTK_ALIGN_FILL</property>
<property name="events">
GDK_POINTER_MOTION_MASK |
GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK
</property>
<signal name="draw" handler="drawVector"/>
</object>
</child>
</object>
<packing>
<property name="pack-type">start</property>
<property name="expand">true</property>
<property name="fill">true</property>
<property name="padding">0</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="GtkMenu" id="view_submenu">
<child>
<object class="GtkMenuItem" id="fit_window_item">
<property name="label">Fit to window</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="fullscreen_item">
<property name="label">Fullscreen toggle</property>
</object>
</child>
</object>
<object class="GtkMenu" id="graph_submenu">
<child>
<object class="GtkMenuItem" id="pixel_radius">
<property name="label">Pixel Radius</property>
</object>
</child>
</object>
</interface>