codegen: Fix floating reference regression with Variants
[vala-gnome.git] / vapi / clutter-gtk-1.0.vapi
blobb7abe99c9baae0cbf4e0712d139079ca991f7dff
1 /* clutter-gtk-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "GtkClutter", gir_namespace = "GtkClutter", gir_version = "1.0", lower_case_cprefix = "gtk_clutter_")]
4 namespace GtkClutter {
5         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", type_id = "gtk_clutter_actor_get_type ()")]
6         public class Actor : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
7                 [CCode (has_construct_function = false, type = "ClutterActor*")]
8                 public Actor ();
9                 public unowned Gtk.Widget get_contents ();
10                 public unowned Gtk.Widget get_widget ();
11                 [CCode (has_construct_function = false, type = "ClutterActor*")]
12                 public Actor.with_contents (Gtk.Widget contents);
13                 [NoAccessorMethod]
14                 public Gtk.Widget contents { owned get; set construct; }
15         }
16         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", type_id = "gtk_clutter_embed_get_type ()")]
17         public class Embed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
18                 [CCode (has_construct_function = false, type = "GtkWidget*")]
19                 public Embed ();
20                 public unowned Clutter.Actor get_stage ();
21                 [Version (since = "1.4")]
22                 public bool get_use_layout_size ();
23                 [Version (since = "1.4")]
24                 public void set_use_layout_size (bool use_layout_size);
25                 [Version (since = "1.4")]
26                 public bool use_layout_size { get; set construct; }
27         }
28         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", type_id = "gtk_clutter_texture_get_type ()")]
29         [Version (since = "1.0")]
30         public class Texture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
31                 [CCode (has_construct_function = false, type = "ClutterActor*")]
32                 public Texture ();
33                 public static GLib.Quark error_quark ();
34                 public bool set_from_icon_name (Gtk.Widget? widget, string icon_name, Gtk.IconSize icon_size) throws GLib.Error;
35                 public bool set_from_pixbuf (Gdk.Pixbuf pixbuf) throws GLib.Error;
36                 public bool set_from_stock (Gtk.Widget widget, string stock_id, Gtk.IconSize icon_size) throws GLib.Error;
37         }
38         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", type_id = "gtk_clutter_window_get_type ()")]
39         public class Window : Gtk.Window, Atk.Implementor, Gtk.Buildable {
40                 [CCode (has_construct_function = false, type = "GtkWidget*")]
41                 public Window ();
42                 public unowned Clutter.Actor get_stage ();
43         }
44         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", cprefix = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_")]
45         [Version (since = "1.0")]
46         public errordomain TextureError {
47                 [CCode (cname = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID")]
48                 INVALID_STOCK_ID
49         }
50         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
51         public const int CLUTTER_GTK_MAJOR_VERSION;
52         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
53         public const int CLUTTER_GTK_MICRO_VERSION;
54         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
55         public const int CLUTTER_GTK_MINOR_VERSION;
56         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
57         public const int CLUTTER_GTK_VERSION_HEX;
58         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
59         public const string CLUTTER_GTK_VERSION_S;
60         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
61         public static bool check_version (uint major, uint minor, uint micro);
62         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
63         public static GLib.OptionGroup get_option_group ();
64         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
65         public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
66         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
67         public static Clutter.InitError init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string? parameter_string, [CCode (array_length = false, array_null_terminated = true)] GLib.OptionEntry[]? entries, string? translation_domain) throws GLib.Error;