112
114
public virtual void get_preferred_height (float for_width, out float min_height_p, out float natural_height_p);
113
115
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);
114
116
public virtual void get_preferred_width (float for_height, out float min_width_p, out float natural_width_p);
117
public Clutter.RequestMode get_request_mode ();
115
118
public double get_rotation (out Clutter.RotateAxis axis, out float x, out float y, out float z);
116
119
public void get_scale (out double scale_x, out double scale_y);
117
120
public void get_scale_center (out float center_x, out float center_y);
118
121
public unowned Clutter.Shader get_shader ();
119
122
public void get_size (out float width, out float height);
120
123
public unowned Clutter.Stage get_stage ();
124
public Clutter.TextDirection get_text_direction ();
121
125
public void get_transformation_matrix (Cogl.Matrix matrix);
122
126
public void get_transformed_position (out float x, out float y);
123
127
public void get_transformed_size (out float width, out float height);
133
137
public void move_anchor_point (float anchor_x, float anchor_y);
134
138
public void move_anchor_point_from_gravity (Clutter.Gravity gravity);
135
139
public void move_by (float dx, float dy);
140
public void pop_internal ();
141
public void push_internal ();
136
142
public void queue_redraw ();
137
public void queue_relayout ();
138
143
public void raise (Clutter.Actor below);
139
144
public void raise_top ();
140
145
public void remove_clip ();
147
152
public void set_geometry (Clutter.Geometry geometry);
148
153
public void set_parent (Clutter.Actor parent);
149
154
public void set_position (float x, float y);
155
public void set_request_mode (Clutter.RequestMode mode);
150
156
public void set_rotation (Clutter.RotateAxis axis, double angle, float x, float y, float z);
151
157
public void set_scale (double scale_x, double scale_y);
152
158
public void set_scale_full (double scale_x, double scale_y, float center_x, float center_y);
307
319
public virtual signal void started ();
309
321
[CCode (cheader_filename = "clutter/clutter.h")]
322
public class Animator : GLib.Object, Clutter.Scriptable {
323
[CCode (has_construct_function = false)]
325
public bool compute_value (GLib.Object object, string property_name, double progress, GLib.Value value);
326
public uint get_duration ();
327
public unowned GLib.List get_keys (GLib.Object object, string property_name, double progress);
328
public unowned Clutter.Timeline get_timeline ();
329
public bool property_get_ease_in (GLib.Object object, string property_name);
330
public Clutter.Interpolation property_get_interpolation (GLib.Object object, string property_name);
331
public void property_set_ease_in (GLib.Object object, string property_name, bool ease_in);
332
public void property_set_interpolation (GLib.Object object, string property_name, Clutter.Interpolation interpolation);
333
public void remove_key (GLib.Object object, string property_name, double progress);
334
public void @set (void* first_object, string first_property_name, uint first_mode, ...);
335
public void set_duration (uint duration);
336
public unowned Clutter.Animator set_key (GLib.Object object, string property_name, uint mode, double progress, GLib.Value value);
337
public void set_timeline (Clutter.Timeline timeline);
338
public unowned Clutter.Timeline start ();
339
public uint duration { get; set; }
340
public Clutter.Timeline timeline { get; set; }
343
[CCode (type_id = "CLUTTER_TYPE_ANIMATOR_KEY", cheader_filename = "clutter/clutter.h")]
344
public class AnimatorKey {
345
public ulong get_mode ();
346
public unowned GLib.Object get_object ();
347
public double get_progress ();
348
public unowned string get_property_name ();
349
public GLib.Type get_property_type ();
350
public bool get_value (GLib.Value value);
352
[CCode (cheader_filename = "clutter/clutter.h")]
310
353
public class Backend : GLib.Object {
312
355
public virtual void add_options (GLib.OptionGroup group);
314
public virtual bool create_context (bool is_offscreen) throws GLib.Error;
357
public virtual bool create_context () throws GLib.Error;
316
public virtual unowned Clutter.Actor create_stage (Clutter.Stage wrapper) throws GLib.Error;
359
public virtual unowned Clutter.StageWindow create_stage (Clutter.Stage wrapper) throws GLib.Error;
318
361
public virtual void ensure_context (Clutter.Stage stage);
363
public virtual unowned Clutter.DeviceManager get_device_manager ();
319
364
public uint get_double_click_distance ();
320
365
public uint get_double_click_time ();
358
403
public virtual signal void removed (Clutter.Actor actor);
360
405
[CCode (cheader_filename = "clutter/clutter.h")]
361
public class BehaviourDepth : Clutter.Behaviour {
406
public class BehaviourDepth : Clutter.Behaviour, Clutter.Scriptable {
362
407
[CCode (type = "ClutterBehaviour*", has_construct_function = false)]
363
408
public BehaviourDepth (Clutter.Alpha alpha, int depth_start, int depth_end);
364
409
public void get_bounds (out int depth_start, out int depth_end);
369
414
public int depth_start { get; set; }
371
416
[CCode (cheader_filename = "clutter/clutter.h")]
372
public class BehaviourEllipse : Clutter.Behaviour {
417
public class BehaviourEllipse : Clutter.Behaviour, Clutter.Scriptable {
373
418
[CCode (type = "ClutterBehaviour*", has_construct_function = false)]
374
419
public BehaviourEllipse (Clutter.Alpha alpha, int x, int y, int width, int height, Clutter.RotateDirection direction, double start, double end);
375
420
public double get_angle_tilt (Clutter.RotateAxis axis);
393
438
public int width { get; set; }
395
440
[CCode (cheader_filename = "clutter/clutter.h")]
396
public class BehaviourOpacity : Clutter.Behaviour {
441
public class BehaviourOpacity : Clutter.Behaviour, Clutter.Scriptable {
397
442
[CCode (type = "ClutterBehaviour*", has_construct_function = false)]
398
443
public BehaviourOpacity (Clutter.Alpha alpha, uchar opacity_start, uchar opacity_end);
399
444
public void get_bounds (out uchar opacity_start, out uchar opacity_end);
415
460
public virtual signal void knot_reached (uint knot_num);
417
462
[CCode (cheader_filename = "clutter/clutter.h")]
418
public class BehaviourRotate : Clutter.Behaviour {
463
public class BehaviourRotate : Clutter.Behaviour, Clutter.Scriptable {
419
464
[CCode (type = "ClutterBehaviour*", has_construct_function = false)]
420
465
public BehaviourRotate (Clutter.Alpha alpha, Clutter.RotateAxis axis, Clutter.RotateDirection direction, double angle_start, double angle_end);
421
466
public void get_bounds (out double angle_start, out double angle_end);
436
481
public Clutter.RotateDirection direction { get; set; }
438
483
[CCode (cheader_filename = "clutter/clutter.h")]
439
public class BehaviourScale : Clutter.Behaviour {
484
public class BehaviourScale : Clutter.Behaviour, Clutter.Scriptable {
440
485
[CCode (type = "ClutterBehaviour*", has_construct_function = false)]
441
486
public BehaviourScale (Clutter.Alpha alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
442
487
public void get_bounds (out double x_scale_start, out double y_scale_start, out double x_scale_end, out double y_scale_end);
451
496
public double y_scale_start { get; set; }
453
498
[CCode (cheader_filename = "clutter/clutter.h")]
499
public class BinLayout : Clutter.LayoutManager {
500
[CCode (type = "ClutterLayoutManager*", has_construct_function = false)]
501
public BinLayout (Clutter.BinAlignment x_align, Clutter.BinAlignment y_align);
502
public void add (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align);
503
public void get_alignment (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align);
504
public void set_alignment (Clutter.Actor child, Clutter.BinAlignment x_align, Clutter.BinAlignment y_align);
506
public Clutter.BinAlignment x_align { get; set; }
508
public Clutter.BinAlignment y_align { get; set; }
510
[CCode (cheader_filename = "clutter/clutter.h")]
454
511
public class BindingPool : GLib.Object {
455
512
[CCode (has_construct_function = false)]
456
513
public BindingPool (string name);
469
526
public string name { owned get; construct; }
471
528
[CCode (cheader_filename = "clutter/clutter.h")]
529
public class Box : Clutter.Actor, Clutter.Scriptable, Clutter.Container {
530
[CCode (type = "ClutterActor*", has_construct_function = false)]
531
public Box (Clutter.LayoutManager manager);
532
public void get_color (Clutter.Color color);
533
public unowned Clutter.LayoutManager get_layout_manager ();
534
public void pack (Clutter.Actor actor, ...);
535
public void pack_after (Clutter.Actor actor, Clutter.Actor sibling, ...);
536
public void pack_at (Clutter.Actor actor, int position, ...);
537
public void pack_before (Clutter.Actor actor, Clutter.Actor sibling, ...);
538
public void packv (Clutter.Actor actor, uint n_properties, string[] properties, GLib.Value values);
539
public void set_color (Clutter.Color color);
540
public void set_layout_manager (Clutter.LayoutManager manager);
541
public Clutter.Color color { get; set; }
543
public bool color_set { get; set; }
544
public Clutter.LayoutManager layout_manager { get; set construct; }
546
[CCode (cheader_filename = "clutter/clutter.h")]
547
public class BoxLayout : Clutter.LayoutManager {
548
[CCode (type = "ClutterLayoutManager*", has_construct_function = false)]
550
public void get_alignment (Clutter.Actor actor, Clutter.BoxAlignment x_align, Clutter.BoxAlignment y_align);
551
public uint get_easing_duration ();
552
public ulong get_easing_mode ();
553
public bool get_expand (Clutter.Actor actor);
554
public void get_fill (Clutter.Actor actor, bool x_fill, bool y_fill);
555
public bool get_pack_start ();
556
public uint get_spacing ();
557
public bool get_use_animations ();
558
public bool get_vertical ();
559
public void pack (Clutter.Actor actor, bool expand, bool x_fill, bool y_fill, Clutter.BoxAlignment x_align, Clutter.BoxAlignment y_align);
560
public void set_alignment (Clutter.Actor actor, Clutter.BoxAlignment x_align, Clutter.BoxAlignment y_align);
561
public void set_easing_duration (uint msecs);
562
public void set_easing_mode (ulong mode);
563
public void set_expand (Clutter.Actor actor, bool expand);
564
public void set_fill (Clutter.Actor actor, bool x_fill, bool y_fill);
565
public void set_pack_start (bool pack_start);
566
public void set_spacing (uint spacing);
567
public void set_use_animations (bool animate);
568
public void set_vertical (bool vertical);
569
public uint easing_duration { get; set; }
570
public ulong easing_mode { get; set; }
571
public bool pack_start { get; set; }
572
public uint spacing { get; set; }
573
public bool use_animations { get; set; }
574
public bool vertical { get; set; }
576
[CCode (cheader_filename = "clutter/clutter.h")]
472
577
public class CairoTexture : Clutter.Texture, Clutter.Scriptable {
473
578
[CCode (type = "ClutterActor*", has_construct_function = false)]
474
579
public CairoTexture (uint width, uint height);
491
596
public class Clone : Clutter.Actor, Clutter.Scriptable {
492
597
[CCode (type = "ClutterActor*", has_construct_function = false)]
493
598
public Clone (Clutter.Actor source);
494
public Clutter.Actor source { get; construct; }
599
public Clutter.Actor source { get; set construct; }
601
[CCode (cheader_filename = "clutter/clutter.h")]
602
public class DeviceManager : GLib.Object {
604
public virtual void add_device (Clutter.InputDevice device);
605
public virtual unowned Clutter.InputDevice get_core_device (Clutter.InputDeviceType device_type);
606
public static unowned Clutter.DeviceManager get_default ();
607
public virtual unowned Clutter.InputDevice get_device (int device_id);
609
public virtual unowned GLib.SList get_devices ();
610
public unowned GLib.SList list_devices ();
611
public unowned GLib.SList peek_devices ();
613
public virtual void remove_device (Clutter.InputDevice device);
615
public Clutter.Backend backend { owned get; construct; }
616
public virtual signal void device_added (Clutter.InputDevice p0);
617
public virtual signal void device_removed (Clutter.InputDevice p0);
497
620
[CCode (copy_function = "clutter_event_copy", type_id = "CLUTTER_TYPE_EVENT", cheader_filename = "clutter/clutter.h")]
530
653
public void put ();
532
655
[CCode (cheader_filename = "clutter/clutter.h")]
656
public class FixedLayout : Clutter.LayoutManager {
657
[CCode (type = "ClutterLayoutManager*", has_construct_function = false)]
658
public FixedLayout ();
660
[CCode (cheader_filename = "clutter/clutter.h")]
661
public class FlowLayout : Clutter.LayoutManager {
662
[CCode (type = "ClutterLayoutManager*", has_construct_function = false)]
663
public FlowLayout (Clutter.FlowOrientation orientation);
664
public float get_column_spacing ();
665
public void get_column_width (float min_width, float max_width);
666
public bool get_homogeneous ();
667
public Clutter.FlowOrientation get_orientation ();
668
public void get_row_height (float min_height, float max_height);
669
public float get_row_spacing ();
670
public void set_column_spacing (float spacing);
671
public void set_column_width (float min_width, float max_width);
672
public void set_homogeneous (bool homogeneous);
673
public void set_orientation (Clutter.FlowOrientation orientation);
674
public void set_row_height (float min_height, float max_height);
675
public void set_row_spacing (float spacing);
676
public float column_spacing { get; set; }
677
public bool homogeneous { get; set; }
679
public float max_column_width { get; set; }
681
public float max_row_height { get; set; }
683
public float min_column_width { get; set; }
685
public float min_row_height { get; set; }
686
public Clutter.FlowOrientation orientation { get; set construct; }
687
public float row_spacing { get; set; }
689
[CCode (cheader_filename = "clutter/clutter.h")]
533
690
public class Group : Clutter.Actor, Clutter.Scriptable, Clutter.Container {
534
691
[CCode (type = "ClutterActor*", has_construct_function = false)]
537
694
public unowned Clutter.Actor get_nth_child (int index_);
538
695
public void remove_all ();
540
[CCode (ref_function = "clutter_input_device_ref", unref_function = "clutter_input_device_unref", cheader_filename = "clutter/clutter.h")]
541
public class InputDevice {
697
[CCode (cheader_filename = "clutter/clutter.h")]
698
public class InputDevice : GLib.Object {
699
public void get_device_coords (int x, int y);
542
700
public int get_device_id ();
701
public unowned string get_device_name ();
543
702
public Clutter.InputDeviceType get_device_type ();
544
703
[CCode (cname = "clutter_get_input_device_for_id")]
545
704
public static unowned Clutter.InputDevice get_for_id (int id);
705
public unowned Clutter.Actor get_pointer_actor ();
706
public unowned Clutter.Stage get_pointer_stage ();
707
public void update_from_event (Clutter.Event event, bool update_stage);
708
public Clutter.InputDeviceType device_type { get; construct; }
710
public int id { get; construct; }
712
public string name { owned get; construct; }
547
714
[CCode (cheader_filename = "clutter/clutter.h")]
548
715
public class Interval : GLib.InitiallyUnowned {
565
732
public GLib.Type value_type { get; construct; }
567
734
[CCode (cheader_filename = "clutter/clutter.h")]
568
public class ListModel : Clutter.Model {
735
public class LayoutManager : GLib.InitiallyUnowned {
737
public virtual void allocate (Clutter.Container container, Clutter.ActorBox allocation, Clutter.AllocationFlags flags);
738
public virtual unowned Clutter.Alpha begin_animation (uint duration, ulong mode);
739
public void child_get (Clutter.Container container, Clutter.Actor actor, ...);
740
public void child_get_property (Clutter.Container container, Clutter.Actor actor, string property_name, GLib.Value value);
741
public void child_set (Clutter.Container container, Clutter.Actor actor, ...);
742
public void child_set_property (Clutter.Container container, Clutter.Actor actor, string property_name, GLib.Value value);
744
public virtual unowned Clutter.LayoutMeta create_child_meta (Clutter.Container container, Clutter.Actor actor);
745
public virtual void end_animation ();
746
public unowned Clutter.ParamSpecColor find_child_property (string name);
747
public virtual double get_animation_progress ();
748
public unowned Clutter.LayoutMeta get_child_meta (Clutter.Container container, Clutter.Actor actor);
750
public virtual GLib.Type get_child_meta_type ();
751
public virtual void get_preferred_height (Clutter.Container container, float for_width, float min_height_p, float nat_height_p);
752
public virtual void get_preferred_width (Clutter.Container container, float for_height, float min_width_p, float nat_width_p);
753
public unowned Clutter.ParamSpecColor list_child_properties (uint n_pspecs);
754
public virtual void set_container (Clutter.Container container);
756
public virtual signal void layout_changed ();
758
[CCode (cheader_filename = "clutter/clutter.h")]
759
public class LayoutMeta : Clutter.ChildMeta {
762
public unowned Clutter.LayoutManager get_manager ();
763
public Clutter.LayoutManager manager { get; construct; }
765
[CCode (cheader_filename = "clutter/clutter.h")]
766
public class ListModel : Clutter.Model, Clutter.Scriptable {
569
767
[CCode (type = "ClutterModel*", has_construct_function = false)]
570
768
public ListModel (uint n_columns);
571
769
[CCode (cname = "clutter_list_model_newv", type = "ClutterModel*", has_construct_function = false)]
572
770
public ListModel.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types, [CCode (array_length_pos = 0.9)] string[] names);
574
772
[CCode (cheader_filename = "clutter/clutter.h")]
575
public class Model : GLib.Object {
773
public class Model : GLib.Object, Clutter.Scriptable {
576
774
public void append (...);
577
775
public void appendv ([CCode (array_length_pos = 0.9)] uint[] columns, [CCode (array_length_pos = 0.9)] GLib.Value[] values);
578
776
public bool filter_iter (Clutter.ModelIter iter);
779
977
public static unowned Clutter.Stage get_default ();
780
978
public bool get_fullscreen ();
781
979
public unowned Clutter.Actor get_key_focus ();
980
public void get_minimum_size (uint width, uint height);
782
981
public void get_perspective (out Clutter.Perspective perspective);
783
982
public bool get_throttle_motion_events ();
983
public bool get_use_alpha ();
784
984
public void hide_cursor ();
785
985
public bool is_default ();
786
986
public void queue_redraw ();
788
988
[CCode (cname = "clutter_redraw")]
789
989
public void redraw ();
790
990
public void set_fullscreen (bool fullscreen);
791
public void set_key_focus (Clutter.Actor actor);
991
public void set_key_focus (Clutter.Actor? actor);
992
public void set_minimum_size (uint width, uint height);
792
993
public void set_perspective (Clutter.Perspective perspective);
793
994
public void set_throttle_motion_events (bool throttle);
995
public void set_use_alpha (bool use_alpha);
794
996
public void show_cursor ();
795
997
public Clutter.Color color { get; set; }
796
998
[NoAccessorMethod]
798
1000
public Clutter.Fog fog { get; set; }
799
1001
[NoAccessorMethod]
800
1002
public bool fullscreen_set { get; }
1003
public Clutter.Actor key_focus { get; set; }
801
1004
[NoAccessorMethod]
802
1005
public bool offscreen { get; set; }
803
1006
[NoAccessorMethod]
804
1007
public Clutter.Perspective perspective { get; set; }
805
1008
public string title { get; set; }
1009
public bool use_alpha { get; set; }
806
1010
public bool use_fog { get; set; }
807
1011
public bool user_resizable { get; set; }
808
1012
public virtual signal void activate ();
809
1013
public virtual signal void deactivate ();
1014
public virtual signal bool delete_event (Clutter.Event event);
811
1016
public virtual signal void fullscreen ();
828
1033
public void delete_chars (uint n_chars);
829
1034
public bool delete_selection ();
830
public void delete_text (ssize_t start_pos, ssize_t end_pos);
831
1035
[CCode (type = "ClutterActor*", has_construct_function = false)]
832
1036
public Text.full (string font_name, string text, Clutter.Color color);
833
1037
public unowned Pango.AttrList get_attributes ();
834
1038
public unowned string get_chars (ssize_t start_pos, ssize_t end_pos);
835
1039
public int get_cursor_position ();
1040
public unowned Pango.FontDescription get_font_description ();
836
1041
public unowned Pango.Layout get_layout ();
837
1042
public unowned string get_selection ();
838
1043
public void insert_text (string text, ssize_t position);
840
1045
public bool position_to_coords (int position, float x, float y, float line_height);
841
1046
public void set_attributes (Pango.AttrList attrs);
842
1047
public void set_cursor_position (int position);
1048
public void set_font_description (Pango.FontDescription font_desc);
843
1049
public void set_markup (string markup);
1050
public void set_preedit_string (string preedit_str, Pango.AttrList preedit_attrs, uint cursor_pos);
844
1051
public void set_selection (ssize_t start_pos, ssize_t end_pos);
845
1052
[CCode (type = "ClutterActor*", has_construct_function = false)]
846
public Text.with_text (string font_name, string text);
1053
public Text.with_text (string? font_name, string text);
847
1054
public bool activatable { get; set; }
848
1055
public Pango.AttrList attributes { get; set; }
849
1056
public Clutter.Color color { get; set; }
1000
1210
public double get_duration ();
1001
1211
public bool get_playing ();
1002
1212
public double get_progress ();
1213
public unowned string get_subtitle_font_name ();
1214
public unowned string get_subtitle_uri ();
1003
1215
public unowned string get_uri ();
1004
1216
public void set_audio_volume (double volume);
1005
1217
public void set_filename (string filename);
1006
1218
public void set_playing (bool playing);
1007
1219
public void set_progress (double progress);
1220
public void set_subtitle_font_name (string font_name);
1221
public void set_subtitle_uri (string uri);
1008
1222
public void set_uri (string uri);
1009
1223
public signal void eos ();
1010
1224
public signal void error (void* error);
1015
1229
public abstract void set_custom_property (Clutter.Script script, string name, GLib.Value value);
1016
1230
public abstract void set_id (string id);
1232
[CCode (cheader_filename = "clutter/clutter.h")]
1233
public interface StageWindow : GLib.Object {
1235
public abstract void add_redraw_clip (Clutter.Geometry stage_rectangle);
1237
public abstract void get_geometry (Clutter.Geometry geometry);
1239
public abstract int get_pending_swaps ();
1241
public abstract unowned Clutter.Actor get_wrapper ();
1243
public abstract bool has_redraw_clips ();
1245
public abstract void hide ();
1247
public abstract bool ignoring_redraw_clips ();
1249
public abstract bool realize ();
1251
public abstract void resize (int width, int height);
1253
public abstract void set_cursor_visible (bool cursor_visible);
1255
public abstract void set_fullscreen (bool is_fullscreen);
1257
public abstract void set_title (string title);
1259
public abstract void set_user_resizable (bool is_resizable);
1261
public abstract void show (bool do_raise);
1263
public abstract void unrealize ();
1018
1265
[CCode (type_id = "CLUTTER_TYPE_ACTOR_BOX", cheader_filename = "clutter/clutter.h")]
1019
1266
public struct ActorBox {
1020
1267
public float x1;
1021
1268
public float y1;
1022
1269
public float x2;
1023
1270
public float y2;
1271
public void clamp_to_pixel ();
1024
1272
public bool contains (float x, float y);
1025
1273
public bool equal (Clutter.ActorBox box_b);
1026
1274
[CCode (cname = "clutter_actor_box_from_vertices")]
1509
1796
[CCode (cheader_filename = "clutter/clutter.h")]
1510
1797
public static void cairo_set_source_color (Cairo.Context cr, Clutter.Color color);
1511
1798
[CCode (cheader_filename = "clutter/clutter.h")]
1799
public static bool check_version (uint major, uint minor, uint micro);
1800
[CCode (cheader_filename = "clutter/clutter.h")]
1512
1801
public static void clear_glyph_cache ();
1513
1802
[CCode (cheader_filename = "clutter/clutter.h")]
1514
1803
public static void do_event (Clutter.Event event);
1515
1804
[CCode (cheader_filename = "clutter/clutter.h")]
1516
1805
public static bool events_pending ();
1517
1806
[CCode (cheader_filename = "clutter/clutter.h")]
1807
public static unowned Clutter.Event get_current_event ();
1808
[CCode (cheader_filename = "clutter/clutter.h")]
1518
1809
public static uint32 get_current_event_time ();
1519
1810
[CCode (cheader_filename = "clutter/clutter.h")]
1520
1811
public static bool get_debug_enabled ();