gtk+-4.0: Update to 3.94.0+4e868584
[vala-gnome.git] / vapi / clutter-gtk-0.10.vapi
blob62db541d2bd84076ab64fb061a855b96f64f9382
1 /* clutter-gtk-0.10.vapi generated by vapigen, do not modify. */
3 namespace GtkClutter {
4         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
5         public class Embed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
6                 [CCode (has_construct_function = false, type = "GtkWidget*")]
7                 public Embed ();
8                 public unowned Clutter.Actor get_stage ();
9         }
10         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
11         public class Viewport : Clutter.Actor, GtkClutter.Zoomable, GtkClutter.Scrollable, Clutter.Container, Clutter.Scriptable {
12                 [CCode (has_construct_function = false, type = "ClutterActor*")]
13                 public Viewport (Gtk.Adjustment h_adjust, Gtk.Adjustment v_adjust, Gtk.Adjustment z_adjust);
14                 public void get_origin (float x, float y, float z);
15                 [NoAccessorMethod]
16                 public Clutter.Actor child { owned get; set; }
17                 public Clutter.Vertex origin { get; }
18         }
19         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
20         public interface Scrollable {
21                 public abstract void get_adjustments (out unowned Gtk.Adjustment h_adjust, out unowned Gtk.Adjustment v_adjust);
22                 public abstract void set_adjustments (Gtk.Adjustment h_adjust, Gtk.Adjustment v_adjust);
23         }
24         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
25         public interface Zoomable {
26                 public abstract unowned Gtk.Adjustment get_adjustment ();
27                 public abstract void set_adjustment (Gtk.Adjustment z_adjust);
28         }
29         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", cprefix = "CLUTTER_INIT_ERROR_", has_type_id = false)]
30         public enum ClutterGtkInitError {
31                 LAST,
32                 GTK
33         }
34         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h", cprefix = "CLUTTER_GTK_TEXTURE_", has_type_id = false)]
35         public enum ClutterGtkTextureError {
36                 INVALID_STOCK_ID,
37                 ERROR_LAST
38         }
39         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
40         public static void get_base_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
41         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
42         public static void get_bg_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
43         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
44         public static void get_dark_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
45         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
46         public static void get_fg_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
47         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
48         public static void get_light_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
49         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
50         public static void get_mid_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
51         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
52         public static void get_text_aa_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
53         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
54         public static void get_text_color (Gtk.Widget widget, Gtk.StateType state, out Clutter.Color color);
55         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
56         public static Clutter.InitError init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
57         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
58         public static Clutter.InitError init_with_args ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string parameter_string, [CCode (array_length = false)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
59         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
60         public static GLib.Quark texture_error_quark ();
61         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
62         public static unowned Clutter.Actor texture_new_from_icon_name (Gtk.Widget widget, string icon_name, Gtk.IconSize size);
63         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
64         public static unowned Clutter.Actor texture_new_from_pixbuf (Gdk.Pixbuf pixbuf);
65         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
66         public static unowned Clutter.Actor texture_new_from_stock (Gtk.Widget widget, string stock_id, Gtk.IconSize size);
67         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
68         public static bool texture_set_from_icon_name (Clutter.Texture texture, Gtk.Widget widget, string icon_name, Gtk.IconSize size) throws GLib.Error;
69         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
70         public static bool texture_set_from_pixbuf (Clutter.Texture texture, Gdk.Pixbuf pixbuf) throws GLib.Error;
71         [CCode (cheader_filename = "clutter-gtk/clutter-gtk.h")]
72         public static bool texture_set_from_stock (Clutter.Texture texture, Gtk.Widget widget, string stock_id, Gtk.IconSize size) throws GLib.Error;