2 <repository version="1.0"
3 xmlns="http://www.gtk.org/introspection/core/1.0"
4 xmlns:c="http://www.gtk.org/introspection/c/1.0"
5 xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
6 <include name="GLib" version="2.0"/>
7 <include name="GObject" version="2.0"/>
8 <include name="utility" version="1.0"/>
9 <namespace name="drawable" version="1.0" shared-library="drawable">
10 <class name="TestDrawable"
12 parent="GObject.Object"
14 glib:type-name="TestDrawable"
15 glib:get-type="test_drawable_get_type">
16 <method name="do_foo" c:identifier="test_drawable_do_foo">
18 <type name="none" c:type="void"/>
22 <type name="int" c:type="int"/>
26 <method name="get_origin" c:identifier="test_drawable_get_origin">
28 <type name="none" c:type="void"/>
31 <parameter name="x" direction="out">
32 <type name="int" c:type="int*"/>
34 <parameter name="y" direction="out">
35 <type name="int" c:type="int*"/>
39 <method name="get_size" c:identifier="test_drawable_get_size">
41 <type name="none" c:type="void"/>
44 <parameter name="width" direction="out">
45 <type name="uint" c:type="guint*"/>
47 <parameter name="height" direction="out">
48 <type name="uint" c:type="guint*"/>
52 <method name="get_width" c:identifier="girepo_test_drawable_get_width">
54 <type name="int" c:type="gint"/>
57 <field name="parent_instance">
58 <type name="GObject.Object" c:type="GObject"/>
61 <record name="TestDrawableClass" c:type="TestDrawableClass">
62 <field name="parent_class">
63 <type name="GObject.ObjectClass" c:type="GObjectClass"/>
66 <record name="TestPixmapObjectClass" c:type="_TestPixmapObjectClass">
67 <field name="parent_class">
68 <type name="TestDrawableClass" c:type="TestDrawableClass"/>