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_")]
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*")]
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);
14 public Gtk.Widget contents { owned get; set construct; }
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*")]
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; }
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*")]
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;
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*")]
42 public unowned Clutter.Actor get_stage ();
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 [Version (deprecated_since = "vala-0.16", replacement = "INVALID_STOCK_ID")]
50 [CCode (cname = "GTK_CLUTTER_TEXTURE_ERROR_INVALID_STOCK_ID")]
53 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
54 public const int CLUTTER_GTK_MAJOR_VERSION;
55 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
56 public const int CLUTTER_GTK_MICRO_VERSION;
57 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
58 public const int CLUTTER_GTK_MINOR_VERSION;
59 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
60 public const int CLUTTER_GTK_VERSION_HEX;
61 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
62 public const string CLUTTER_GTK_VERSION_S;
63 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
64 public static bool check_version (uint major, uint minor, uint micro);
65 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
66 public static GLib.OptionGroup get_option_group ();
67 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
68 public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
69 [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
70 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;