From: Luca Bruno Date: Thu, 9 Jun 2011 19:11:36 +0000 (+0200) Subject: clutter-1.0: Switch to GIR X-Git-Tag: 0.13.2~162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d495141d2d11df0ad59471182b90f87b8d4f12e0;p=thirdparty%2Fvala.git clutter-1.0: Switch to GIR Fixes bugs 643773 and 630679. --- diff --git a/vapi/clutter-1.0.deps b/vapi/clutter-1.0.deps index 97e37b1d8..17d2d1411 100644 --- a/vapi/clutter-1.0.deps +++ b/vapi/clutter-1.0.deps @@ -1,3 +1,5 @@ +atk cairo pango cogl-1.0 +json-glib-1.0 diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi index c0a7297b1..371de18e8 100644 --- a/vapi/clutter-1.0.vapi +++ b/vapi/clutter-1.0.vapi @@ -5,40 +5,44 @@ namespace Clutter { [CCode (cprefix = "ClutterFrameSource", lower_case_cprefix = "clutter_frame_source_")] namespace FrameSource { [CCode (cheader_filename = "clutter/clutter.h")] - public static uint add (uint fps, GLib.SourceFunc func); + public static uint add (uint fps, [CCode (delegate_target_pos = 2.1)] GLib.SourceFunc func); [CCode (cheader_filename = "clutter/clutter.h")] - public static uint add_full (int priority, uint fps, owned GLib.SourceFunc func); + public static uint add_full (int priority, uint fps, [CCode (delegate_target_pos = 3.1)] owned GLib.SourceFunc func); } [CCode (cprefix = "ClutterThreads", lower_case_cprefix = "clutter_threads_")] namespace Threads { [CCode (cprefix = "ClutterThreadsFrameSource", lower_case_cprefix = "clutter_threads_frame_source_")] namespace FrameSource { [CCode (cname = "clutter_threads_add_frame_source", cheader_filename = "clutter/clutter.h")] - public static uint add (uint fps, GLib.SourceFunc func); + public static uint add (uint fps, [CCode (delegate_target_pos = 2.1)] GLib.SourceFunc func); [CCode (cname = "clutter_threads_add_frame_source_full", cheader_filename = "clutter/clutter.h")] - public static uint add_full (int priority, uint fps, owned GLib.SourceFunc func); + public static uint add_full (int priority, uint fps, [CCode (delegate_target_pos = 3.1)] owned GLib.SourceFunc func); } [CCode (cprefix = "ClutterThreadsIdle", lower_case_cprefix = "clutter_threads_idle_")] namespace Idle { [CCode (cname = "clutter_threads_add_idle", cheader_filename = "clutter/clutter.h")] public static uint add (GLib.SourceFunc func); [CCode (cname = "clutter_threads_add_idle_full", cheader_filename = "clutter/clutter.h")] - public static uint add_full (int priority, owned GLib.SourceFunc func); + public static uint add_full (int priority, [CCode (delegate_target_pos = 2.1)] owned GLib.SourceFunc func); } [CCode (cprefix = "ClutterThreadsTimeout", lower_case_cprefix = "clutter_threads_timeout_")] namespace Timeout { [CCode (cname = "clutter_threads_add_timeout", cheader_filename = "clutter/clutter.h")] - public static uint add (uint interval, GLib.SourceFunc func); + public static uint add (uint interval, [CCode (delegate_target_pos = 2.1)] GLib.SourceFunc func); [CCode (cname = "clutter_threads_add_timeout_full", cheader_filename = "clutter/clutter.h")] - public static uint add_full (int priority, uint interval, owned GLib.SourceFunc func); + public static uint add_full (int priority, uint interval, [CCode (delegate_target_pos = 3.1)] owned GLib.SourceFunc func); } [CCode (cheader_filename = "clutter/clutter.h")] + public static uint add_repaint_func (owned GLib.SourceFunc func); + [CCode (cheader_filename = "clutter/clutter.h")] public static void enter (); [CCode (cheader_filename = "clutter/clutter.h")] public static void init (); [CCode (cheader_filename = "clutter/clutter.h")] public static void leave (); [CCode (cheader_filename = "clutter/clutter.h")] + public static void remove_repaint_func (uint handle_id); + [CCode (cheader_filename = "clutter/clutter.h")] public static void set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn); } [CCode (cprefix = "ClutterUtil", lower_case_cprefix = "clutter_util_")] @@ -46,17 +50,17 @@ namespace Clutter { [CCode (cname = "clutter_util_next_p2", cheader_filename = "clutter/clutter.h")] public static int next_power_of_2 (int a); } - [CCode (cprefix = "clutter_value_", lower_case_cprefix = "clutter_value_")] + [CCode (cprefix = "ClutterValue", lower_case_cprefix = "clutter_value_")] namespace Value { [CCode (cheader_filename = "clutter/clutter.h")] public static unowned Clutter.Color? get_color (GLib.Value value); [CCode (cheader_filename = "clutter/clutter.h")] public static unowned Cogl.Fixed? get_fixed (GLib.Value value); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", array_length_pos = 1.1, array_length_type = "gsize")] public static unowned float[] get_shader_float (GLib.Value value); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", array_length_pos = 1.1, array_length_type = "gsize")] public static unowned int[] get_shader_int (GLib.Value value); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", array_length_pos = 1.1, array_length_type = "gsize")] public static unowned float[] get_shader_matrix (GLib.Value value); [CCode (cheader_filename = "clutter/clutter.h")] public static Clutter.Units get_units (GLib.Value value); @@ -65,75 +69,116 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static void set_fixed (GLib.Value value, Cogl.Fixed fixed_); [CCode (cheader_filename = "clutter/clutter.h")] - public static void set_shader_float (GLib.Value value, [CCode (array_length_pos = 1.9)] float[] floats); + public static void set_shader_float (GLib.Value value, [CCode (type = "gfloat*", array_length_cname = "size", array_length_pos = 1.5)] float[] floats); [CCode (cheader_filename = "clutter/clutter.h")] - public static void set_shader_int (GLib.Value value, [CCode (array_length_pos = 1.9)] int[] ints); + public static void set_shader_int (GLib.Value value, [CCode (type = "gint*", array_length_cname = "size", array_length_pos = 1.5)] int[] ints); [CCode (cheader_filename = "clutter/clutter.h")] - public static void set_shader_matrix (GLib.Value value, [CCode (array_length_pos = 1.9)] float[] matrix); + public static void set_shader_matrix (GLib.Value value, [CCode (type = "gfloat*", array_length_cname = "size", array_length_pos = 1.5)] float[] matrix); [CCode (cheader_filename = "clutter/clutter.h")] public static void set_units (GLib.Value value, Clutter.Units units); } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Actor : GLib.InitiallyUnowned, Clutter.Scriptable { + [CCode (type_id = "clutter_action_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Action : Clutter.ActorMeta { + [CCode (has_construct_function = false)] + protected Action (); + } + [CCode (type_id = "clutter_actor_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Actor : GLib.InitiallyUnowned, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { public uint32 flags; [CCode (has_construct_function = false)] protected Actor (); + public void add_action (Clutter.Action action); + public void add_action_with_name (string name, Clutter.Action action); + public void add_constraint (Clutter.Constraint constraint); + public void add_constraint_with_name (string name, Clutter.Constraint constraint); + public void add_effect (Clutter.Effect effect); + public void add_effect_with_name (string name, Clutter.Effect effect); public virtual void allocate (Clutter.ActorBox box, Clutter.AllocationFlags flags); + public void allocate_align_fill (Clutter.ActorBox box, double x_align, double y_align, bool x_fill, bool y_fill, Clutter.AllocationFlags flags); public void allocate_available_size (float x, float y, float available_width, float available_height, Clutter.AllocationFlags flags); public void allocate_preferred_size (Clutter.AllocationFlags flags); public unowned Clutter.Animation animate (ulong mode, uint duration, ...); public unowned Clutter.Animation animate_with_alpha (Clutter.Alpha alpha, ...); - public unowned Clutter.Animation animate_with_alphav (Clutter.Alpha alpha, [CCode (array_length_pos = 1.9)] string[] properties, [CCode (array_length_pos = 1.9)] GLib.Value[] values); + public unowned Clutter.Animation animate_with_alphav (Clutter.Alpha alpha, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5)] GLib.Value[] values); public unowned Clutter.Animation animate_with_timeline (ulong mode, Clutter.Timeline timeline, ...); - public unowned Clutter.Animation animate_with_timelinev (ulong mode, Clutter.Timeline timeline, [CCode (array_length_pos = 2.9)] string[] properties, [CCode (array_length_pos = 2.9)] GLib.Value[] values); - public unowned Clutter.Animation animatev (ulong mode, uint duration, [CCode (array_length_pos = 2.9)] string[] properties, [CCode (array_length_pos = 2.9)] GLib.Value[] values); - public void apply_relative_transform_to_point (Clutter.Actor? ancestor, Clutter.Vertex point, out Clutter.Vertex vertex); + public unowned Clutter.Animation animate_with_timelinev (ulong mode, Clutter.Timeline timeline, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] GLib.Value[] values); + public unowned Clutter.Animation animatev (ulong mode, uint duration, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] string[] properties, [CCode (array_length_cname = "n_properties", array_length_pos = 2.5)] GLib.Value[] values); + public Clutter.Vertex apply_relative_transform_to_point (Clutter.Actor? ancestor, Clutter.Vertex point); [NoWrapper] public virtual void apply_transform (ref Cogl.Matrix matrix); - public void apply_transform_to_point (Clutter.Vertex point, out Clutter.Vertex vertex); - public unowned Pango.Context create_pango_context (); - public unowned Pango.Layout create_pango_layout (string text); - public void get_abs_allocation_vertices ([CCode (array_length = false)] Clutter.Vertex[] verts); - public void get_allocation_box (out Clutter.ActorBox box); - public void get_allocation_geometry (out Clutter.Geometry geom); - public void get_allocation_vertices (Clutter.Actor ancestor, Clutter.Vertex[] verts); + public Clutter.Vertex apply_transform_to_point (Clutter.Vertex point); + public void clear_actions (); + public void clear_constraints (); + public void clear_effects (); + public bool contains (Clutter.Actor descendant); + public Pango.Context create_pango_context (); + public Pango.Layout create_pango_layout (string text); + public void detach_animation (); + public void get_abs_allocation_vertices ([CCode (array_length = false)] out Clutter.Vertex[] verts); + public virtual unowned Atk.Object get_accessible (); + public unowned Clutter.Action get_action (string name); + public GLib.List get_actions (); + public Clutter.ActorBox get_allocation_box (); + public Clutter.Geometry get_allocation_geometry (); + public void get_allocation_vertices (Clutter.Actor? ancestor, [CCode (array_length = false)] out Clutter.Vertex[] verts); public void get_anchor_point (out float anchor_x, out float anchor_y); public Clutter.Gravity get_anchor_point_gravity (); public unowned Clutter.Animation get_animation (); [CCode (cname = "clutter_get_actor_by_gid")] - public static unowned Clutter.Actor get_by_gid (uint32 id); + public static unowned Clutter.Actor get_by_gid (uint32 id_); public void get_clip (out float xoff, out float yoff, out float width, out float height); + public bool get_clip_to_allocation (); + public unowned Clutter.Constraint get_constraint (string name); + public GLib.List get_constraints (); + public float get_depth (); + public unowned Clutter.Effect get_effect (string name); + public GLib.List get_effects (); + public bool get_fixed_position_set (); public Clutter.ActorFlags get_flags (); - public void get_geometry (Clutter.Geometry geometry); + public Clutter.Geometry get_geometry (); public uint32 get_gid (); [CCode (cname = "clutter_actor_has_pointer")] public bool get_has_pointer (); - public uchar get_paint_opacity (); + public float get_height (); + public unowned string get_name (); + public uint8 get_opacity (); + public bool get_paint_box (out Clutter.ActorBox box); + public uint8 get_paint_opacity (); public bool get_paint_visibility (); + [NoWrapper] + public virtual bool get_paint_volume (Clutter.PaintVolume volume); public unowned Pango.Context get_pango_context (); public unowned Clutter.Actor? get_parent (); public void get_position (out float x, out float y); public virtual void get_preferred_height (float for_width, out float min_height_p, out float natural_height_p); - public void get_preferred_size (out unowned float? min_width_p, out unowned float? min_height_p, out unowned float? natural_width_p, out unowned float? natural_height_p); + public void get_preferred_size (out float min_width_p, out float min_height_p, out float natural_width_p, out float natural_height_p); public virtual void get_preferred_width (float for_height, out float min_width_p, out float natural_width_p); + public bool get_reactive (); public Clutter.RequestMode get_request_mode (); public double get_rotation (Clutter.RotateAxis axis, out float x, out float y, out float z); public void get_scale (out double scale_x, out double scale_y); public void get_scale_center (out float center_x, out float center_y); + public Clutter.Gravity get_scale_gravity (); public unowned Clutter.Shader get_shader (); public void get_size (out float width, out float height); public unowned Clutter.Stage get_stage (); public Clutter.TextDirection get_text_direction (); public Cogl.Matrix get_transformation_matrix (); + public unowned Clutter.PaintVolume get_transformed_paint_volume (Clutter.Actor relative_to_ancestor); public void get_transformed_position (out float x, out float y); public void get_transformed_size (out float width, out float height); + public float get_width (); + public float get_x (); + public float get_y (); public Clutter.Gravity get_z_rotation_gravity (); public void grab_key_focus (); + public bool has_allocation (); + public bool has_key_focus (); public virtual void hide_all (); public bool is_in_clone_paint (); public bool is_rotated (); public bool is_scaled (); - public void lower (Clutter.Actor above); + public void lower (Clutter.Actor? above); public void lower_bottom (); public virtual void map (); public void move_anchor_point (float anchor_x, float anchor_y); @@ -142,29 +187,44 @@ namespace Clutter { public void pop_internal (); public void push_internal (); public void queue_redraw (); - public void raise (Clutter.Actor below); + public void raise (Clutter.Actor? below); public void raise_top (); + public void remove_action (Clutter.Action action); + public void remove_action_by_name (string name); public void remove_clip (); + public void remove_constraint (Clutter.Constraint constraint); + public void remove_constraint_by_name (string name); + public void remove_effect (Clutter.Effect effect); + public void remove_effect_by_name (string name); public void reparent (Clutter.Actor new_parent); public void set_anchor_point (float anchor_x, float anchor_y); public void set_anchor_point_from_gravity (Clutter.Gravity gravity); public void set_clip (float xoff, float yoff, float width, float height); + public void set_clip_to_allocation (bool clip_set); + public void set_depth (float depth); public void set_fixed_position_set (bool is_set); public void set_flags (Clutter.ActorFlags flags); public void set_geometry (Clutter.Geometry geometry); + public void set_height (float height); + public void set_name (string name); + public void set_opacity (uint8 opacity); public void set_parent (Clutter.Actor parent); public void set_position (float x, float y); + public void set_reactive (bool reactive); public void set_request_mode (Clutter.RequestMode mode); public void set_rotation (Clutter.RotateAxis axis, double angle, float x, float y, float z); public void set_scale (double scale_x, double scale_y); public void set_scale_full (double scale_x, double scale_y, float center_x, float center_y); public void set_scale_with_gravity (double scale_x, double scale_y, Clutter.Gravity gravity); - public bool set_shader (Clutter.Shader shader); + public bool set_shader (Clutter.Shader? shader); public void set_shader_param (string param, GLib.Value value); public void set_shader_param_float (string param, float value); public void set_shader_param_int (string param, int value); public void set_size (float width, float height); public void set_text_direction (Clutter.TextDirection text_dir); + public void set_width (float width); + public void set_x (float x); + public void set_y (float y); public void set_z_rotation_from_gravity (double angle, Clutter.Gravity gravity); public bool should_pick_paint (); public virtual void show_all (); @@ -173,6 +233,8 @@ namespace Clutter { public void unparent (); public void unset_flags (Clutter.ActorFlags flags); [NoAccessorMethod] + public Clutter.Action actions { set; } + [NoAccessorMethod] public Clutter.ActorBox allocation { get; } [NoAccessorMethod] public Clutter.Gravity anchor_gravity { get; set; } @@ -182,9 +244,12 @@ namespace Clutter { public float anchor_y { get; set; } [NoAccessorMethod] public Clutter.Geometry clip { get; set; } - [NoAccessorMethod] public bool clip_to_allocation { get; set; } + [NoAccessorMethod] + public Clutter.Constraint constraints { set; } public float depth { get; set; } + [NoAccessorMethod] + public Clutter.Effect effect { set; } public bool fixed_position_set { get; set; } [NoAccessorMethod] public float fixed_x { get; set; } @@ -251,7 +316,7 @@ namespace Clutter { public float width { get; set; } public float x { get; set; } public float y { get; set; } - public virtual signal void allocation_changed (Clutter.ActorBox p0, Clutter.AllocationFlags p1); + public signal void allocation_changed (Clutter.ActorBox box, Clutter.AllocationFlags flags); public virtual signal bool button_press_event (Clutter.ButtonEvent event); public virtual signal bool button_release_event (Clutter.ButtonEvent event); public virtual signal bool captured_event (Clutter.Event event); @@ -271,7 +336,6 @@ namespace Clutter { [HasEmitter] public virtual signal void paint (); public virtual signal void parent_set (Clutter.Actor? old_parent); - [HasEmitter] public virtual signal void pick (Clutter.Color color); [HasEmitter] public virtual signal void queue_relayout (); @@ -283,30 +347,76 @@ namespace Clutter { [HasEmitter] public virtual signal void unrealize (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_actor_meta_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ActorMeta : GLib.InitiallyUnowned { + [CCode (has_construct_function = false)] + protected ActorMeta (); + public unowned Clutter.Actor get_actor (); + public bool get_enabled (); + public unowned string get_name (); + [NoWrapper] + public virtual void set_actor (Clutter.Actor actor); + public void set_enabled (bool is_enabled); + public void set_name (string name); + public Clutter.Actor actor { get; } + public bool enabled { get; set; } + public string name { get; set; } + } + [CCode (type_id = "clutter_align_constraint_get_type ()", cheader_filename = "clutter/clutter.h")] + public class AlignConstraint : Clutter.Constraint { + [CCode (type = "ClutterConstraint*", has_construct_function = false)] + public AlignConstraint (Clutter.Actor? source, Clutter.AlignAxis axis, float factor); + public Clutter.AlignAxis get_align_axis (); + public float get_factor (); + public unowned Clutter.Actor get_source (); + public void set_align_axis (Clutter.AlignAxis axis); + public void set_factor (float factor); + public void set_source (Clutter.Actor? source); + public Clutter.AlignAxis align_axis { get; set construct; } + public float factor { get; set construct; } + public Clutter.Actor source { get; set construct; } + } + [CCode (type_id = "clutter_alpha_get_type ()", cheader_filename = "clutter/clutter.h")] public class Alpha : GLib.InitiallyUnowned, Clutter.Scriptable { [CCode (has_construct_function = false)] public Alpha (); [CCode (has_construct_function = false)] public Alpha.full (Clutter.Timeline timeline, ulong mode); + public double get_alpha (); + public ulong get_mode (); + public unowned Clutter.Timeline get_timeline (); public static ulong register_closure (GLib.Closure closure); public static ulong register_func (Clutter.AlphaFunc func); public void set_closure (GLib.Closure closure); public void set_func (owned Clutter.AlphaFunc func); + public void set_mode (ulong mode); + public void set_timeline (Clutter.Timeline timeline); [CCode (has_construct_function = false)] - public Alpha.with_func (Clutter.Timeline timeline, owned Clutter.AlphaFunc func); + public Alpha.with_func (Clutter.Timeline timeline, [CCode (delegate_target_pos = 2.1)] owned Clutter.AlphaFunc func); public double alpha { get; } public ulong mode { get; set construct; } public Clutter.Timeline timeline { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_animation_get_type ()", cheader_filename = "clutter/clutter.h")] public class Animation : GLib.Object, Clutter.Scriptable { [CCode (has_construct_function = false)] public Animation (); public unowned Clutter.Animation bind (string property_name, GLib.Value final); - public unowned Clutter.Animation bind_interval (string property_name, Clutter.Interval interval); + public unowned Clutter.Animation bind_interval (string property_name, owned Clutter.Interval interval); + public unowned Clutter.Alpha get_alpha (); + public uint get_duration (); public unowned Clutter.Interval get_interval (string property_name); + public bool get_loop (); + public ulong get_mode (); + public unowned GLib.Object get_object (); + public unowned Clutter.Timeline get_timeline (); public bool has_property (string property_name); + public void set_alpha (Clutter.Alpha alpha); + public void set_duration (uint msecs); + public void set_loop (bool loop); + public void set_mode (ulong mode); + public void set_object (GLib.Object object); + public void set_timeline (Clutter.Timeline timeline); public void unbind_property (string property_name); public unowned Clutter.Animation update (string property_name, GLib.Value final); public void update_interval (string property_name, Clutter.Interval interval); @@ -320,19 +430,19 @@ namespace Clutter { public virtual signal void completed (); public virtual signal void started (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_animator_get_type ()", cheader_filename = "clutter/clutter.h")] public class Animator : GLib.Object, Clutter.Scriptable { [CCode (has_construct_function = false)] public Animator (); public bool compute_value (GLib.Object object, string property_name, double progress, GLib.Value value); public uint get_duration (); - public GLib.List get_keys (GLib.Object object, string property_name, double progress); + public GLib.List get_keys (GLib.Object? object, string? property_name, double progress); public unowned Clutter.Timeline get_timeline (); public bool property_get_ease_in (GLib.Object object, string property_name); public Clutter.Interpolation property_get_interpolation (GLib.Object object, string property_name); public void property_set_ease_in (GLib.Object object, string property_name, bool ease_in); public void property_set_interpolation (GLib.Object object, string property_name, Clutter.Interpolation interpolation); - public void remove_key (GLib.Object object, string property_name, double progress); + public void remove_key (GLib.Object? object, string? property_name, double progress); public void @set (void* first_object, string first_property_name, uint first_mode, ...); public void set_duration (uint duration); public unowned Clutter.Animator set_key (GLib.Object object, string property_name, uint mode, double progress, GLib.Value value); @@ -342,7 +452,7 @@ namespace Clutter { public Clutter.Timeline timeline { get; set; } } [Compact] - [CCode (type_id = "CLUTTER_TYPE_ANIMATOR_KEY", cheader_filename = "clutter/clutter.h")] + [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_animator_key_get_type ()", cheader_filename = "clutter/clutter.h")] public class AnimatorKey { public ulong get_mode (); public unowned GLib.Object get_object (); @@ -365,10 +475,13 @@ namespace Clutter { public virtual void ensure_context (Clutter.Stage stage); [NoWrapper] public virtual unowned Clutter.DeviceManager get_device_manager (); + [Deprecated (since = "1.4")] public uint get_double_click_distance (); + [Deprecated (since = "1.4")] public uint get_double_click_time (); [NoWrapper] public virtual Clutter.FeatureFlags get_features (); + [Deprecated (since = "1.4")] public unowned string get_font_name (); public unowned Cairo.FontOptions get_font_options (); public double get_resolution (); @@ -382,15 +495,19 @@ namespace Clutter { public virtual bool pre_parse () throws GLib.Error; [NoWrapper] public virtual void redraw (Clutter.Stage stage); + [Deprecated (since = "1.4")] public void set_double_click_distance (uint distance); + [Deprecated (since = "1.4")] public void set_double_click_time (uint msec); + [Deprecated (since = "1.4")] public void set_font_name (string font_name); public void set_font_options (Cairo.FontOptions options); public void set_resolution (double dpi); - public virtual signal void font_changed (); - public virtual signal void resolution_changed (); + public signal void font_changed (); + public signal void resolution_changed (); + public signal void settings_changed (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_behaviour_get_type ()", cheader_filename = "clutter/clutter.h")] public class Behaviour : GLib.Object, Clutter.Scriptable { [CCode (has_construct_function = false)] protected Behaviour (); @@ -398,20 +515,23 @@ namespace Clutter { [NoWrapper] public virtual void alpha_notify (double alpha_value); public void apply (Clutter.Actor actor); - public unowned GLib.SList get_actors (); + public GLib.SList get_actors (); + public unowned Clutter.Alpha get_alpha (); public int get_n_actors (); public unowned Clutter.Actor get_nth_actor (int index_); public bool is_applied (Clutter.Actor actor); public void remove (Clutter.Actor actor); public void remove_all (); + public void set_alpha (Clutter.Alpha alpha); public Clutter.Alpha alpha { get; set; } public virtual signal void applied (Clutter.Actor actor); public virtual signal void removed (Clutter.Actor actor); } - [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "1.6")] + [CCode (type_id = "clutter_behaviour_depth_get_type ()", cheader_filename = "clutter/clutter.h")] public class BehaviourDepth : Clutter.Behaviour, Clutter.Scriptable { [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourDepth (Clutter.Alpha alpha, int depth_start, int depth_end); + public BehaviourDepth (Clutter.Alpha? alpha, int depth_start, int depth_end); public void get_bounds (out int depth_start, out int depth_end); public void set_bounds (int depth_start, int depth_end); [NoAccessorMethod] @@ -419,16 +539,26 @@ namespace Clutter { [NoAccessorMethod] public int depth_start { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_behaviour_ellipse_get_type ()", cheader_filename = "clutter/clutter.h")] public class BehaviourEllipse : Clutter.Behaviour, Clutter.Scriptable { [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourEllipse (Clutter.Alpha alpha, int x, int y, int width, int height, Clutter.RotateDirection direction, double start, double end); + public BehaviourEllipse (Clutter.Alpha? alpha, int x, int y, int width, int height, Clutter.RotateDirection direction, double start, double end); + public double get_angle_end (); + public double get_angle_start (); public double get_angle_tilt (Clutter.RotateAxis axis); public void get_center (out int x, out int y); + public Clutter.RotateDirection get_direction (); + public int get_height (); public void get_tilt (out double angle_tilt_x, out double angle_tilt_y, out double angle_tilt_z); + public int get_width (); + public void set_angle_end (double angle_end); + public void set_angle_start (double angle_start); public void set_angle_tilt (Clutter.RotateAxis axis, double angle_tilt); public void set_center (int x, int y); + public void set_direction (Clutter.RotateDirection direction); + public void set_height (int height); public void set_tilt (double angle_tilt_x, double angle_tilt_y, double angle_tilt_z); + public void set_width (int width); public double angle_end { get; set; } public double angle_start { get; set; } [NoAccessorMethod] @@ -443,36 +573,45 @@ namespace Clutter { public int height { get; set; } public int width { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "1.6")] + [CCode (type_id = "clutter_behaviour_opacity_get_type ()", cheader_filename = "clutter/clutter.h")] public class BehaviourOpacity : Clutter.Behaviour, Clutter.Scriptable { [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourOpacity (Clutter.Alpha alpha, uchar opacity_start, uchar opacity_end); - public void get_bounds (out uchar opacity_start, out uchar opacity_end); - public void set_bounds (uchar opacity_start, uchar opacity_end); + public BehaviourOpacity (Clutter.Alpha? alpha, uint8 opacity_start, uint8 opacity_end); + public void get_bounds (out uint8 opacity_start, out uint8 opacity_end); + public void set_bounds (uint8 opacity_start, uint8 opacity_end); [NoAccessorMethod] public uint opacity_end { get; set; } [NoAccessorMethod] public uint opacity_start { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "1.6")] + [CCode (type_id = "clutter_behaviour_path_get_type ()", cheader_filename = "clutter/clutter.h")] public class BehaviourPath : Clutter.Behaviour, Clutter.Scriptable { [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourPath (Clutter.Alpha alpha, Clutter.Path path); + public BehaviourPath (Clutter.Alpha? alpha, Clutter.Path path); + public unowned Clutter.Path get_path (); + public void set_path (Clutter.Path path); [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourPath.with_description (Clutter.Alpha alpha, string desc); + public BehaviourPath.with_description (Clutter.Alpha? alpha, string desc); [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourPath.with_knots (Clutter.Alpha alpha, Clutter.Knot[] knots); + public BehaviourPath.with_knots (Clutter.Alpha? alpha, [CCode (type = "ClutterKnot*", array_length_type = "guint", array_length_cname = "n_knots", array_length_pos = 2.1)] Clutter.Knot[] knots); public Clutter.Path path { get; set; } public virtual signal void knot_reached (uint knot_num); } - [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "1.6")] + [CCode (type_id = "clutter_behaviour_rotate_get_type ()", cheader_filename = "clutter/clutter.h")] public class BehaviourRotate : Clutter.Behaviour, Clutter.Scriptable { [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourRotate (Clutter.Alpha alpha, Clutter.RotateAxis axis, Clutter.RotateDirection direction, double angle_start, double angle_end); + public BehaviourRotate (Clutter.Alpha? alpha, Clutter.RotateAxis axis, Clutter.RotateDirection direction, double angle_start, double angle_end); + public Clutter.RotateAxis get_axis (); public void get_bounds (out double angle_start, out double angle_end); public void get_center (out int x, out int y, out int z); + public Clutter.RotateDirection get_direction (); + public void set_axis (Clutter.RotateAxis axis); public void set_bounds (double angle_start, double angle_end); public void set_center (int x, int y, int z); + public void set_direction (Clutter.RotateDirection direction); [NoAccessorMethod] public double angle_end { get; set; } [NoAccessorMethod] @@ -486,10 +625,11 @@ namespace Clutter { public int center_z { get; set; } public Clutter.RotateDirection direction { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "1.6")] + [CCode (type_id = "clutter_behaviour_scale_get_type ()", cheader_filename = "clutter/clutter.h")] public class BehaviourScale : Clutter.Behaviour, Clutter.Scriptable { [CCode (type = "ClutterBehaviour*", has_construct_function = false)] - public BehaviourScale (Clutter.Alpha alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end); + public BehaviourScale (Clutter.Alpha? alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end); public void get_bounds (out double x_scale_start, out double y_scale_start, out double x_scale_end, out double y_scale_end); public void set_bounds (double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end); [NoAccessorMethod] @@ -501,19 +641,33 @@ namespace Clutter { [NoAccessorMethod] public double y_scale_start { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_bin_layout_get_type ()", cheader_filename = "clutter/clutter.h")] public class BinLayout : Clutter.LayoutManager { [CCode (type = "ClutterLayoutManager*", has_construct_function = false)] public BinLayout (Clutter.BinAlignment x_align, Clutter.BinAlignment y_align); public void add (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align); - public void get_alignment (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align); - public void set_alignment (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align); + public void get_alignment (Clutter.Actor? child, out Clutter.BinAlignment x_align, out Clutter.BinAlignment y_align); + public void set_alignment (Clutter.Actor? child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align); [NoAccessorMethod] public Clutter.BinAlignment x_align { get; set; } [NoAccessorMethod] public Clutter.BinAlignment y_align { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_bind_constraint_get_type ()", cheader_filename = "clutter/clutter.h")] + public class BindConstraint : Clutter.Constraint { + [CCode (type = "ClutterConstraint*", has_construct_function = false)] + public BindConstraint (Clutter.Actor? source, Clutter.BindCoordinate coordinate, float offset); + public Clutter.BindCoordinate get_coordinate (); + public float get_offset (); + public unowned Clutter.Actor get_source (); + public void set_coordinate (Clutter.BindCoordinate coordinate); + public void set_offset (float offset); + public void set_source (Clutter.Actor? source); + public Clutter.BindCoordinate coordinate { get; set construct; } + public float offset { get; set construct; } + public Clutter.Actor source { get; set construct; } + } + [CCode (type_id = "clutter_binding_pool_get_type ()", cheader_filename = "clutter/clutter.h")] public class BindingPool : GLib.Object { [CCode (has_construct_function = false)] public BindingPool (string name); @@ -522,42 +676,48 @@ namespace Clutter { public static unowned Clutter.BindingPool find (string name); public unowned string find_action (uint key_val, Clutter.ModifierType modifiers); public static unowned Clutter.BindingPool get_for_class (void* klass); - public void install_action (string action_name, uint key_val, Clutter.ModifierType modifiers, [CCode (type = "GCallback")] owned Clutter.BindingActionFunc callback); + public void install_action (string action_name, uint key_val, Clutter.ModifierType modifiers, [CCode (type = "GCallback", delegate_target_pos = 4.1)] owned Clutter.BindingActionFunc callback); public void install_closure (string action_name, uint key_val, Clutter.ModifierType modifiers, [CCode (type = "GClosure*")] owned Clutter.BindingActionFunc closure); - public void override_action (uint key_val, Clutter.ModifierType modifiers, owned GLib.Callback callback); + public void override_action (uint key_val, Clutter.ModifierType modifiers, [CCode (delegate_target_pos = 3.1)] owned GLib.Callback callback); public void override_closure (uint key_val, Clutter.ModifierType modifiers, GLib.Closure closure); public void remove_action (uint key_val, Clutter.ModifierType modifiers); public void unblock_action (string action_name); [NoAccessorMethod] public string name { owned get; construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Box : Clutter.Actor, Clutter.Scriptable, Clutter.Container { + [CCode (type_id = "clutter_blur_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class BlurEffect : Clutter.OffscreenEffect { + [CCode (type = "ClutterEffect*", has_construct_function = false)] + public BlurEffect (); + } + [CCode (type_id = "clutter_box_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Box : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Box (Clutter.LayoutManager manager); - public void get_color (Clutter.Color color); + public Clutter.Color get_color (); public unowned Clutter.LayoutManager get_layout_manager (); public void pack (Clutter.Actor actor, ...); - public void pack_after (Clutter.Actor actor, Clutter.Actor sibling, ...); + public void pack_after (Clutter.Actor actor, Clutter.Actor? sibling, ...); public void pack_at (Clutter.Actor actor, int position, ...); - public void pack_before (Clutter.Actor actor, Clutter.Actor sibling, ...); - public void packv (Clutter.Actor actor, uint n_properties, string[] properties, GLib.Value values); - public void set_color (Clutter.Color color); + public void pack_before (Clutter.Actor actor, Clutter.Actor? sibling, ...); + public void packv (Clutter.Actor actor, [CCode (array_length_type = "guint", array_length_cname = "n_properties", array_length_pos = 1.5)] string[] properties, [CCode (array_length_type = "guint", array_length_cname = "n_properties", array_length_pos = 1.5)] GLib.Value[] values); + public void set_color (Clutter.Color? color); public void set_layout_manager (Clutter.LayoutManager manager); public Clutter.Color color { get; set; } [NoAccessorMethod] public bool color_set { get; set; } public Clutter.LayoutManager layout_manager { get; set construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_box_layout_get_type ()", cheader_filename = "clutter/clutter.h")] public class BoxLayout : Clutter.LayoutManager { [CCode (type = "ClutterLayoutManager*", has_construct_function = false)] public BoxLayout (); - public void get_alignment (Clutter.Actor actor, Clutter.BoxAlignment x_align, Clutter.BoxAlignment y_align); + public void get_alignment (Clutter.Actor actor, out Clutter.BoxAlignment x_align, out Clutter.BoxAlignment y_align); public uint get_easing_duration (); public ulong get_easing_mode (); public bool get_expand (Clutter.Actor actor); - public void get_fill (Clutter.Actor actor, bool x_fill, bool y_fill); + public void get_fill (Clutter.Actor actor, out bool x_fill, out bool y_fill); + public bool get_homogeneous (); public bool get_pack_start (); public uint get_spacing (); public bool get_use_animations (); @@ -568,19 +728,21 @@ namespace Clutter { public void set_easing_mode (ulong mode); public void set_expand (Clutter.Actor actor, bool expand); public void set_fill (Clutter.Actor actor, bool x_fill, bool y_fill); + public void set_homogeneous (bool homogeneous); public void set_pack_start (bool pack_start); public void set_spacing (uint spacing); public void set_use_animations (bool animate); public void set_vertical (bool vertical); public uint easing_duration { get; set; } public ulong easing_mode { get; set; } + public bool homogeneous { get; set; } public bool pack_start { get; set; } public uint spacing { get; set; } public bool use_animations { get; set; } public bool vertical { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] - public class CairoTexture : Clutter.Texture, Clutter.Scriptable { + [CCode (type_id = "clutter_cairo_texture_get_type ()", cheader_filename = "clutter/clutter.h")] + public class CairoTexture : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public CairoTexture (uint width, uint height); public void clear (); @@ -592,21 +754,78 @@ namespace Clutter { public uint surface_height { get; set; } [NoAccessorMethod] public uint surface_width { get; set; } + public virtual signal Cairo.Surface create_surface (uint width, uint height); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_child_meta_get_type ()", cheader_filename = "clutter/clutter.h")] public class ChildMeta : GLib.Object { [CCode (has_construct_function = false)] protected ChildMeta (); + public unowned Clutter.Actor get_actor (); + public unowned Clutter.Container get_container (); public Clutter.Actor actor { get; construct; } public Clutter.Container container { get; construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Clone : Clutter.Actor, Clutter.Scriptable { + [CCode (type_id = "clutter_click_action_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ClickAction : Clutter.Action { + [CCode (type = "ClutterAction*", has_construct_function = false)] + public ClickAction (); + public uint get_button (); + public Clutter.ModifierType get_state (); + public void release (); + [NoAccessorMethod] + public bool held { get; } + [NoAccessorMethod] + public bool pressed { get; } + public virtual signal void clicked (Clutter.Actor actor); + } + [CCode (type_id = "clutter_clone_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Clone : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Clone (Clutter.Actor source); + public unowned Clutter.Actor get_source (); + public void set_source (Clutter.Actor source); public Clutter.Actor source { get; set construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_colorize_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ColorizeEffect : Clutter.OffscreenEffect { + [CCode (type = "ClutterEffect*", has_construct_function = false)] + public ColorizeEffect (Clutter.Color tint); + public Clutter.Color get_tint (); + public void set_tint (Clutter.Color tint); + public Clutter.Color tint { get; set; } + } + [CCode (type_id = "clutter_constraint_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Constraint : Clutter.ActorMeta { + [CCode (has_construct_function = false)] + protected Constraint (); + [NoWrapper] + public virtual void update_allocation (Clutter.Actor actor, Clutter.ActorBox allocation); + } + [CCode (type_id = "clutter_deform_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class DeformEffect : Clutter.OffscreenEffect { + [CCode (has_construct_function = false)] + protected DeformEffect (); + [NoWrapper] + public virtual void deform_vertex (float width, float height, Cogl.TextureVertex vertex); + public unowned Cogl.Handle get_back_material (); + public void get_n_tiles (out uint x_tiles, out uint y_tiles); + public void invalidate (); + public void set_back_material (Cogl.Handle? material); + public void set_n_tiles (uint x_tiles, uint y_tiles); + [NoAccessorMethod] + public uint x_tiles { get; set; } + [NoAccessorMethod] + public uint y_tiles { get; set; } + } + [CCode (type_id = "clutter_desaturate_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class DesaturateEffect : Clutter.OffscreenEffect { + [CCode (type = "ClutterEffect*", has_construct_function = false)] + public DesaturateEffect (double factor); + public double get_factor (); + public void set_factor (double factor); + public double factor { get; set; } + } + [CCode (type_id = "clutter_device_manager_get_type ()", cheader_filename = "clutter/clutter.h")] public class DeviceManager : GLib.Object { [CCode (has_construct_function = false)] protected DeviceManager (); @@ -623,11 +842,44 @@ namespace Clutter { public virtual void remove_device (Clutter.InputDevice device); [NoAccessorMethod] public Clutter.Backend backend { owned get; construct; } - public virtual signal void device_added (Clutter.InputDevice p0); - public virtual signal void device_removed (Clutter.InputDevice p0); + public signal void device_added (Clutter.InputDevice device); + public signal void device_removed (Clutter.InputDevice device); + } + [CCode (type_id = "clutter_drag_action_get_type ()", cheader_filename = "clutter/clutter.h")] + public class DragAction : Clutter.Action { + [CCode (type = "ClutterAction*", has_construct_function = false)] + public DragAction (); + public Clutter.DragAxis get_drag_axis (); + public unowned Clutter.Actor get_drag_handle (); + public void get_drag_threshold (out uint x_threshold, out uint y_threshold); + public void get_motion_coords (out float motion_x, out float motion_y); + public void get_press_coords (out float press_x, out float press_y); + public void set_drag_axis (Clutter.DragAxis axis); + public void set_drag_handle (Clutter.Actor handle); + public void set_drag_threshold (uint x_threshold, uint y_threshold); + public Clutter.DragAxis drag_axis { get; set; } + public Clutter.Actor drag_handle { get; set; } + [NoAccessorMethod] + public uint x_drag_threshold { get; set; } + [NoAccessorMethod] + public uint y_drag_threshold { get; set; } + public virtual signal void drag_begin (Clutter.Actor actor, float event_x, float event_y, Clutter.ModifierType modifiers); + public virtual signal void drag_end (Clutter.Actor actor, float event_x, float event_y, Clutter.ModifierType modifiers); + public virtual signal void drag_motion (Clutter.Actor actor, float delta_x, float delta_y); + } + [CCode (type_id = "clutter_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Effect : Clutter.ActorMeta { + [CCode (has_construct_function = false)] + protected Effect (); + [NoWrapper] + public virtual bool get_paint_volume (Clutter.PaintVolume volume); + [NoWrapper] + public virtual void post_paint (); + [NoWrapper] + public virtual bool pre_paint (); } [Compact] - [CCode (copy_function = "clutter_event_copy", type_id = "CLUTTER_TYPE_EVENT", cheader_filename = "clutter/clutter.h")] + [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_event_get_type ()", cheader_filename = "clutter/clutter.h")] public class Event { public Clutter.AnyEvent any; public Clutter.ButtonEvent button; @@ -639,8 +891,10 @@ namespace Clutter { public Clutter.EventType type; [CCode (has_construct_function = false)] public Event (Clutter.EventType type); - public unowned Clutter.Event copy (); - public static unowned Clutter.Event @get (); + public Clutter.Event copy (); + public void free (); + public static Clutter.Event @get (); + public double get_axes (out uint n_axes); public uint32 get_button (); public uint get_click_count (); public void get_coords (out float x, out float y); @@ -654,6 +908,7 @@ namespace Clutter { public unowned Clutter.Actor get_related (); public Clutter.ScrollDirection get_scroll_direction (); public unowned Clutter.Actor get_source (); + public unowned Clutter.InputDevice get_source_device (); public unowned Clutter.Stage get_stage (); public Clutter.ModifierType get_state (); public uint32 get_time (); @@ -661,21 +916,22 @@ namespace Clutter { public Clutter.EventType get_type (); public static unowned Clutter.Event peek (); public void put (); + public void set_device (Clutter.InputDevice device); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_fixed_layout_get_type ()", cheader_filename = "clutter/clutter.h")] public class FixedLayout : Clutter.LayoutManager { [CCode (type = "ClutterLayoutManager*", has_construct_function = false)] public FixedLayout (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_flow_layout_get_type ()", cheader_filename = "clutter/clutter.h")] public class FlowLayout : Clutter.LayoutManager { [CCode (type = "ClutterLayoutManager*", has_construct_function = false)] public FlowLayout (Clutter.FlowOrientation orientation); public float get_column_spacing (); - public void get_column_width (float min_width, float max_width); + public void get_column_width (out float min_width, out float max_width); public bool get_homogeneous (); public Clutter.FlowOrientation get_orientation (); - public void get_row_height (float min_height, float max_height); + public void get_row_height (out float min_height, out float max_height); public float get_row_spacing (); public void set_column_spacing (float spacing); public void set_column_width (float min_width, float max_width); @@ -696,56 +952,77 @@ namespace Clutter { public Clutter.FlowOrientation orientation { get; set construct; } public float row_spacing { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Group : Clutter.Actor, Clutter.Scriptable, Clutter.Container { + [CCode (type_id = "clutter_group_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Group : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Group (); public int get_n_children (); public unowned Clutter.Actor get_nth_child (int index_); public void remove_all (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_input_device_get_type ()", cheader_filename = "clutter/clutter.h")] public class InputDevice : GLib.Object { [CCode (has_construct_function = false)] protected InputDevice (); - public void get_device_coords (int x, int y); + public unowned Clutter.InputDevice get_associated_device (); + public Clutter.InputAxis get_axis (uint index_); + public bool get_axis_value ([CCode (array_length = false, array_null_terminated = true)] double[] axes, Clutter.InputAxis axis, out double value); + public void get_device_coords (out int x, out int y); public int get_device_id (); + public Clutter.InputMode get_device_mode (); public unowned string get_device_name (); public Clutter.InputDeviceType get_device_type (); + public bool get_enabled (); [CCode (cname = "clutter_get_input_device_for_id")] - public static unowned Clutter.InputDevice get_for_id (int id); + public static unowned Clutter.InputDevice get_for_id (int id_); + public bool get_has_cursor (); + public bool get_key (uint index_, out uint keyval, out Clutter.ModifierType modifiers); + public uint get_n_axes (); + public uint get_n_keys (); public unowned Clutter.Actor get_pointer_actor (); public unowned Clutter.Stage get_pointer_stage (); + public GLib.List get_slave_devices (); + public void set_enabled (bool enabled); + public void set_key (uint index_, uint keyval, Clutter.ModifierType modifiers); public void update_from_event (Clutter.Event event, bool update_stage); + [NoAccessorMethod] + public Clutter.Backend backend { owned get; construct; } + [NoAccessorMethod] + public Clutter.DeviceManager device_manager { owned get; construct; } + public Clutter.InputMode device_mode { get; construct; } public Clutter.InputDeviceType device_type { get; construct; } + public bool enabled { get; set; } + public bool has_cursor { get; construct; } [NoAccessorMethod] public int id { get; construct; } + public uint n_axes { get; } [NoAccessorMethod] public string name { owned get; construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_interval_get_type ()", cheader_filename = "clutter/clutter.h")] public class Interval : GLib.InitiallyUnowned { [CCode (has_construct_function = false)] - public Interval (GLib.Type gtype); - public unowned Clutter.Interval clone (); + public Interval (GLib.Type gtype, ...); + public Clutter.Interval clone (); + public GLib.Value compute (double factor); public virtual bool compute_value (double factor, out GLib.Value value); - public void get_final_value (out GLib.Value value); - public void get_initial_value (out GLib.Value value); + public GLib.Value get_final_value (); + public GLib.Value get_initial_value (); public void get_interval (...); + public GLib.Type get_value_type (); public GLib.Value peek_final_value (); public GLib.Value peek_initial_value (); public static void register_progress_func (GLib.Type value_type, Clutter.ProgressFunc func); public void set_final_value (GLib.Value value); public void set_initial_value (GLib.Value value); - public void set_interval (); - public virtual bool validate (Clutter.ParamSpecColor pspec); + public void set_interval (...); + public virtual bool validate (GLib.ParamSpec pspec); [CCode (has_construct_function = false)] public Interval.with_values (GLib.Type gtype, GLib.Value initial, GLib.Value final); public GLib.Type value_type { get; construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_layout_manager_get_type ()", cheader_filename = "clutter/clutter.h")] public class LayoutManager : GLib.InitiallyUnowned { - public void* dummy; [CCode (has_construct_function = false)] protected LayoutManager (); public virtual void allocate (Clutter.Container container, Clutter.ActorBox allocation, Clutter.AllocationFlags flags); @@ -757,68 +1034,67 @@ namespace Clutter { [NoWrapper] public virtual unowned Clutter.LayoutMeta create_child_meta (Clutter.Container container, Clutter.Actor actor); public virtual void end_animation (); - public unowned Clutter.ParamSpecColor find_child_property (string name); + public unowned GLib.ParamSpec find_child_property (string name); public virtual double get_animation_progress (); public unowned Clutter.LayoutMeta get_child_meta (Clutter.Container container, Clutter.Actor actor); [NoWrapper] public virtual GLib.Type get_child_meta_type (); public virtual void get_preferred_height (Clutter.Container container, float for_width, out float min_height_p, out float nat_height_p); public virtual void get_preferred_width (Clutter.Container container, float for_height, out float min_width_p, out float nat_width_p); - public unowned Clutter.ParamSpecColor list_child_properties (uint n_pspecs); - public virtual void set_container (Clutter.Container container); + [CCode (array_length_pos = 0.1, array_length_type = "guint")] + public GLib.ParamSpec[] list_child_properties (); + public virtual void set_container (Clutter.Container? container); [HasEmitter] public virtual signal void layout_changed (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_layout_meta_get_type ()", cheader_filename = "clutter/clutter.h")] public class LayoutMeta : Clutter.ChildMeta { - public int32 dummy0; - public void* dummy1; [CCode (has_construct_function = false)] protected LayoutMeta (); public unowned Clutter.LayoutManager get_manager (); public Clutter.LayoutManager manager { get; construct; } } - [CCode (cheader_filename = "clutter/clutter.h")] - public class ListModel : Clutter.Model, Clutter.Scriptable { + [CCode (type_id = "clutter_list_model_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ListModel : Clutter.Model, Clutter.Scriptable, Clutter.Scriptable { [CCode (type = "ClutterModel*", has_construct_function = false)] - public ListModel (uint n_columns); + public ListModel (uint n_columns, ...); [CCode (cname = "clutter_list_model_newv", type = "ClutterModel*", has_construct_function = false)] public ListModel.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types, [CCode (array_length_pos = 0.9)] string[] names); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_model_get_type ()", cheader_filename = "clutter/clutter.h")] public class Model : GLib.Object, Clutter.Scriptable { [CCode (has_construct_function = false)] protected Model (); public void append (...); - public void appendv ([CCode (array_length_pos = 0.9)] uint[] columns, [CCode (array_length_pos = 0.9)] GLib.Value[] values); + public void appendv ([CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 0.5)] uint[] columns, [CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Value[] values); public bool filter_iter (Clutter.ModelIter iter); public bool filter_row (uint row); public void @foreach (Clutter.ModelForeachFunc func); public virtual unowned string get_column_name (uint column); public virtual GLib.Type get_column_type (uint column); public bool get_filter_set (); - public unowned Clutter.ModelIter get_first_iter (); - public virtual unowned Clutter.ModelIter get_iter_at_row (uint row); - public unowned Clutter.ModelIter get_last_iter (); + public Clutter.ModelIter get_first_iter (); + public virtual Clutter.ModelIter get_iter_at_row (uint row); + public Clutter.ModelIter get_last_iter (); public virtual uint get_n_columns (); public virtual uint get_n_rows (); public int get_sorting_column (); - public void insert (uint row); + public void insert (uint row, ...); [NoWrapper] public virtual unowned Clutter.ModelIter insert_row (int index_); public void insert_value (uint row, uint column, GLib.Value value); - public void insertv (uint row, [CCode (array_length_pos = 1.9)] uint[] columns, [CCode (array_length_pos = 1.9)] GLib.Value[] values); - public void prepend (); - public void prependv (uint n_columns, uint columns, GLib.Value values); + public void insertv (uint row, [CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 1.5)] uint[] columns, [CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 1.5)] GLib.Value[] values); + public void prepend (...); + public void prependv ([CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 0.5)] uint[] columns, [CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Value[] values); public void remove (uint row); [NoWrapper] public virtual void remove_row (uint row); - public virtual void resort (); - public void set_filter (owned Clutter.ModelFilterFunc func); - public void set_names ([CCode (array_length_pos = 0.9)] string[] names); - public void set_sort (uint column, owned Clutter.ModelSortFunc func); + public void resort (); + public void set_filter (owned Clutter.ModelFilterFunc? func); + public void set_names ([CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 0.5)] string[] names); + public void set_sort (int column, [CCode (delegate_target_pos = 2.1)] owned Clutter.ModelSortFunc? func); public void set_sorting_column (int column); - public void set_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types); + public void set_types ([CCode (array_length_type = "guint", array_length_cname = "n_columns", array_length_pos = 0.5)] GLib.Type[] types); public bool filter_set { get; } public virtual signal void filter_changed (); public virtual signal void row_added (Clutter.ModelIter iter); @@ -826,15 +1102,15 @@ namespace Clutter { public virtual signal void row_removed (Clutter.ModelIter iter); public virtual signal void sort_changed (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_model_iter_get_type ()", cheader_filename = "clutter/clutter.h")] public class ModelIter : GLib.Object { [CCode (has_construct_function = false)] protected ModelIter (); - public virtual unowned Clutter.ModelIter copy (); + public virtual Clutter.ModelIter copy (); public void @get (...); public virtual unowned Clutter.Model get_model (); public virtual uint get_row (); - public virtual void get_value (uint column, out GLib.Value value); + public virtual GLib.Value get_value (uint column); public virtual bool is_first (); public virtual bool is_last (); public virtual unowned Clutter.ModelIter next (); @@ -846,33 +1122,50 @@ namespace Clutter { [NoAccessorMethod] public uint row { get; set; } } - [CCode (cname = "GParamSpec", cheader_filename = "clutter/clutter.h")] - public class ParamSpecColor : GLib.ParamSpec { - public Clutter.Color default_value; - public weak Clutter.ParamSpecColor parent_instance; - [CCode (cname = "clutter_param_spec_color")] - public ParamSpecColor (string name, string nick, string blurb, Clutter.Color default_value, GLib.ParamFlags flags); - } - [CCode (cname = "GParamSpec", cheader_filename = "clutter/clutter.h")] - public class ParamSpecFixed : GLib.ParamSpec { - public Cogl.Fixed default_value; - public Cogl.Fixed maximum; - public Cogl.Fixed minimum; - public weak Clutter.ParamSpecColor parent_instance; - [CCode (cname = "clutter_param_spec_fixed")] - public ParamSpecFixed (string name, string nick, string blurb, Cogl.Fixed minimum, Cogl.Fixed maximum, Cogl.Fixed default_value, GLib.ParamFlags flags); - } - [CCode (cname = "GParamSpec", cheader_filename = "clutter/clutter.h")] - public class ParamSpecUnits : GLib.ParamSpec { - public Clutter.UnitType default_type; - public float default_value; - public float maximum; - public float minimum; - public weak Clutter.ParamSpecColor parent_instance; - [CCode (cname = "clutter_param_spec_units")] - public ParamSpecUnits (string name, string nick, string blurb, Clutter.Units minimum, Clutter.Units maximum, Clutter.Units default_value, GLib.ParamFlags flags); + [CCode (type_id = "clutter_offscreen_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class OffscreenEffect : Clutter.Effect { + [CCode (has_construct_function = false)] + protected OffscreenEffect (); + public virtual Cogl.Handle create_texture (float width, float height); + public unowned Cogl.Material get_target (); + public virtual void paint_target (); + } + [CCode (type_id = "clutter_page_turn_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class PageTurnEffect : Clutter.DeformEffect { + [CCode (type = "ClutterEffect*", has_construct_function = false)] + public PageTurnEffect (double period, double angle, float radius); + public double get_angle (); + public double get_period (); + public float get_radius (); + public void set_angle (double angle); + public void set_period (double period); + public void set_radius (float radius); + public double angle { get; set; } + public double period { get; set; } + public float radius { get; set; } + } + [Compact] + [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_paint_volume_get_type ()", cheader_filename = "clutter/clutter.h")] + public class PaintVolume { + public Clutter.PaintVolume copy (); + public void free (); + public float get_depth (); + public float get_height (); + public Clutter.Vertex get_origin (); + public float get_width (); + public void set_depth (float depth); + public bool set_from_allocation (Clutter.Actor actor); + public void set_height (float height); + public void set_origin (Clutter.Vertex origin); + public void set_width (float width); + public void union (Clutter.PaintVolume another_pv); + } + [CCode (ref_function = "clutter_param_spec_unit_ref", unref_function = "clutter_param_spec_unit_unref", type_id = "clutter_param_units_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ParamSpecUnit { + [CCode (has_construct_function = false)] + protected ParamSpecUnit (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_path_get_type ()", cheader_filename = "clutter/clutter.h")] public class Path : GLib.InitiallyUnowned { [CCode (has_construct_function = false)] public Path (); @@ -888,6 +1181,8 @@ namespace Clutter { public bool add_string (string str); public void clear (); public void @foreach (Clutter.PathCallback callback); + public string get_description (); + public uint get_length (); public uint get_n_nodes (); public void get_node (uint index_, Clutter.PathNode node); public GLib.SList get_nodes (); @@ -899,13 +1194,32 @@ namespace Clutter { public void to_cairo_path (Cairo.Context cr); [CCode (has_construct_function = false)] public Path.with_description (string desc); - public string description { get; set; } + [NoAccessorMethod] + public string description { owned get; set; } public uint length { get; } } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Rectangle : Clutter.Actor, Clutter.Scriptable { + [CCode (type_id = "clutter_path_constraint_get_type ()", cheader_filename = "clutter/clutter.h")] + public class PathConstraint : Clutter.Constraint { + [CCode (type = "ClutterConstraint*", has_construct_function = false)] + public PathConstraint (Clutter.Path? path, float offset); + public float get_offset (); + public unowned Clutter.Path get_path (); + public void set_offset (float offset); + public void set_path (Clutter.Path? path); + public float offset { get; set; } + public Clutter.Path path { get; set; } + public signal void node_reached (Clutter.Actor actor, uint index); + } + [CCode (type_id = "clutter_rectangle_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Rectangle : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Rectangle (); + public Clutter.Color get_border_color (); + public uint get_border_width (); + public Clutter.Color get_color (); + public void set_border_color (Clutter.Color color); + public void set_border_width (uint width); + public void set_color (Clutter.Color color); [CCode (type = "ClutterActor*", has_construct_function = false)] public Rectangle.with_color (Clutter.Color color); public Clutter.Color border_color { get; set; } @@ -914,18 +1228,18 @@ namespace Clutter { [NoAccessorMethod] public bool has_border { get; set; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_score_get_type ()", cheader_filename = "clutter/clutter.h")] public class Score : GLib.Object { [CCode (has_construct_function = false)] public Score (); public ulong append (Clutter.Timeline? parent, Clutter.Timeline timeline); public ulong append_at_marker (Clutter.Timeline parent, string marker_name, Clutter.Timeline timeline); public bool get_loop (); - public unowned Clutter.Timeline get_timeline (ulong id); + public unowned Clutter.Timeline get_timeline (ulong id_); public bool is_playing (); public GLib.SList list_timelines (); public void pause (); - public void remove (ulong id); + public void remove (ulong id_); public void remove_all (); public void rewind (); public void set_loop (bool loop); @@ -938,37 +1252,58 @@ namespace Clutter { public virtual signal void timeline_completed (Clutter.Timeline timeline); public virtual signal void timeline_started (Clutter.Timeline timeline); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_script_get_type ()", cheader_filename = "clutter/clutter.h")] public class Script : GLib.Object { [CCode (has_construct_function = false)] public Script (); - public void add_search_paths (string[] paths); + public void add_search_paths ([CCode (type = "gchar*", array_length_type = "gsize", array_length_cname = "n_paths")] string[] paths); public void connect_signals (void* user_data); public void connect_signals_full (Clutter.ScriptConnectFunc func); public void ensure_objects (); - public static GLib.Quark error_quark (); public unowned GLib.Object get_object (string name); public int get_objects (...); public virtual GLib.Type get_type_from_name (string type_name); public GLib.List list_objects (); public uint load_from_data (string data, ssize_t length) throws GLib.Error; public uint load_from_file (string filename) throws GLib.Error; - public unowned string lookup_filename (string filename); + public string lookup_filename (string filename); public void unmerge_objects (uint merge_id); [NoAccessorMethod] public string filename { owned get; } [NoAccessorMethod] public bool filename_set { get; } } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_settings_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Settings : GLib.Object { + [CCode (has_construct_function = false)] + protected Settings (); + public static unowned Clutter.Settings get_default (); + public Clutter.Backend backend { construct; } + [NoAccessorMethod] + public int double_click_distance { get; set; } + [NoAccessorMethod] + public int double_click_time { get; set; } + [NoAccessorMethod] + public int font_antialias { get; set; } + [NoAccessorMethod] + public int font_dpi { get; set; } + [NoAccessorMethod] + public string font_hint_style { owned get; set; } + [NoAccessorMethod] + public int font_hinting { get; set; } + [NoAccessorMethod] + public string font_name { owned get; set; } + [NoAccessorMethod] + public string font_subpixel_order { owned get; set; } + } + [CCode (type_id = "clutter_shader_get_type ()", cheader_filename = "clutter/clutter.h")] public class Shader : GLib.Object { [CCode (has_construct_function = false)] public Shader (); public bool compile () throws GLib.Error; - public static GLib.Quark error_quark (); - public Cogl.Shader get_cogl_fragment_shader (); - public Cogl.Program get_cogl_program (); - public Cogl.Shader get_cogl_vertex_shader (); + public unowned Cogl.Handle get_cogl_fragment_shader (); + public unowned Cogl.Handle get_cogl_program (); + public unowned Cogl.Handle get_cogl_vertex_shader (); public unowned string get_fragment_source (); public bool get_is_enabled (); public unowned string get_vertex_source (); @@ -982,11 +1317,55 @@ namespace Clutter { public bool compiled { get; } [NoAccessorMethod] public bool enabled { get; set; } + [NoAccessorMethod] public string fragment_source { get; set; } + [NoAccessorMethod] public string vertex_source { get; set; } } + [CCode (type_id = "clutter_shader_effect_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ShaderEffect : Clutter.OffscreenEffect { + [CCode (has_construct_function = false)] + protected ShaderEffect (); + public unowned Cogl.Handle get_program (); + public unowned Cogl.Handle get_shader (); + public bool set_shader_source (string source); + public void set_uniform_value (string name, GLib.Value value); + public Clutter.ShaderType shader_type { construct; } + } + [Compact] + [CCode (cheader_filename = "clutter/clutter.h")] + public class ShaderFloat { + public static GLib.Type get_type (); + } + [Compact] + [CCode (cheader_filename = "clutter/clutter.h")] + public class ShaderInt { + public static GLib.Type get_type (); + } + [Compact] [CCode (cheader_filename = "clutter/clutter.h")] - public class Stage : Clutter.Group, Clutter.Scriptable, Clutter.Container { + public class ShaderMatrix { + public static GLib.Type get_type (); + } + [CCode (type_id = "clutter_snap_constraint_get_type ()", cheader_filename = "clutter/clutter.h")] + public class SnapConstraint : Clutter.Constraint { + [CCode (type = "ClutterConstraint*", has_construct_function = false)] + public SnapConstraint (Clutter.Actor? source, Clutter.SnapEdge from_edge, Clutter.SnapEdge to_edge, float offset); + public void get_edges (out Clutter.SnapEdge from_edge, out Clutter.SnapEdge to_edge); + public float get_offset (); + public unowned Clutter.Actor get_source (); + public void set_edges (Clutter.SnapEdge from_edge, Clutter.SnapEdge to_edge); + public void set_offset (float offset); + public void set_source (Clutter.Actor? source); + [NoAccessorMethod] + public Clutter.SnapEdge from_edge { get; set construct; } + public float offset { get; set construct; } + public Clutter.Actor source { get; set construct; } + [NoAccessorMethod] + public Clutter.SnapEdge to_edge { get; set construct; } + } + [CCode (type_id = "clutter_stage_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Stage : Clutter.Group, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Stage (); [CCode (cname = "clutter_stage_event")] @@ -994,28 +1373,43 @@ namespace Clutter { public void ensure_current (); public void ensure_redraw (); public void ensure_viewport (); + public bool get_accept_focus (); public unowned Clutter.Actor get_actor_at_pos (Clutter.PickMode pick_mode, int x, int y); + public Clutter.Color get_color (); public static unowned Clutter.Stage get_default (); + public Clutter.Fog get_fog (); public bool get_fullscreen (); public unowned Clutter.Actor get_key_focus (); - public void get_minimum_size (uint width, uint height); - public void get_perspective (out Clutter.Perspective perspective); + public void get_minimum_size (out uint width, out uint height); + public bool get_no_clear_hint (); + public Clutter.Perspective get_perspective (); public bool get_throttle_motion_events (); + public unowned string get_title (); public bool get_use_alpha (); + public bool get_use_fog (); + public bool get_user_resizable (); public void hide_cursor (); public bool is_default (); public void queue_redraw (); [CCode (array_length = false)] - public uchar[] read_pixels (int x, int y, int width = -1, int height = -1); + public uint8[] read_pixels (int x, int y, int width = -1, int height = -1); [CCode (cname = "clutter_redraw")] public void redraw (); + public void set_accept_focus (bool accept_focus); + public void set_color (Clutter.Color color); + public void set_fog (Clutter.Fog fog); public void set_fullscreen (bool fullscreen); public void set_key_focus (Clutter.Actor? actor); public void set_minimum_size (uint width, uint height); + public void set_no_clear_hint (bool no_clear); public void set_perspective (Clutter.Perspective perspective); public void set_throttle_motion_events (bool throttle); + public void set_title (string title); public void set_use_alpha (bool use_alpha); + public void set_use_fog (bool fog); + public void set_user_resizable (bool resizable); public void show_cursor (); + public bool accept_focus { get; set; } public Clutter.Color color { get; set; } [NoAccessorMethod] public bool cursor_visible { get; set; } @@ -1023,9 +1417,9 @@ namespace Clutter { [NoAccessorMethod] public bool fullscreen_set { get; } public Clutter.Actor key_focus { get; set; } + public bool no_clear_hint { get; set; } [NoAccessorMethod] public bool offscreen { get; set; } - [NoAccessorMethod] public Clutter.Perspective perspective { get; set; } public string title { get; set; } public bool use_alpha { get; set; } @@ -1034,45 +1428,152 @@ namespace Clutter { public virtual signal void activate (); public virtual signal void deactivate (); public virtual signal bool delete_event (Clutter.Event event); - [HasEmitter] public virtual signal void fullscreen (); - [HasEmitter] public virtual signal void unfullscreen (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_stage_manager_get_type ()", cheader_filename = "clutter/clutter.h")] public class StageManager : GLib.Object { [CCode (has_construct_function = false)] protected StageManager (); public static unowned Clutter.StageManager get_default (); - public unowned GLib.SList list_stages (); + public unowned Clutter.Stage get_default_stage (); + public GLib.SList list_stages (); public unowned GLib.SList peek_stages (); + [Deprecated (since = "1.2")] + public void set_default_stage (Clutter.Stage stage); public Clutter.Stage default_stage { get; } public virtual signal void stage_added (Clutter.Stage stage); public virtual signal void stage_removed (Clutter.Stage stage); } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Text : Clutter.Actor, Clutter.Scriptable { + [CCode (type_id = "clutter_state_get_type ()", cheader_filename = "clutter/clutter.h")] + public class State : GLib.Object, Clutter.Scriptable { + [CCode (has_construct_function = false)] + public State (); + public unowned Clutter.Animator get_animator (string source_state_name, string target_state_name); + public uint get_duration (string? source_state_name, string? target_state_name); + public GLib.List get_keys (string? source_state_name, string? target_state_name, GLib.Object? object, string? property_name); + public unowned string get_state (); + public GLib.List get_states (); + public unowned Clutter.Timeline get_timeline (); + public void remove_key (string? source_state_name, string? target_state_name, GLib.Object? object, string? property_name); + public void set_animator (string source_state_name, string target_state_name, Clutter.Animator? animator); + public void set_duration (string? source_state_name, string? target_state_name, uint duration); + public unowned Clutter.State set_key (string source_state_name, string target_state_name, GLib.Object object, string property_name, uint mode, GLib.Value value, double pre_delay, double post_delay); + public unowned Clutter.Timeline set_state (string target_state_name); + public unowned Clutter.Timeline warp_to_state (string target_state_name); + [NoAccessorMethod] + public uint duration { get; set; } + [NoAccessorMethod] + public string state { get; set; } + public virtual signal void completed (); + } + [Compact] + [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "clutter_state_key_get_type ()", cheader_filename = "clutter/clutter.h")] + public class StateKey { + public ulong get_mode (); + public unowned GLib.Object get_object (); + public double get_post_delay (); + public double get_pre_delay (); + public unowned string get_property_name (); + public GLib.Type get_property_type (); + public unowned string get_source_state_name (); + public unowned string get_target_state_name (); + public bool get_value (GLib.Value value); + } + [CCode (type_id = "clutter_table_layout_get_type ()", cheader_filename = "clutter/clutter.h")] + public class TableLayout : Clutter.LayoutManager { + [CCode (type = "ClutterLayoutManager*", has_construct_function = false)] + public TableLayout (); + public void get_alignment (Clutter.Actor actor, out Clutter.TableAlignment x_align, out Clutter.TableAlignment y_align); + public int get_column_count (); + public uint get_column_spacing (); + public uint get_easing_duration (); + public ulong get_easing_mode (); + public void get_expand (Clutter.Actor actor, out bool x_expand, out bool y_expand); + public void get_fill (Clutter.Actor actor, out bool x_fill, out bool y_fill); + public int get_row_count (); + public uint get_row_spacing (); + public void get_span (Clutter.Actor actor, out int column_span, out int row_span); + public bool get_use_animations (); + public void pack (Clutter.Actor actor, int column, int row); + public void set_alignment (Clutter.Actor actor, Clutter.TableAlignment x_align, Clutter.TableAlignment y_align); + public void set_column_spacing (uint spacing); + public void set_easing_duration (uint msecs); + public void set_easing_mode (ulong mode); + public void set_expand (Clutter.Actor actor, bool x_expand, bool y_expand); + public void set_fill (Clutter.Actor actor, bool x_fill, bool y_fill); + public void set_row_spacing (uint spacing); + public void set_span (Clutter.Actor actor, int column_span, int row_span); + public void set_use_animations (bool animate); + public uint column_spacing { get; set; } + public uint easing_duration { get; set; } + public ulong easing_mode { get; set; } + public uint row_spacing { get; set; } + public bool use_animations { get; set; } + } + [CCode (type_id = "clutter_text_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Text : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Text (); public void delete_chars (uint n_chars); public bool delete_selection (); [CCode (type = "ClutterActor*", has_construct_function = false)] public Text.full (string font_name, string text, Clutter.Color color); + public bool get_activatable (); public unowned Pango.AttrList get_attributes (); - public unowned string get_chars (ssize_t start_pos, ssize_t end_pos); + public string get_chars (ssize_t start_pos, ssize_t end_pos); + public Clutter.Color get_color (); + public Clutter.Color get_cursor_color (); public int get_cursor_position (); - public unowned Pango.FontDescription get_font_description (); + public uint get_cursor_size (); + public bool get_cursor_visible (); + public bool get_editable (); + public Pango.EllipsizeMode get_ellipsize (); + public Pango.FontDescription get_font_description (); + public unowned string get_font_name (); + public bool get_justify (); public unowned Pango.Layout get_layout (); - public unowned string get_selection (); + public Pango.Alignment get_line_alignment (); + public bool get_line_wrap (); + public Pango.WrapMode get_line_wrap_mode (); + public int get_max_length (); + public unichar get_password_char (); + public bool get_selectable (); + public string get_selection (); + public int get_selection_bound (); + public Clutter.Color get_selection_color (); + public bool get_single_line_mode (); + public unowned string get_text (); + public bool get_use_markup (); public void insert_text (string text, ssize_t position); public void insert_unichar (unichar wc); - public bool position_to_coords (int position, out float? x = null, out float? y = null, out float? line_height = null); + public bool position_to_coords (int position, out float x, out float y, out float line_height = null); + public void set_activatable (bool activatable); public void set_attributes (Pango.AttrList attrs); + public void set_color (Clutter.Color color); + public void set_cursor_color (Clutter.Color color); public void set_cursor_position (int position); + public void set_cursor_size (int size); + public void set_cursor_visible (bool cursor_visible); + public void set_editable (bool editable); + public void set_ellipsize (Pango.EllipsizeMode mode); public void set_font_description (Pango.FontDescription font_desc); + public void set_font_name (string? font_name); + public void set_justify (bool justify); + public void set_line_alignment (Pango.Alignment alignment); + public void set_line_wrap (bool line_wrap); + public void set_line_wrap_mode (Pango.WrapMode wrap_mode); public void set_markup (string markup); - public void set_preedit_string (string preedit_str, Pango.AttrList preedit_attrs, uint cursor_pos); + public void set_max_length (int max); + public void set_password_char (unichar wc); + public void set_preedit_string (string? preedit_str, Pango.AttrList? preedit_attrs, uint cursor_pos); + public void set_selectable (bool selectable); public void set_selection (ssize_t start_pos, ssize_t end_pos); + public void set_selection_bound (int selection_bound); + public void set_selection_color (Clutter.Color color); + public void set_single_line_mode (bool single_line); + public void set_text (string text); + public void set_use_markup (bool setting); [CCode (type = "ClutterActor*", has_construct_function = false)] public Text.with_text (string? font_name, string text); public bool activatable { get; set; } @@ -1085,7 +1586,7 @@ namespace Clutter { public bool cursor_visible { get; set; } public bool editable { get; set; } public Pango.EllipsizeMode ellipsize { get; set; } - public Pango.FontDescription font_description { get; set; } + public Pango.FontDescription font_description { owned get; set; } public string font_name { get; set; } public bool justify { get; set; } public Pango.Alignment line_alignment { get; set; } @@ -1107,35 +1608,53 @@ namespace Clutter { public virtual signal void activate (); public virtual signal void cursor_event (Clutter.Geometry geometry); [HasEmitter] - public virtual signal void delete_text (int p0, int p1); + public signal void delete_text (int start_pos, int end_pos); public virtual signal void text_changed (); } - [CCode (cheader_filename = "clutter/clutter.h")] - public class Texture : Clutter.Actor, Clutter.Scriptable { + [CCode (type_id = "clutter_texture_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Texture : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { [CCode (type = "ClutterActor*", has_construct_function = false)] public Texture (); - public static GLib.Quark error_quark (); [CCode (type = "ClutterActor*", has_construct_function = false)] public Texture.from_actor (Clutter.Actor actor); - [CCode (has_construct_function = false)] + [CCode (type = "ClutterActor*", has_construct_function = false)] public Texture.from_file (string filename) throws Clutter.TextureError; public void get_base_size (out int width, out int height); + public unowned Cogl.Handle get_cogl_material (); + public unowned Cogl.Handle get_cogl_texture (); + public Clutter.TextureQuality get_filter_quality (); + public bool get_keep_aspect_ratio (); + public bool get_load_async (); + public bool get_load_data_async (); + public int get_max_tile_waste (); + public bool get_pick_with_alpha (); + public Cogl.PixelFormat get_pixel_format (); public void get_repeat (out bool repeat_x, out bool repeat_y); - public bool set_area_from_rgb_data (uchar[] data, bool has_alpha, int x, int y, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error; + public bool get_sync_size (); + public bool set_area_from_rgb_data ([CCode (type = "guchar*", array_length = false)] uint8[] data, bool has_alpha, int x, int y, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error; + public void set_cogl_material (Cogl.Handle cogl_material); + public void set_cogl_texture (Cogl.Handle cogl_tex); + public void set_filter_quality (Clutter.TextureQuality filter_quality); public bool set_from_file (string filename) throws GLib.Error; - public bool set_from_rgb_data ([CCode (array_length = false)] uchar[] data, bool has_alpha, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error; - public bool set_from_yuv_data ([CCode (array_length = false)] uchar[] data, int width, int height, Clutter.TextureFlags flags) throws GLib.Error; + public bool set_from_rgb_data ([CCode (type = "guchar*", array_length = false)] uint8[] data, bool has_alpha, int width, int height, int rowstride, int bpp, Clutter.TextureFlags flags) throws GLib.Error; + public bool set_from_yuv_data ([CCode (type = "guchar*", array_length = false)] uint8[] data, int width, int height, Clutter.TextureFlags flags) throws GLib.Error; + public void set_keep_aspect_ratio (bool keep_aspect); + public void set_load_async (bool load_async); + public void set_load_data_async (bool load_async); + public void set_pick_with_alpha (bool pick_with_alpha); public void set_repeat (bool repeat_x, bool repeat_y); + public void set_sync_size (bool sync_size); public Cogl.Material cogl_material { get; set; } public Cogl.Texture cogl_texture { get; set; } [NoAccessorMethod] public bool disable_slicing { get; construct; } [NoAccessorMethod] - public string filename { set; } + public string filename { owned get; set; } public Clutter.TextureQuality filter_quality { get; set construct; } public bool keep_aspect_ratio { get; set; } public bool load_async { set; } public bool load_data_async { set; } + public bool pick_with_alpha { get; set; } public Cogl.PixelFormat pixel_format { get; } [NoAccessorMethod] public bool repeat_x { get; set; } @@ -1148,33 +1667,45 @@ namespace Clutter { public virtual signal void pixbuf_change (); public virtual signal void size_change (int width, int height); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (type_id = "clutter_timeline_get_type ()", cheader_filename = "clutter/clutter.h")] public class Timeline : GLib.Object { [CCode (has_construct_function = false)] public Timeline (uint msecs); public void add_marker_at_time (string marker_name, uint msecs); public void advance (uint msecs); public void advance_to_marker (string marker_name); - public unowned Clutter.Timeline clone (); - public void do_tick (GLib.TimeVal tick_time); + public Clutter.Timeline clone (); + public bool get_auto_reverse (); + public uint get_delay (); + public uint get_delta (); + public Clutter.TimelineDirection get_direction (); + public uint get_duration (); public uint get_elapsed_time (); + public bool get_loop (); public double get_progress (); public bool has_marker (string marker_name); public bool is_playing (); - public unowned string list_markers (int msecs, size_t n_markers); + [CCode (array_length_pos = 1.1, array_length_type = "gsize")] + public string[] list_markers (int msecs); public void pause (); public void remove_marker (string marker_name); public void rewind (); + public void set_auto_reverse (bool reverse); + public void set_delay (uint msecs); + public void set_direction (Clutter.TimelineDirection direction); + public void set_duration (uint msecs); + public void set_loop (bool loop); public void skip (uint msecs); public void start (); public void stop (); + public bool auto_reverse { get; set; } public uint delay { get; set; } public Clutter.TimelineDirection direction { get; set; } public uint duration { get; set; } public bool loop { get; set; } public virtual signal void completed (); public virtual signal void marker_reached (string marker_name, int frame_num); - public virtual signal void new_frame (int frame_num); + public virtual signal void new_frame (int msecs); public virtual signal void paused (); public virtual signal void started (); } @@ -1183,12 +1714,15 @@ namespace Clutter { public class TimeoutPool { [CCode (has_construct_function = false)] public TimeoutPool (int priority); - public uint add (uint fps, GLib.SourceFunc func, void* data, GLib.DestroyNotify notify); - public void remove (uint id); + public uint add (uint fps, [CCode (delegate_target_pos = 2.1)] owned GLib.SourceFunc func); + public void remove (uint id_); } - [CCode (cheader_filename = "clutter/clutter.h")] - public interface Animatable { + [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_animatable_get_type ()")] + public interface Animatable : GLib.Object { public abstract bool animate_property (Clutter.Animation animation, string property_name, GLib.Value initial_value, GLib.Value final_value, double progress, GLib.Value value); + public abstract unowned GLib.ParamSpec find_property (string property_name); + public abstract void get_initial_state (string property_name, GLib.Value value); + public abstract void set_final_state (string property_name, GLib.Value value); } [CCode (cheader_filename = "clutter/clutter.h")] public interface Container : GLib.Object { @@ -1200,43 +1734,44 @@ namespace Clutter { public void child_get_property (Clutter.Actor child, string property, GLib.Value value); public void child_set (Clutter.Actor actor, ...); public void child_set_property (Clutter.Actor child, string property, GLib.Value value); - [NoWrapper] public virtual void create_child_meta (Clutter.Actor actor); - [NoWrapper] public virtual void destroy_child_meta (Clutter.Actor actor); public unowned Clutter.Actor find_child_by_name (string child_name); [CCode (cname = "clutter_container_class_find_child_property")] - public class unowned Clutter.ParamSpecColor find_child_property (string property_name); + public class unowned GLib.ParamSpec find_child_property (string property_name); public abstract void @foreach (Clutter.Callback callback); public virtual void foreach_with_internals (Clutter.Callback callback); public virtual unowned Clutter.ChildMeta get_child_meta (Clutter.Actor actor); public GLib.List get_children (); [CCode (cname = "clutter_container_class_list_child_properties")] - public class unowned Clutter.ParamSpecColor list_child_properties (uint n_properties); + public class unowned GLib.ParamSpec[] list_child_properties (); [CCode (vfunc_name = "lower")] public virtual void lower_child (Clutter.Actor actor, Clutter.Actor? sibling = null); [CCode (vfunc_name = "raise")] public virtual void raise_child (Clutter.Actor actor, Clutter.Actor? sibling = null); - public void remove (params Clutter.Actor[] actors); + public void remove (...); [CCode (vfunc_name = "remove")] public abstract void remove_actor (Clutter.Actor actor); - public void remove_valist (Clutter.Actor first_actor, void* var_args); - public virtual void sort_depth_order (); - public signal void actor_added (Clutter.Actor actor); - public signal void actor_removed (Clutter.Actor actor); - public signal void child_notify (Clutter.Actor actor, Clutter.ParamSpecColor pspec); + public void remove_valist (Clutter.Actor first_actor, va_list var_args); + public abstract void sort_depth_order (); + [HasEmitter] + public virtual signal void actor_added (Clutter.Actor actor); + [HasEmitter] + public virtual signal void actor_removed (Clutter.Actor actor); + [HasEmitter] + public virtual signal void child_notify (Clutter.Actor child, GLib.ParamSpec pspec); } - [CCode (cheader_filename = "clutter/clutter.h")] - public interface Media { + [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_media_get_type ()")] + public interface Media : GLib.Object { public double get_audio_volume (); public double get_buffer_fill (); public bool get_can_seek (); public double get_duration (); public bool get_playing (); public double get_progress (); - public unowned string get_subtitle_font_name (); - public unowned string get_subtitle_uri (); - public unowned string get_uri (); + public string get_subtitle_font_name (); + public string get_subtitle_uri (); + public string get_uri (); public void set_audio_volume (double volume); public void set_filename (string filename); public void set_playing (bool playing); @@ -1244,14 +1779,26 @@ namespace Clutter { public void set_subtitle_font_name (string font_name); public void set_subtitle_uri (string uri); public void set_uri (string uri); - public signal void eos (); - public signal void error (void* error); + public double audio_volume { get; set; } + public double buffer_fill { get; } + public bool can_seek { get; } + public double duration { get; } + public bool playing { get; set; } + public double progress { get; set; } + public string subtitle_font_name { owned get; set; } + public string subtitle_uri { owned get; set; } + public string uri { owned get; set; } + [HasEmitter] + public virtual signal void eos (); + [HasEmitter] + public virtual signal void error (GLib.Error error); } - [CCode (cheader_filename = "clutter/clutter.h")] - public interface Scriptable { + [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_scriptable_get_type ()")] + public interface Scriptable : GLib.Object { public abstract unowned string get_id (); + public abstract bool parse_custom_node (Clutter.Script script, GLib.Value value, string name, Json.Node node); public abstract void set_custom_property (Clutter.Script script, string name, GLib.Value value); - public abstract void set_id (string id); + public abstract void set_id (string id_); } [CCode (cheader_filename = "clutter/clutter.h")] public interface StageWindow : GLib.Object { @@ -1294,7 +1841,9 @@ namespace Clutter { public float y2; public void clamp_to_pixel (); public bool contains (float x, float y); + public Clutter.ActorBox copy (); public bool equal (Clutter.ActorBox box_b); + public void free (); [CCode (cname = "clutter_actor_box_from_vertices")] public ActorBox.from_vertices (Clutter.Vertex[] verts); public float get_area (); @@ -1304,7 +1853,10 @@ namespace Clutter { public float get_width (); public float get_x (); public float get_y (); - public void interpolate (Clutter.ActorBox final, double progress, Clutter.ActorBox _result); + public Clutter.ActorBox interpolate (Clutter.ActorBox final, double progress); + public void set_origin (float x, float y); + public void set_size (float width, float height); + public Clutter.ActorBox union (Clutter.ActorBox b); } [CCode (type_id = "CLUTTER_TYPE_ANY_EVENT", cheader_filename = "clutter/clutter.h")] public struct AnyEvent { @@ -1333,23 +1885,27 @@ namespace Clutter { public struct Color { public static GLib.HashFunc hash; public static GLib.EqualFunc equal; - public uchar red; - public uchar green; - public uchar blue; - public uchar alpha; - public void add (Clutter.Color b, out Clutter.Color _result); - public void darken (out Clutter.Color _result); + public uint8 red; + public uint8 green; + public uint8 blue; + public uint8 alpha; + public Clutter.Color add (Clutter.Color b); + public Clutter.Color copy (); + public Clutter.Color darken (); + public void free (); [CCode (cname = "clutter_color_from_hls")] public Color.from_hls (float hue, float luminance, float saturation); [CCode (cname = "clutter_color_from_pixel")] public Color.from_pixel (uint32 pixel); [CCode (cname = "clutter_color_from_string")] public Color.from_string (string str); - public void lighten (out Clutter.Color _result); + public static Clutter.Color get_static (Clutter.StaticColor color); + public Clutter.Color interpolate (Clutter.Color final, double progress); + public Clutter.Color lighten (); [CCode (cname = "clutter_color_from_string")] public bool parse_string (string str); - public void shade (double factor, out Clutter.Color _result); - public void subtract (Clutter.Color b, out Clutter.Color _result); + public Clutter.Color shade (double factor); + public Clutter.Color subtract (Clutter.Color b); public void to_hls (out float hue, out float luminance, out float saturation); public uint32 to_pixel (); public string to_string (); @@ -1377,6 +1933,8 @@ namespace Clutter { public int y; public uint width; public uint height; + public bool intersects (Clutter.Geometry geometry1); + public Clutter.Geometry union (Clutter.Geometry geometry_b); } [CCode (type_id = "CLUTTER_TYPE_KEY_EVENT", cheader_filename = "clutter/clutter.h")] public struct KeyEvent { @@ -1415,7 +1973,7 @@ namespace Clutter { [CCode (type_id = "CLUTTER_TYPE_PATH_NODE", cheader_filename = "clutter/clutter.h")] public struct PathNode { public Clutter.PathNodeType type; - [CCode (array_length = false)] + [CCode (array_length = false, array_null_terminated = true)] public weak Clutter.Knot[] points; public Clutter.PathNode copy (); public bool equal (Clutter.PathNode node_b); @@ -1454,10 +2012,8 @@ namespace Clutter { } [CCode (type_id = "CLUTTER_TYPE_UNITS", cheader_filename = "clutter/clutter.h")] public struct Units { - public Clutter.UnitType unit_type; - public float value; - public float pixels; - public uint pixels_set; + public Clutter.Units copy (); + public void free (); [CCode (cname = "clutter_units_from_em")] public Units.from_em (float em); [CCode (cname = "clutter_units_from_em_for_font")] @@ -1473,14 +2029,16 @@ namespace Clutter { public Clutter.UnitType get_unit_type (); public float get_unit_value (); public float to_pixels (); - public unowned string to_string (); + public string to_string (); } [CCode (type_id = "CLUTTER_TYPE_VERTEX", cheader_filename = "clutter/clutter.h")] public struct Vertex { public float x; public float y; public float z; + public Clutter.Vertex copy (); public bool equal (Clutter.Vertex vertex_b); + public void free (); } [CCode (cprefix = "CLUTTER_ACTOR_", cheader_filename = "clutter/clutter.h")] [Flags] @@ -1491,6 +2049,11 @@ namespace Clutter { VISIBLE, NO_LAYOUT } + [CCode (cprefix = "CLUTTER_ALIGN_", cheader_filename = "clutter/clutter.h")] + public enum AlignAxis { + X_AXIS, + Y_AXIS + } [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")] [Flags] public enum AllocationFlags { @@ -1541,12 +2104,27 @@ namespace Clutter { END, CENTER } + [CCode (cprefix = "CLUTTER_BIND_", cheader_filename = "clutter/clutter.h")] + public enum BindCoordinate { + X, + Y, + WIDTH, + HEIGHT, + POSITION, + SIZE + } [CCode (cprefix = "CLUTTER_BOX_ALIGNMENT_", cheader_filename = "clutter/clutter.h")] public enum BoxAlignment { START, END, CENTER } + [CCode (cprefix = "CLUTTER_DRAG_", cheader_filename = "clutter/clutter.h")] + public enum DragAxis { + AXIS_NONE, + X_AXIS, + Y_AXIS + } [CCode (cprefix = "CLUTTER_EVENT_", cheader_filename = "clutter/clutter.h")] [Flags] public enum EventFlags { @@ -1581,7 +2159,8 @@ namespace Clutter { STAGE_CURSOR, SHADERS_GLSL, OFFSCREEN, - STAGE_MULTIPLE; + STAGE_MULTIPLE, + SWAP_EVENTS; [CCode (cname = "clutter_feature_available")] public bool is_available (); [CCode (cname = "clutter_feature_get_all")] @@ -1617,15 +2196,39 @@ namespace Clutter { ERROR_UNKNOWN, ERROR_THREADS, ERROR_BACKEND, - ERROR_INTERNAL + ERROR_INTERNAL; + public static GLib.Quark quark (); + } + [CCode (cprefix = "CLUTTER_INPUT_AXIS_", cheader_filename = "clutter/clutter.h")] + public enum InputAxis { + IGNORE, + X, + Y, + PRESSURE, + XTILT, + YTILT, + WHEEL } [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")] public enum InputDeviceType { POINTER_DEVICE, KEYBOARD_DEVICE, EXTENSION_DEVICE, + JOYSTICK_DEVICE, + TABLET_DEVICE, + TOUCHPAD_DEVICE, + TOUCHSCREEN_DEVICE, + PEN_DEVICE, + ERASER_DEVICE, + CURSOR_DEVICE, N_DEVICE_TYPES } + [CCode (cprefix = "CLUTTER_INPUT_MODE_", cheader_filename = "clutter/clutter.h")] + public enum InputMode { + MASTER, + SLAVE, + FLOATING + } [CCode (cprefix = "CLUTTER_INTERPOLATION_", cheader_filename = "clutter/clutter.h")] public enum Interpolation { LINEAR, @@ -1669,12 +2272,6 @@ namespace Clutter { REACTIVE, ALL } - [CCode (cprefix = "CLUTTER_REDRAW_CLIPPED_TO_", cheader_filename = "clutter/clutter.h")] - [Flags] - public enum RedrawFlags { - BOX, - ALLOCATION - } [CCode (cprefix = "CLUTTER_REQUEST_", cheader_filename = "clutter/clutter.h")] public enum RequestMode { HEIGHT_FOR_WIDTH, @@ -1691,12 +2288,6 @@ namespace Clutter { CW, CCW } - [CCode (cprefix = "CLUTTER_SCRIPT_ERROR_INVALID_", cheader_filename = "clutter/clutter.h")] - public enum ScriptError { - TYPE_FUNCTION, - PROPERTY, - VALUE - } [CCode (cprefix = "CLUTTER_SCROLL_", cheader_filename = "clutter/clutter.h")] public enum ScrollDirection { UP, @@ -1704,6 +2295,18 @@ namespace Clutter { LEFT, RIGHT } + [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")] + public enum ShaderType { + VERTEX_SHADER, + FRAGMENT_SHADER + } + [CCode (cprefix = "CLUTTER_SNAP_EDGE_", cheader_filename = "clutter/clutter.h")] + public enum SnapEdge { + TOP, + RIGHT, + BOTTOM, + LEFT + } [CCode (cprefix = "CLUTTER_STAGE_STATE_", cheader_filename = "clutter/clutter.h")] [Flags] public enum StageState { @@ -1711,6 +2314,60 @@ namespace Clutter { OFFSCREEN, ACTIVATED } + [CCode (cprefix = "CLUTTER_COLOR_", cheader_filename = "clutter/clutter.h")] + public enum StaticColor { + WHITE, + BLACK, + RED, + DARK_RED, + GREEN, + DARK_GREEN, + BLUE, + DARK_BLUE, + CYAN, + DARK_CYAN, + MAGENTA, + DARK_MAGENTA, + YELLOW, + DARK_YELLOW, + GRAY, + DARK_GRAY, + LIGHT_GRAY, + BUTTER, + BUTTER_LIGHT, + BUTTER_DARK, + ORANGE, + ORANGE_LIGHT, + ORANGE_DARK, + CHOCOLATE, + CHOCOLATE_LIGHT, + CHOCOLATE_DARK, + CHAMELEON, + CHAMELEON_LIGHT, + CHAMELEON_DARK, + SKY_BLUE, + SKY_BLUE_LIGHT, + SKY_BLUE_DARK, + PLUM, + PLUM_LIGHT, + PLUM_DARK, + SCARLET_RED, + SCARLET_RED_LIGHT, + SCARLET_RED_DARK, + ALUMINIUM_1, + ALUMINIUM_2, + ALUMINIUM_3, + ALUMINIUM_4, + ALUMINIUM_5, + ALUMINIUM_6, + TRANSPARENT + } + [CCode (cprefix = "CLUTTER_TABLE_ALIGNMENT_", cheader_filename = "clutter/clutter.h")] + public enum TableAlignment { + START, + CENTER, + END + } [CCode (cprefix = "CLUTTER_TEXT_DIRECTION_", cheader_filename = "clutter/clutter.h")] public enum TextDirection { DEFAULT, @@ -1759,37 +2416,46 @@ namespace Clutter { MOTION_NOTIFY_EVENT, LAST_EVENT } + [CCode (cprefix = "CLUTTER_SCRIPT_ERROR_INVALID_", cheader_filename = "clutter/clutter.h")] + public errordomain ScriptError { + TYPE_FUNCTION, + PROPERTY, + VALUE; + public static GLib.Quark quark (); + } [CCode (cprefix = "CLUTTER_SHADER_ERROR_", cheader_filename = "clutter/clutter.h")] public errordomain ShaderError { NO_ASM, NO_GLSL, - COMPILE, + COMPILE; + public static GLib.Quark quark (); } [CCode (cprefix = "CLUTTER_TEXTURE_ERROR_", cheader_filename = "clutter/clutter.h")] public errordomain TextureError { OUT_OF_MEMORY, NO_YUV, - BAD_FORMAT, + BAD_FORMAT; + public static GLib.Quark quark (); } - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)] public delegate double AlphaFunc (Clutter.Alpha alpha); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 2.9)] public delegate void BehaviourForeachFunc (Clutter.Behaviour behaviour, Clutter.Actor actor); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", has_target = false)] public delegate bool BindingActionFunc (GLib.Object gobject, string action_name, uint key_val, Clutter.ModifierType modifiers); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)] public delegate void Callback (Clutter.Actor actor); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 2.9)] public delegate bool ModelFilterFunc (Clutter.Model model, Clutter.ModelIter iter); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 2.9)] public delegate bool ModelForeachFunc (Clutter.Model model, Clutter.ModelIter iter); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 3.9)] public delegate int ModelSortFunc (Clutter.Model model, GLib.Value a, GLib.Value b); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 1.9)] public delegate void PathCallback (Clutter.PathNode node); [CCode (cheader_filename = "clutter/clutter.h", has_target = false)] public delegate bool ProgressFunc (GLib.Value a, GLib.Value b, double progress, GLib.Value retval); - [CCode (cheader_filename = "clutter/clutter.h")] + [CCode (cheader_filename = "clutter/clutter.h", instance_pos = 6.9)] public delegate void ScriptConnectFunc (Clutter.Script script, GLib.Object object, string signal_name, string handler_name, GLib.Object connect_object, GLib.ConnectFlags flags); [CCode (cheader_filename = "clutter/clutter.h")] public const string COGL; @@ -1808,6 +2474,8 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public const int PRIORITY_REDRAW; [CCode (cheader_filename = "clutter/clutter.h")] + public const double VERSION; + [CCode (cheader_filename = "clutter/clutter.h")] public const int VERSION_HEX; [CCode (cheader_filename = "clutter/clutter.h")] public const string VERSION_S; @@ -1824,6 +2492,8 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static bool events_pending (); [CCode (cheader_filename = "clutter/clutter.h")] + public static bool get_accessibility_enabled (); + [CCode (cheader_filename = "clutter/clutter.h")] public static unowned Clutter.Event get_current_event (); [CCode (cheader_filename = "clutter/clutter.h")] public static uint32 get_current_event_time (); @@ -1860,13 +2530,11 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static void grab_pointer (Clutter.Actor actor); [CCode (cheader_filename = "clutter/clutter.h")] - public static void grab_pointer_for_device (Clutter.Actor actor, int id); - [CCode (cheader_filename = "clutter/clutter.h")] - public static Clutter.InitError init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv); + public static void grab_pointer_for_device (Clutter.Actor actor, int id_); [CCode (cheader_filename = "clutter/clutter.h")] - public static GLib.Quark init_error_quark (); + public static Clutter.InitError init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv); [CCode (cheader_filename = "clutter/clutter.h")] - 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; + 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 (type = "GOptionEntry*", array_length = false)] GLib.OptionEntry?[] entries, string? translation_domain) throws GLib.Error; [CCode (cheader_filename = "clutter/clutter.h")] public static uint32 keysym_to_unicode (uint keyval); [CCode (cheader_filename = "clutter/clutter.h")] @@ -1876,15 +2544,15 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static void main_quit (); [CCode (cheader_filename = "clutter/clutter.h")] - public static GLib.Type param_units_get_type (); - [CCode (cheader_filename = "clutter/clutter.h")] public static void set_default_frame_rate (uint frames_per_sec); [CCode (cheader_filename = "clutter/clutter.h")] public static void set_font_flags (Clutter.FontFlags flags); [CCode (cheader_filename = "clutter/clutter.h")] public static void set_motion_events_enabled (bool enable); + [Deprecated (since = "vala-0.14", replacement = "Threads.add_repaint_func")] [CCode (cheader_filename = "clutter/clutter.h")] public static uint threads_add_repaint_func (GLib.SourceFunc func, void* data, GLib.DestroyNotify notify); + [Deprecated (since = "vala-0.14", replacement = "Threads.remove_repaint_func")] [CCode (cheader_filename = "clutter/clutter.h")] public static void threads_remove_repaint_func (uint handle_id); [CCode (cheader_filename = "clutter/clutter.h")] @@ -1892,5 +2560,5 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static void ungrab_pointer (); [CCode (cheader_filename = "clutter/clutter.h")] - public static void ungrab_pointer_for_device (int id); + public static void ungrab_pointer_for_device (int id_); } diff --git a/vapi/metadata/Clutter-1.0-custom.vala b/vapi/metadata/Clutter-1.0-custom.vala new file mode 100644 index 000000000..fe8281df9 --- /dev/null +++ b/vapi/metadata/Clutter-1.0-custom.vala @@ -0,0 +1,150 @@ +namespace Clutter { + [CCode (type_id = "CLUTTER_TYPE_ACTOR_BOX", cheader_filename = "clutter/clutter.h")] + public struct ActorBox { + [CCode (cname = "clutter_actor_box_from_vertices")] + public ActorBox.from_vertices (Clutter.Vertex[] verts); + } + + public class Backend : GLib.Object { + [NoWrapper] + public virtual void add_options (GLib.OptionGroup group); + [NoWrapper] + public virtual bool create_context () throws GLib.Error; + [NoWrapper] + public virtual unowned Clutter.StageWindow create_stage (Clutter.Stage wrapper) throws GLib.Error; + [NoWrapper] + public virtual void ensure_context (Clutter.Stage stage); + [NoWrapper] + public virtual unowned Clutter.DeviceManager get_device_manager (); + [NoWrapper] + public virtual Clutter.FeatureFlags get_features (); + [NoWrapper] + public virtual void init_events (); + [NoWrapper] + public virtual void init_features (); + [NoWrapper] + public virtual bool post_parse () throws GLib.Error; + [NoWrapper] + public virtual bool pre_parse () throws GLib.Error; + [NoWrapper] + public virtual void redraw (Clutter.Stage stage); + } + + [CCode (type_id = "CLUTTER_TYPE_COLOR", cheader_filename = "clutter/clutter.h")] + public struct Color { + public static GLib.HashFunc hash; + public static GLib.EqualFunc equal; + [CCode (cname = "clutter_color_from_hls")] + public Color.from_hls (float hue, float luminance, float saturation); + [CCode (cname = "clutter_color_from_pixel")] + public Color.from_pixel (uint32 pixel); + [CCode (cname = "clutter_color_from_string")] + public Color.from_string (string str); + [CCode (cname = "clutter_color_from_string")] + public bool parse_string (string str); + } + + [CCode (cheader_filename = "clutter/clutter.h", type_id = "clutter_container_get_type ()")] + public interface Container : GLib.Object { + public void add (params Clutter.Actor[] actors); + [CCode (vfunc_name = "add")] + public abstract void add_actor (Clutter.Actor actor); + public void add_valist (Clutter.Actor first_actor, void* var_args); + [CCode (cname = "clutter_container_class_find_child_property")] + public class unowned GLib.ParamSpec find_child_property (string property_name); + [CCode (cname = "clutter_container_class_list_child_properties")] + public class unowned GLib.ParamSpec[] list_child_properties (); + } + + [CCode (type_id = "clutter_list_model_get_type ()", cheader_filename = "clutter/clutter.h")] + public class ListModel : Clutter.Model, Clutter.Scriptable { + [CCode (cname = "clutter_list_model_newv", type = "ClutterModel*", has_construct_function = false)] + public ListModel.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types, [CCode (array_length_pos = 0.9)] string[] names); + } + + [CCode (type_id = "clutter_stage_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Stage : Clutter.Group, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable { + [CCode (cname = "clutter_redraw")] + public void redraw (); + } + + [CCode (cheader_filename = "clutter/clutter.h")] + public interface StageWindow : GLib.Object { + [NoWrapper] + public abstract void add_redraw_clip (Clutter.Geometry stage_rectangle); + [NoWrapper] + public abstract void get_geometry (Clutter.Geometry geometry); + [NoWrapper] + public abstract int get_pending_swaps (); + [NoWrapper] + public abstract unowned Clutter.Actor get_wrapper (); + [NoWrapper] + public abstract bool has_redraw_clips (); + [NoWrapper] + public abstract void hide (); + [NoWrapper] + public abstract bool ignoring_redraw_clips (); + [NoWrapper] + public abstract bool realize (); + [NoWrapper] + public abstract void resize (int width, int height); + [NoWrapper] + public abstract void set_cursor_visible (bool cursor_visible); + [NoWrapper] + public abstract void set_fullscreen (bool is_fullscreen); + [NoWrapper] + public abstract void set_title (string title); + [NoWrapper] + public abstract void set_user_resizable (bool is_resizable); + [NoWrapper] + public abstract void show (bool do_raise); + [NoWrapper] + public abstract void unrealize (); + } + + [CCode (type_id = "clutter_texture_get_type ()", cheader_filename = "clutter/clutter.h")] + public class Texture : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Scriptable { + public Cogl.Material cogl_material { get; set; } + public Cogl.Texture cogl_texture { get; set; } + } + + [Compact] + [CCode (cheader_filename = "clutter/clutter.h")] + public class TimeoutPool { + [CCode (has_construct_function = false)] + public TimeoutPool (int priority); + } + + [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "vala-0.14", replacement = "Threads.add_repaint_func")] + public static uint threads_add_repaint_func (GLib.SourceFunc func, void* data, GLib.DestroyNotify notify); + [CCode (cheader_filename = "clutter/clutter.h")] + [Deprecated (since = "vala-0.14", replacement = "Threads.remove_repaint_func")] + public static void threads_remove_repaint_func (uint handle_id); + + [CCode (cprefix = "CLUTTER_FEATURE_", cheader_filename = "clutter/clutter.h")] + [Flags] + public enum FeatureFlags { + TEXTURE_NPOT; + [CCode (cname = "clutter_feature_available")] + public bool is_available (); + [CCode (cname = "clutter_feature_get_all")] + public static Clutter.FeatureFlags @get (); + } + + [CCode (type_id = "CLUTTER_TYPE_UNITS", cheader_filename = "clutter/clutter.h")] + public struct Units { + [CCode (cname = "clutter_units_from_em")] + public Units.from_em (float em); + [CCode (cname = "clutter_units_from_em_for_font")] + public Units.from_em_for_font (string font_name, float em); + [CCode (cname = "clutter_units_from_mm")] + public Units.from_mm (float mm); + [CCode (cname = "clutter_units_from_pixels")] + public Units.from_pixels (int px); + [CCode (cname = "clutter_units_from_pt")] + public Units.from_pt (float pt); + [CCode (cname = "clutter_units_from_string")] + public Units.from_string (string str); + } +} diff --git a/vapi/metadata/Clutter-1.0.metadata b/vapi/metadata/Clutter-1.0.metadata new file mode 100644 index 000000000..71de9493f --- /dev/null +++ b/vapi/metadata/Clutter-1.0.metadata @@ -0,0 +1,154 @@ +// Vala specific +Event.type#method name="get_type" +Actor + .queue_redraw#signal skip + .queue_redraw#virtual_method skip + .has_pointer#method name="get_has_pointer" +ActorBox + .new skip + .from_vertices skip +ActorClass.queue_redraw skip +Color.new skip +color_hash skip +color_equal skip +container_class_find_child_property skip +container_class_list_child_properties skip +redraw skip +util_next_p2 name="next_power_of_2" parent="Clutter.Util" +feature_available skip +feature_get_all skip +frame_source_* name="frame_source_(.+)" parent="Clutter.FrameSource" skip=false +InitError errordomain=false +Stage.read_pixels owned + .width default=-1 + .height default=-1 +threads_* name="threads_(.+)" parent="Clutter.Threads" skip=false +threads_add_frame_source name="add" parent="Clutter.Threads.FrameSource" skip=false +threads_add_frame_source_full name="add_full" parent="Clutter.Threads.FrameSource" skip=false +threads_add_idle name="add" parent="Clutter.Threads.Idle" skip=false +threads_add_idle_full name="add_full" parent="Clutter.Threads.Idle" skip=false +threads_add_timeout name="add" parent="Clutter.Threads.Timeout" skip=false +threads_add_timeout_full name="add_full" parent="Clutter.Threads.Timeout" skip=false +value_* name="value_(.+)" parent="Clutter.Value" +value_get_color nullable +value_get_fixed nullable +value_get_shader_float array array_length_idx=1 +value_get_shader_int array array_length_idx=1 +value_get_units owned +value_set_shader_float.floats array array_length_idx=1 +value_set_shader_int.ints array array_length_idx=1 +value_set_shader_matrix.matrix array array_length_idx=1 +Text + .insert_text#signal skip + .position_to_coords.line_height default=null +Vertex.new skip + +// Non mini-object +ActorBox struct +Color struct +Fog struct +Geometry struct +Knot struct +PathNode struct +Perspective struct +Units struct +Vertex struct + +// Too many constants +*#constant skip +COGL skip=false +CURRENT_TIME skip=false +FLAVOUR skip=false +*VERSION* skip=false +PATH_RELATIVE skip=false +PRIORITY_REDRAW skip=false + + +// Forward upstream +Actor + .animate* skip=false + .apply_relative_transform_to_point.vertex out owned + .apply_transform.matrix ref + .apply_transform_to_point.vertex out owned + .button_*.event type="Clutter.ButtonEvent" + .get_abs_allocation_vertices.verts owned + .get_allocation_box.box owned + .get_allocation_geometry.geom owned + .get_allocation_vertices.verts owned + .get_parent nullable + .get_stage type="unowned Clutter.Stage" + .enter_event.event type="Clutter.CrossingEvent" + .key_*.event type="Clutter.KeyEvent" + .leave_event.event type="Clutter.CrossingEvent" + .motion_event.event type="Clutter.MotionEvent" + .parent_set.old_parent nullable + .scroll_event.event type="Clutter.ScrollEvent" +Alpha.register_func skip=false +Animator.set skip=false +BehaviourForeachFunc.data closure=2 +BehaviourPath.new_with_knots.knots array array_length_idx=2 +BehaviourRotate.get_bounds.* out +BindingPool + .install_action.callback type="owned BindingActionFunc" + .install_closure.closure type="owned BindingActionFunc" +Box.pack* skip=false +Callback.data closure=1 +Color + .from_* skip +Container + .* skip=false + .add* skip + .foreach_with_internals#virtual_method virtual + .*_child_*#virtual_method virtual + .lower virtual + .raise virtual + .lower.sibling nullable default=null + .raise.sibling nullable default=null +DeviceManager.get_devices type_arguments="Clutter.InputDevice" +frame_source_add skip=false +Event.* skip=false +FeatureFlags.texture_npot skip +get_input_device_for_id parent="Clutter.InputDevice" name="get_for_id" +get_option_group* skip=false +init.argv unowned +init_with_args + .argv unowned + .entries array +Interval.* skip=false +LayoutManager + .child_get skip=false + .child_set skip=false + .create_child_meta skip=false +ListModel + .* skip=false + .newv skip +Model + .append skip=false + .insert skip=false + .insert_row skip=false + .prepend skip=false +ModelIter + .get skip=false + .set skip=false +PathCallback.data closure=1 +Script + .* skip=false + .add_search_paths.paths array array_length_idx=1 +Stage + .event name="emit_event" + .get_default type="unowned Clutter.Stage" + .get_fog.fog out + .read_pixels array +Text + .get_cursor_color.color out + .new_with_text.font_name nullable +Texture + .new_from_file throws="Clutter.TextureError" + .set_area_from_rgb_data.data type="uint8[]" + .set_from_rgb_data.data type="uint8[]" + .set_from_yuv_data.data type="uint8[]" +TimeoutPool skip=false +timeout_pool_new skip +Units.from_* skip + +get_actor_by_gid parent="Clutter.Actor" name="get_by_gid" diff --git a/vapi/packages/clutter-1.0/clutter-1.0-custom.vala b/vapi/packages/clutter-1.0/clutter-1.0-custom.vala deleted file mode 100644 index c894effe2..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0-custom.vala +++ /dev/null @@ -1,199 +0,0 @@ -namespace Clutter { - public class Actor { - [CCode (cname = "clutter_get_actor_by_gid")] - public static unowned Clutter.Actor get_by_gid (uint32 id); - } - - [CCode (dup_function = "clutter_actor_box_copy", free_function = "clutter_actor_box_free")] - public struct ActorBox { - [CCode (cname = "clutter_actor_box_from_vertices")] - public ActorBox.from_vertices (Clutter.Vertex[] verts); - } - - [CCode (get_value_function = "clutter_value_get_color", set_value_function = "clutter_value_set_color", dup_function = "clutter_color_copy", free_function = "clutter_color_free")] - public struct Color { - [CCode (cname = "clutter_color_from_hls")] - public Color.from_hls (float hue, float luminance, float saturation); - [CCode (cname = "clutter_color_from_pixel")] - public Color.from_pixel (uint32 pixel); - [CCode (cname = "clutter_color_from_string")] - public Color.from_string (string str); - [CCode (cname = "clutter_color_from_string")] - public bool parse_string (string str); - - public static GLib.HashFunc hash; - public static GLib.EqualFunc equal; - } - - public interface Container : GLib.Object { - public void add (params Clutter.Actor[] actors); - [CCode (vfunc_name = "add")] - public abstract void add_actor (Clutter.Actor actor); - - public void remove (params Clutter.Actor[] actors); - [CCode (vfunc_name = "remove")] - public abstract void remove_actor (Clutter.Actor actor); - - [NoWrapper] - public virtual void create_child_meta (Clutter.Actor actor); - [NoWrapper] - public virtual void destroy_child_meta (Clutter.Actor actor); - public virtual void foreach_with_internals (Clutter.Callback callback); - public virtual unowned Clutter.ChildMeta get_child_meta (Clutter.Actor actor); - [CCode (vfunc_name = "lower")] - public virtual void lower_child (Clutter.Actor actor, Clutter.Actor? sibling = null); - [CCode (vfunc_name = "raise")] - public virtual void raise_child (Clutter.Actor actor, Clutter.Actor? sibling = null); - public virtual void sort_depth_order (); - - public GLib.List get_children (); - } - - [CCode (cheader_filename = "clutter/clutter.h")] - namespace FrameSource { - public static uint add (uint fps, GLib.SourceFunc func); - public static uint add_full (int priority, uint fps, owned GLib.SourceFunc func); - } - - public class InputDevice { - [CCode (cname = "clutter_get_input_device_for_id")] - public static unowned Clutter.InputDevice get_for_id (int id); - } - - [CCode (cname = "GParamSpec")] - public class ParamSpecColor: GLib.ParamSpec { - [CCode (cname = "clutter_param_spec_color")] - public ParamSpecColor (string name, string nick, string blurb, Clutter.Color default_value, GLib.ParamFlags flags); - } - - [CCode (cname = "GParamSpec")] - public class ParamSpecFixed: GLib.ParamSpec { - [CCode (cname = "clutter_param_spec_fixed")] - public ParamSpecFixed (string name, string nick, string blurb, Cogl.Fixed minimum, Cogl.Fixed maximum, Cogl.Fixed default_value, GLib.ParamFlags flags); - } - - [CCode (cname = "GParamSpec")] - public class ParamSpecUnits: GLib.ParamSpec { - [CCode (cname = "clutter_param_spec_units")] - public ParamSpecUnits (string name, string nick, string blurb, Clutter.Units minimum, Clutter.Units maximum, Clutter.Units default_value, GLib.ParamFlags flags); - } - - public class Shader { - public Cogl.Shader get_cogl_fragment_shader (); - public Cogl.Program get_cogl_program (); - public Cogl.Shader get_cogl_vertex_shader (); - } - - public class Stage { - [CCode (cname = "clutter_redraw")] - public void redraw (); - } - - public class Texture { - [CCode (type = "ClutterActor*", has_construct_function = false)] - public Texture.from_file (string filename) throws TextureError; - public Cogl.Material cogl_material { get; set; } - public Cogl.Texture cogl_texture { get; set; } - } - - [CCode (cheader_filename = "clutter/clutter.h")] - namespace Threads { - [CCode (cheader_filename = "clutter/clutter.h")] - namespace FrameSource { - [CCode (cname = "clutter_threads_add_frame_source")] - public static uint add (uint fps, GLib.SourceFunc func); - [CCode (cname = "clutter_threads_add_frame_source_full")] - public static uint add_full (int priority, uint fps, owned GLib.SourceFunc func); - } - - [CCode (cheader_filename = "clutter/clutter.h")] - namespace Idle { - [CCode (cname = "clutter_threads_add_idle")] - public static uint add (GLib.SourceFunc func); - [CCode (cname = "clutter_threads_add_idle_full")] - public static uint add_full (int priority, owned GLib.SourceFunc func); - } - - [CCode (cheader_filename = "clutter/clutter.h")] - namespace Timeout { - [CCode (cname = "clutter_threads_add_timeout")] - public static uint add (uint interval, GLib.SourceFunc func); - [CCode (cname = "clutter_threads_add_timeout_full")] - public static uint add_full (int priority, uint interval, owned GLib.SourceFunc func); - } - - public static void enter (); - public static void init (); - public static void leave (); - public static void set_lock_functions (GLib.Callback enter_fn, GLib.Callback leave_fn); - } - [CCode (type_id = "CLUTTER_TYPE_UNITS", get_value_function = "clutter_value_get_unit", set_value_function = "clutter_value_set_unit", dup_function = "clutter_units_copy", free_function = "clutter_units_free")] - public struct Units { - public Clutter.UnitType unit_type; - public float value; - public float pixels; - public uint pixels_set; - [CCode (cname = "clutter_units_from_em")] - public Units.from_em (float em); - [CCode (cname = "clutter_units_from_em_for_font")] - public Units.from_em_for_font (string font_name, float em); - [CCode (cname = "clutter_units_from_mm")] - public Units.from_mm (float mm); - [CCode (cname = "clutter_units_from_pixels")] - public Units.from_pixels (int px); - [CCode (cname = "clutter_units_from_pt")] - public Units.from_pt (float pt); - [CCode (cname = "clutter_units_from_string")] - public Units.from_string (string str); - public Clutter.UnitType get_unit_type (); - public float get_unit_value (); - public float to_pixels (); - public unowned string to_string (); - } - - [CCode (cheader_filename = "clutter/clutter.h")] - namespace Util { - [CCode (cname = "clutter_util_next_p2")] - public static int next_power_of_2 (int a); - } - - [CCode (cprefix = "clutter_value_", cheader_filename = "clutter/clutter.h")] - namespace Value { - public unowned Clutter.Color? get_color (GLib.Value value); - public void set_color (GLib.Value value, Clutter.Color color); - - public unowned Cogl.Fixed? get_fixed (GLib.Value value); - public void set_fixed (GLib.Value value, Cogl.Fixed fixed_); - - public unowned Clutter.Units get_units (GLib.Value value); - public void set_units (GLib.Value value, Clutter.Units units); - - public unowned float[] get_shader_float (GLib.Value value); - public void set_shader_float (GLib.Value value, [CCode (array_length_pos = 1.9)] float[] floats); - - public unowned int[] get_shader_int (GLib.Value value); - public void set_shader_int (GLib.Value value, [CCode (array_length_pos = 1.9)] int[] ints); - - public unowned float[] get_shader_matrix (GLib.Value value); - public void set_shader_matrix (GLib.Value value, [CCode (array_length_pos = 1.9)] float[] matrix); - } - - [CCode (cprefix = "CLUTTER_FEATURE_")] - [Flags] - public enum FeatureFlags { - TEXTURE_NPOT, - SYNC_TO_VBLANK, - TEXTURE_YUV, - TEXTURE_READ_PIXELS, - STAGE_STATIC, - STAGE_USER_RESIZE, - STAGE_CURSOR, - SHADERS_GLSL, - OFFSCREEN, - STAGE_MULTIPLE; - [CCode (cname = "clutter_feature_available")] - public bool is_available (); - [CCode (cname = "clutter_feature_get_all")] - public static Clutter.FeatureFlags get (); - } -} diff --git a/vapi/packages/clutter-1.0/clutter-1.0.defines b/vapi/packages/clutter-1.0/clutter-1.0.defines deleted file mode 100644 index e6e34edd8..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.defines +++ /dev/null @@ -1,2 +0,0 @@ --DCLUTTER_COMPILATION --DCLUTTER_DISABLE_DEPRECATED diff --git a/vapi/packages/clutter-1.0/clutter-1.0.deps b/vapi/packages/clutter-1.0/clutter-1.0.deps deleted file mode 100644 index 97e37b1d8..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.deps +++ /dev/null @@ -1,3 +0,0 @@ -cairo -pango -cogl-1.0 diff --git a/vapi/packages/clutter-1.0/clutter-1.0.excludes b/vapi/packages/clutter-1.0/clutter-1.0.excludes deleted file mode 100644 index 40a921350..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.excludes +++ /dev/null @@ -1,6 +0,0 @@ -clutter-keysyms.h -clutter-deprecated.h -x11/clutter-x11.h -x11/clutter-x11-texture-pixmap.h -glx/clutter-glx.h -glx/clutter-glx-texture-pixmap.h diff --git a/vapi/packages/clutter-1.0/clutter-1.0.files b/vapi/packages/clutter-1.0/clutter-1.0.files deleted file mode 100644 index f51308158..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.files +++ /dev/null @@ -1,2 +0,0 @@ -include/clutter-1.0/clutter/ -lib/libclutter-glx-1.0.so diff --git a/vapi/packages/clutter-1.0/clutter-1.0.gi b/vapi/packages/clutter-1.0/clutter-1.0.gi deleted file mode 100644 index 83adb5e98..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.gi +++ /dev/null @@ -1,7504 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata deleted file mode 100644 index dc2dfed42..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.metadata +++ /dev/null @@ -1,488 +0,0 @@ -Clutter cheader_filename="clutter/clutter.h" gir_namespace="Clutter" gir_version="1.0" - -ClutterActor:clip accessor_method="0" -ClutterActor:scale_gravity accessor_method="1" -ClutterActor::destroy has_emitter="1" -ClutterActor::event has_emitter="1" -ClutterActor::hide has_emitter="1" -ClutterActor::paint has_emitter="1" -ClutterActor::pick has_emitter="1" -ClutterActor::queue_redraw hidden="1" -ClutterActor::queue_relayout has_emitter="1" -ClutterActor::realize has_emitter="1" -ClutterActor::show has_emitter="1" -ClutterActor::unrealize has_emitter="1" -ClutterActor::button_press_event.event type_name="ButtonEvent" -ClutterActor::button_release_event.event type_name="ButtonEvent" -ClutterActor::enter_event.event type_name="CrossingEvent" -ClutterActor::leave_event.event type_name="CrossingEvent" -ClutterActor::key_press_event.event type_name="KeyEvent" -ClutterActor::key_release_event.event type_name="KeyEvent" -ClutterActor::motion_event.event type_name="MotionEvent" -ClutterActor::scroll_event.event type_name="ScrollEvent" -ClutterActor::parent_set.old_parent nullable="1" -clutter_actor_animate_with_alphav.n_properties hidden="1" -clutter_actor_animate_with_alphav.properties array_length_pos="1.9" -clutter_actor_animate_with_alphav.values is_array="1" array_length_pos="1.9" -clutter_actor_animate_with_timelinev.n_properties hidden="1" -clutter_actor_animate_with_timelinev.properties array_length_pos="2.9" -clutter_actor_animate_with_timelinev.values is_array="1" array_length_pos="2.9" -clutter_actor_animatev.n_properties hidden="1" -clutter_actor_animatev.properties array_length_pos="2.9" -clutter_actor_animatev.values is_array="1" array_length_pos="2.9" -clutter_actor_apply_relative_transform_to_point.ancestor nullable="1" -clutter_actor_apply_relative_transform_to_point.vertex is_out="1" transfer_ownership="1" -clutter_actor_apply_transform.matrix is_ref="1" -clutter_actor_apply_transform_to_point.vertex is_out="1" transfer_ownership="1" -clutter_actor_has_clip name="get_has_clip" hidden="1" -clutter_actor_has_pointer name="get_has_pointer" -clutter_actor_get_abs_allocation_vertices.verts no_array_length="1" -clutter_actor_get_allocation_box.box is_out="1" -clutter_actor_get_allocation_geometry.geom is_out="1" -clutter_actor_get_anchor_point.anchor_* is_out="1" -clutter_actor_get_clip.* is_out="1" -clutter_actor_get_depth hidden="1" -clutter_actor_get_fixed_position_set hidden="1" -clutter_actor_get_height hidden="1" -clutter_actor_get_opacity hidden="1" -clutter_actor_get_reactive hidden="1" -clutter_actor_get_name hidden="1" -clutter_actor_get_parent nullable="1" -clutter_actor_get_position.* is_out="1" -clutter_actor_get_preferred_height.min_height_p is_out="1" -clutter_actor_get_preferred_height.natural_height_p is_out="1" -clutter_actor_get_preferred_size.* is_out="1" nullable="1" -clutter_actor_get_preferred_width.min_width_p is_out="1" -clutter_actor_get_preferred_width.natural_width_p is_out="1" -clutter_actor_get_rotation.x is_out="1" -clutter_actor_get_rotation.y is_out="1" -clutter_actor_get_rotation.z is_out="1" -clutter_actor_get_scale.* is_out="1" -clutter_actor_get_scale_center.* is_out="1" -clutter_actor_get_scale_gravity hidden="1" -clutter_actor_get_size.* is_out="1" -clutter_actor_get_stage type_name="Stage" -clutter_actor_get_transformation_matrix type_name="Cogl.Matrix" -clutter_actor_get_transformation_matrix.matrix hidden="1" -clutter_actor_get_transformed_position.* is_out="1" -clutter_actor_get_transformed_size.* is_out="1" -clutter_actor_get_width hidden="1" -clutter_actor_get_x hidden="1" -clutter_actor_get_y hidden="1" -clutter_actor_set_depth hidden="1" -clutter_actor_set_height hidden="1" -clutter_actor_set_opacity hidden="1" -clutter_actor_set_reactive hidden="1" -clutter_actor_set_name hidden="1" -clutter_actor_set_width hidden="1" -clutter_actor_set_x hidden="1" -clutter_actor_set_y hidden="1" -clutter_actor_transform_stage_point.x_out is_out="1" -clutter_actor_transform_stage_point.y_out is_out="1" - -ClutterActorBox is_value_type="1" -clutter_actor_box_copy hidden="1" -clutter_actor_box_free hidden="1" -clutter_actor_box_from_vertices hidden="1" -clutter_actor_box_get_origin.x is_out="1" -clutter_actor_box_get_origin.y is_out="1" -clutter_actor_box_get_size.width is_out="1" -clutter_actor_box_get_size.height is_out="1" -clutter_actor_box_new hidden="1" - -clutter_alpha_get_alpha hidden="1" -clutter_alpha_get_mode hidden="1" -clutter_alpha_get_timeline hidden="1" -clutter_alpha_register_func.data hidden="1" -clutter_alpha_set_mode hidden="1" -clutter_alpha_set_timeline hidden="1" -clutter_alpha_set_func.data hidden="1" -clutter_alpha_set_func.func transfer_ownership="1" -clutter_alpha_set_func.destroy hidden="1" -clutter_alpha_new_with_func.data hidden="1" -clutter_alpha_new_with_func.func transfer_ownership="1" -clutter_alpha_new_with_func.destroy hidden="1" - -ClutterAnimation::completed has_emitter="1" -clutter_animation_get_alpha hidden="1" -clutter_animation_get_duration hidden="1" -clutter_animation_get_loop hidden="1" -clutter_animation_get_mode hidden="1" -clutter_animation_get_object hidden="1" -clutter_animation_get_timeline hidden="1" -clutter_animation_set_alpha hidden="1" -clutter_animation_set_duration hidden="1" -clutter_animation_set_loop hidden="1" -clutter_animation_set_mode hidden="1" -clutter_animation_set_object hidden="1" -clutter_animation_set_timeline hidden="1" - -clutter_animator_get_keys type_arguments="unowned AnimatorKey" transfer_ownership="1" - -ClutterAnyEvent is_value_type="1" - -clutter_behaviour_actors_foreach.data hidden="1" -clutter_behaviour_get_actors type_arguments="Actor" -clutter_behaviour_get_alpha hidden="1" -clutter_behaviour_set_alpha hidden="1" - -clutter_behaviour_depth_get_bounds.depth_* is_out="1" - -ClutterBehaviourEllipse:center accessor_method="0" -clutter_behaviour_ellipse_get_center.* is_out="1" -clutter_behaviour_ellipse_get_tilt.* is_out="1" -clutter_behaviour_ellipse_get_angle_end hidden="1" -clutter_behaviour_ellipse_get_angle_start hidden="1" -clutter_behaviour_ellipse_get_direction hidden="1" -clutter_behaviour_ellipse_get_width hidden="1" -clutter_behaviour_ellipse_get_height hidden="1" -clutter_behaviour_ellipse_set_angle_end hidden="1" -clutter_behaviour_ellipse_set_angle_start hidden="1" -clutter_behaviour_ellipse_set_direction hidden="1" -clutter_behaviour_ellipse_set_width hidden="1" -clutter_behaviour_ellipse_set_height hidden="1" - -clutter_behaviour_opacity_get_bounds.opacity_* is_out="1" - -clutter_behaviour_path_get_path hidden="1" -clutter_behaviour_path_set_path hidden="1" - -clutter_behaviour_rotate_get_axis hidden="1" -clutter_behaviour_rotate_get_bounds.angle_* is_out="1" -clutter_behaviour_rotate_get_center.* is_out="1" -clutter_behaviour_rotate_get_direction hidden="1" -clutter_behaviour_rotate_set_axis hidden="1" -clutter_behaviour_rotate_set_direction hidden="1" - -clutter_behaviour_scale_get_bounds.* is_out="1" - -clutter_binding_pool_install_action.data hidden="1" -clutter_binding_pool_install_action.callback type_name="BindingActionFunc" transfer_ownership="1" ctype="GCallback" -clutter_binding_pool_install_action.notify hidden="1" -clutter_binding_pool_install_closure.closure type_name="BindingActionFunc" transfer_ownership="1" ctype="GClosure*" - -clutter_binding_pool_override_action.data hidden="1" -clutter_binding_pool_override_action.callback transfer_ownership="1" -clutter_binding_pool_override_action.notify hidden="1" - -ClutterBindingActionFunc has_target="1" - -clutter_box_clutter_padding_* hidden="1" - -ClutterButtonEvent is_value_type="1" - -clutter_cairo_texture_create transfer_ownership="1" -clutter_cairo_texture_create_region transfer_ownership="1" -clutter_cairo_texture_get_surface_size.* is_out="1" - -clutter_child_meta_get_actor hidden="1" -clutter_child_meta_get_container hidden="1" - -clutter_clone_get_source hidden="1" -clutter_clone_set_source hidden="1" - -ClutterColor is_value_type="1" free_function="clutter_color_free" dup_function="clutter_color_copy" -clutter_color_add.result is_out="1" -clutter_color_copy hidden="1" -clutter_color_darken.result is_out="1" -clutter_color_equal hidden="1" -clutter_color_free hidden="1" -clutter_color_from_hls hidden="1" -clutter_color_from_pixel hidden="1" -clutter_color_from_string hidden="1" -clutter_color_hash hidden="1" -clutter_color_lighten.result is_out="1" -clutter_color_new hidden="1" -clutter_color_shade.result is_out="1" -clutter_color_subtract.result is_out="1" -clutter_color_to_hls.* is_out="1" -clutter_color_to_string transfer_ownership="1" - -clutter_container_add hidden="1" -clutter_container_add_actor hidden="1" -clutter_container_get_children hidden="1" -clutter_container_create_child_meta virtual="1" abstract="0" -clutter_container_create_child_meta hidden="1" -clutter_container_destroy_child_meta hidden="1" -clutter_container_foreach_with_internals hidden="1" -clutter_container_get_child_meta hidden="1" -clutter_container_lower hidden="1" -clutter_container_lower_child hidden="1" -clutter_container_raise hidden="1" -clutter_container_raise_child hidden="1" -clutter_container_remove hidden="1" -clutter_container_remove_actor hidden="1" -clutter_container_sort_depth_order hidden="1" - -ClutterCrossingEvent is_value_type="1" - -clutter_device_manager_list_devices type_arguments="unowned InputDevice" transfer_ownership="1" -clutter_device_manager_peek_devices type_arguments="InputDevice" -clutter_device_manager_get_devices type_arguments="InputDevice" - -clutter_event_get_coords.x is_out="1" -clutter_event_get_coords.y is_out="1" -clutter_event_type name="get_type" - -ClutterFeatureFlags hidden="1" -clutter_feature_available hidden="1" -clutter_feature_get_all hidden="1" -clutter_frame_source_add hidden="1" -clutter_frame_source_add_full hidden="1" - -ClutterFog is_value_type="1" - -ClutterGeometry is_value_type="1" - -clutter_get_actor_by_gid hidden="1" -clutter_get_input_device_for_id hidden="1" -clutter_get_option_group transfer_ownership="1" -clutter_get_option_group_without_init transfer_ownership="1" - -clutter_init.argc hidden="1" -clutter_init.argv is_array="1" is_ref="1" array_length_pos="0.9" -clutter_init_with_args.argc hidden="1" -clutter_init_with_args.argv is_array="1" is_ref="1" array_length_pos="0.9" -clutter_init_with_args.entries is_array="1" no_array_length="1" - -clutter_interval_compute_value.value is_out="1" -clutter_interval_get_final_value.value is_out="1" -clutter_interval_get_initial_value.value is_out="1" -clutter_interval_get_interval ellipsis="1" -clutter_interval_get_value_type hidden="1" - -ClutterKeyEvent is_value_type="1" -ClutterKnot is_value_type="1" - -ClutterLayoutManager::layout_changed has_emitter="1" -clutter_layout_manager_get_preferred_height.min_height_p is_out="1" -clutter_layout_manager_get_preferred_height.nat_height_p is_out="1" -clutter_layout_manager_get_preferred_width.min_width_p is_out="1" -clutter_layout_manager_get_preferred_width.nat_width_p is_out="1" - -clutter_list_model_newv.n_columns hidden="1" -clutter_list_model_newv.types array_length_pos="0.9" -clutter_list_model_newv.names array_length_pos="0.9" - -clutter_model_append ellipsis="1" -clutter_model_appendv.n_columns hidden="1" -clutter_model_appendv.columns is_array="1" array_length_pos="0.9" -clutter_model_appendv.values is_array="1" array_length_pos="0.9" -clutter_model_insertv.n_columns hidden="1" -clutter_model_insertv.columns is_array="1" array_length_pos="1.9" -clutter_model_insertv.values is_array="1" array_length_pos="1.9" -clutter_model_set_filter.func transfer_ownership="1" -clutter_model_set_filter.notify hidden="1" -clutter_model_set_names.n_columns hidden="1" -clutter_model_set_names.names array_length_pos="0.9" -clutter_model_set_sort.func transfer_ownership="1" -clutter_model_set_sort.notify hidden="1" -clutter_model_set_types.n_columns hidden="1" -clutter_model_set_types.types array_length_pos="0.9" - -clutter_model_iter_get ellipsis="1" -clutter_model_iter_get_valist hidden="1" -clutter_model_iter_get_value.value is_out="1" -clutter_model_iter_set ellipsis="1" -clutter_model_iter_set_valist hidden="1" -clutter_model_iter:model transfer_ownership="0" - -ClutterMotionEvent is_value_type="1" - -ClutterParamSpecColor base_class="GParamSpec" -ClutterParamSpecColor.parent_instance hidden="1" -ClutterParamSpecFixed base_class="GParamSpec" -ClutterParamSpecFixed.parent_instance hidden="1" -ClutterParamSpecUnits base_class="GParamSpec" -ClutterParamSpecUnits.parent_instance hidden="1" -clutter_param_color_get_type hidden="1" -clutter_param_fixed_get_type hidden="1" -clutter_param_spec_color hidden="1" -clutter_param_spec_fixed hidden="1" -clutter_param_spec_units hidden="1" - -clutter_path_get_description hidden="1" -clutter_path_get_length hidden="1" -clutter_path_get_nodes type_arguments="unowned PathNode" transfer_ownership="1" - -ClutterPathNode is_value_type="1" -ClutterPerspective is_value_type="1" - -clutter_rectangle_get_border_color hidden="1" -clutter_rectangle_get_border_width hidden="1" -clutter_rectangle_get_color hidden="1" -clutter_rectangle_set_border_color hidden="1" -clutter_rectangle_set_border_width hidden="1" -clutter_rectangle_set_color hidden="1" - -clutter_redraw hidden="1" - -clutter_score_append.parent nullable="1" -clutter_score_list_timelines type_arguments="unowned Timeline" transfer_ownership="1" - -clutter_script_list_objects type_arguments="unowned GLib.Object" transfer_ownership="1" - -ClutterScrollEvent is_value_type="1" - -clutter_shader_get_cogl_fragment_shader hidden="1" -clutter_shader_get_cogl_program hidden="1" -clutter_shader_get_cogl_vertex_shader hidden="1" - -ClutterShaderFloat hidden="1" -ClutterShaderInt hidden="1" -ClutterShaderMatrix hidden="1" - -ClutterShaderError errordomain="1" - -ClutterStage:fullscreen hidden="1" -ClutterStage:perspective accessor_method="0" -ClutterStage::fullscreen has_emitter="1" -ClutterStage::unfullscreen has_emitter="1" -clutter_stage_event name="emit_event" -clutter_stage_get_color hidden="1" -clutter_stage_get_default type_name="Stage" -clutter_stage_get_fog hidden="1" -clutter_stage_get_perspective.perspective is_out="1" -clutter_stage_get_title hidden="1" -clutter_stage_get_use_fog hidden="1" -clutter_stage_get_user_resizable hidden="1" -clutter_stage_set_color hidden="1" -clutter_stage_set_fog hidden="1" -clutter_stage_set_title hidden="1" -clutter_stage_set_use_fog hidden="1" -clutter_stage_set_user_resizable hidden="1" - -clutter_stage_manager_get_default_stage hidden="1" -clutter_stage_manager_list_stages type_arguments="Stage" -clutter_stage_manager_peek_stages type_arguments="Stage" -clutter_stage_manager_set_default_stage hidden="1" -clutter_stage_read_pixels transfer_ownership="1" no_array_length="1" -clutter_stage_read_pixels.width default_value="-1" -clutter_stage_read_pixels.height default_value="-1" -clutter_stage_set_key_focus.actor nullable="1" - -ClutterStageStateEvent is_value_type="1" - -ClutterText::activate has_emitter="1" -ClutterText::delete_text has_emitter="1" -ClutterText::insert_text hidden="1" -clutter_text_get_activatable hidden="1" -clutter_text_get_color hidden="1" -clutter_text_get_cursor_color hidden="1" -clutter_text_get_cursor_size hidden="1" -clutter_text_get_cursor_visible hidden="1" -clutter_text_get_editable hidden="1" -clutter_text_get_ellipsize hidden="1" -clutter_text_get_font_name hidden="1" -clutter_text_get_justify hidden="1" -clutter_text_get_line_alignment hidden="1" -clutter_text_get_line_wrap hidden="1" -clutter_text_get_line_wrap_mode hidden="1" -clutter_text_get_max_length hidden="1" -clutter_text_get_password_char hidden="1" -clutter_text_get_selectable hidden="1" -clutter_text_get_selection_bound hidden="1" -clutter_text_get_selection_color hidden="1" -clutter_text_get_single_line_mode hidden="1" -clutter_text_get_text hidden="1" -clutter_text_get_use_markup hidden="1" -clutter_text_new_with_text.font_name nullable="1" -clutter_text_position_to_coords.x is_out="1" nullable="1" transfer_ownership="1" default_value="null" -clutter_text_position_to_coords.y is_out="1" nullable="1" transfer_ownership="1" default_value="null" -clutter_text_position_to_coords.line_height is_out="1" transfer_ownership="1" nullable="1" default_value="null" -clutter_text_set_activatable hidden="1" -clutter_text_set_color hidden="1" -clutter_text_set_cursor_color hidden="1" -clutter_text_set_cursor_size hidden="1" -clutter_text_set_cursor_visible hidden="1" -clutter_text_set_editable hidden="1" -clutter_text_set_ellipsize hidden="1" -clutter_text_set_font_name hidden="1" -clutter_text_set_justify hidden="1" -clutter_text_set_line_alignment hidden="1" -clutter_text_set_line_wrap hidden="1" -clutter_text_set_line_wrap_mode hidden="1" -clutter_text_set_max_length hidden="1" -clutter_text_set_password_char hidden="1" -clutter_text_set_selectable hidden="1" -clutter_text_set_selection_bound hidden="1" -clutter_text_set_selection_color hidden="1" -clutter_text_set_single_line_mode hidden="1" -clutter_text_set_text hidden="1" -clutter_text_set_use_markup hidden="1" - -ClutterTextureError errordomain="1" -ClutterTexture:cogl-texture hidden="1" -ClutterTexture:cogl-material hidden="1" -clutter_texture_new_from_file hidden="1" -clutter_texture_get_base_size.* is_out="1" -clutter_texture_get_cogl_* hidden="1" -clutter_texture_get_filter_quality hidden="1" -clutter_texture_get_keep_aspect_ratio hidden="1" -clutter_texture_get_load_async hidden="1" -clutter_texture_get_load_data_async hidden="1" -clutter_texture_get_max_tile_waste hidden="1" -clutter_texture_get_pixel_format hidden="1" -clutter_texture_get_sync_size hidden="1" -clutter_texture_set_cogl_* hidden="1" -clutter_texture_set_filter_quality hidden="1" -clutter_texture_set_from_rgb_data.data no_array_length="1" -clutter_texture_set_from_yuv_data.data no_array_length="1" -clutter_texture_set_keep_aspect_ratio hidden="1" -clutter_texture_set_load_async hidden="1" -clutter_texture_set_load_data_async hidden="1" -clutter_texture_get_repeat.* is_out="1" -clutter_texture_set_sync_size hidden="1" - -clutter_threads_add_frame_source hidden="1" -clutter_threads_add_frame_source_full hidden="1" -clutter_threads_add_idle hidden="1" -clutter_threads_add_idle_full hidden="1" -clutter_threads_add_timeout hidden="1" -clutter_threads_add_timeout_full hidden="1" -clutter_threads_enter hidden="1" -clutter_threads_init hidden="1" -clutter_threads_leave hidden="1" -clutter_threads_set_lock_functions hidden="1" - -clutter_timeline_get_delay hidden="1" -clutter_timeline_get_delta hidden="1" -clutter_timeline_get_direction hidden="1" -clutter_timeline_get_duration hidden="1" -clutter_timeline_get_loop hidden="1" -clutter_timeline_set_delay hidden="1" -clutter_timeline_set_direction hidden="1" -clutter_timeline_set_duration hidden="1" -clutter_timeline_set_loop hidden="1" - -ClutterUnits hidden="1" -clutter_units_from_em hidden="1" -clutter_units_from_mm hidden="1" -clutter_units_from_pixels hidden="1" -clutter_units_from_pt hidden="1" -clutter_units_to_pixels hidden="1" - -clutter_util_next_p2 hidden="1" - -clutter_value_get_color hidden="1" -clutter_value_set_color hidden="1" -clutter_value_get_fixed hidden="1" -clutter_value_set_fixed hidden="1" -clutter_value_get_shader_* hidden="1" -clutter_value_set_shader_* hidden="1" -clutter_value_get_units hidden="1" -clutter_value_set_units hidden="1" - -ClutterVertex is_value_type="1" -clutter_vertex_new hidden="1" -clutter_vertex_free hidden="1" -clutter_vertex_copy hidden="1" - -ClutterX11TexturePixmap::update_area has_emitter="1" - -COGLint name="long" - -Json* hidden="1" -json_* hidden="1" -JsonNode hidden="1" -clutter_scriptable_parse_custom_node hidden="1" diff --git a/vapi/packages/clutter-1.0/clutter-1.0.namespace b/vapi/packages/clutter-1.0/clutter-1.0.namespace deleted file mode 100644 index 0dd5ed917..000000000 --- a/vapi/packages/clutter-1.0/clutter-1.0.namespace +++ /dev/null @@ -1 +0,0 @@ -Clutter