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