-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathMxGtk-1.0.gir
133 lines (133 loc) · 5.49 KB
/
MxGtk-1.0.gir
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
126
127
128
129
130
131
132
133
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.1"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Atk" version="1.0"/>
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gdk" version="2.0"/>
<include name="GdkPixbuf" version="2.0"/>
<include name="Gio" version="2.0"/>
<include name="Gtk" version="2.0"/>
<include name="Pango" version="1.0"/>
<include name="cairo" version="1.0"/>
<package name="gobject-2.0"/>
<package name="gtk+-2.0"/>
<c:include name="mx-gtk/mx-gtk.h"/>
<namespace name="MxGtk"
version="1.0"
shared-library="libmx-gtk-1.0.so.0"
c:prefix="MxGtk">
<class name="Frame"
c:type="MxGtkFrame"
parent="Gtk.Frame"
glib:type-name="MxGtkFrame"
glib:get-type="mx_gtk_frame_get_type"
glib:type-struct="FrameClass">
<doc xml:whitespace="preserve">The contents of this structure are private and should only be accessed
through the public API.</doc>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="mx_gtk_frame_new">
<doc xml:whitespace="preserve">Create a new specially styled frame.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly allocated #MxGtkFrame</doc>
<type name="Frame" c:type="GtkWidget*"/>
</return-value>
</constructor>
<field name="parent">
<type name="Gtk.Frame" c:type="GtkFrame"/>
</field>
<field name="border_color">
<type name="Gdk.Color" c:type="GdkColor"/>
</field>
</class>
<record name="FrameClass"
c:type="MxGtkFrameClass"
glib:is-gtype-struct-for="Frame">
<field name="parent_class">
<type name="Gtk.FrameClass" c:type="GtkFrameClass"/>
</field>
</record>
<class name="LightSwitch"
c:type="MxGtkLightSwitch"
parent="Gtk.DrawingArea"
glib:type-name="MxGtkLightSwitch"
glib:get-type="mx_gtk_light_switch_get_type"
glib:type-struct="LightSwitchClass">
<doc xml:whitespace="preserve">The contents of this structure are private and should only be accessed
through the public API.</doc>
<implements name="Atk.ImplementorIface"/>
<implements name="Gtk.Buildable"/>
<constructor name="new" c:identifier="mx_gtk_light_switch_new">
<doc xml:whitespace="preserve">Create a #MxGtkLightSwitch</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">a newly allocated #MxGtkLightSwitch</doc>
<type name="LightSwitch" c:type="GtkWidget*"/>
</return-value>
</constructor>
<method name="set_active" c:identifier="mx_gtk_light_switch_set_active">
<doc xml:whitespace="preserve">Set the value of the "active" property</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="active" transfer-ownership="none">
<doc xml:whitespace="preserve">#TRUE to set the switch to its ON state</doc>
<type name="boolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="get_active" c:identifier="mx_gtk_light_switch_get_active">
<doc xml:whitespace="preserve">Get the value of the "active" property</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">#TRUE if the switch is "on"</doc>
<type name="boolean" c:type="gboolean"/>
</return-value>
</method>
<property name="active" writable="1" transfer-ownership="none">
<type name="boolean" c:type="gboolean"/>
</property>
<field name="parent">
<type name="Gtk.DrawingArea" c:type="GtkDrawingArea"/>
</field>
<glib:signal name="switch-flipped">
<return-value transfer-ownership="full">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="boolean" c:type="gboolean"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="LightSwitchClass"
c:type="MxGtkLightSwitchClass"
glib:is-gtype-struct-for="LightSwitch">
<field name="parent_class">
<type name="Gtk.DrawingAreaClass" c:type="GtkDrawingAreaClass"/>
</field>
<field name="switch_flipped">
<callback name="switch_flipped" c:type="switch_flipped">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="lightswitch" transfer-ownership="none">
<type name="LightSwitch" c:type="MxGtkLightSwitch*"/>
</parameter>
<parameter name="state" transfer-ownership="none">
<type name="boolean" c:type="gboolean"/>
</parameter>
</parameters>
</callback>
</field>
</record>
</namespace>
</repository>