~ubuntu-branches/ubuntu/maverick/vala/maverick

« back to all changes in this revision

Viewing changes to vapi/clutter-1.0.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-04-02 10:10:55 UTC
  • mfrom: (1.4.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402101055-qbx3okzv0tnp3wpp
Tags: 0.8.0-0ubuntu1
* New upstream release:
  - Infer type arguments when calling generic methods.
  - Support `in' operator for arrays.
  - Add experimental support for regular expression literals.
  - Add experimental support for chained relational expressions.
  - Add va_list support.
  - Add clutter-gtk-0.10 bindings (Gordon Allott).
  - Add gdl-1.0 bindings (Nicolas Joseph).
  - Add gstreamer-app-0.10 bindings (Sebastian Dröge).
  - Add gstreamer-cdda-0.10 bindings (Sebastian Dröge).
  - Add gudev-1.0 bindings (Jim Nelson).
  - Add libgda-report-4.0 bindings (Shawn Ferris).
  - Add libgvc (graphviz) bindings (Martin Olsson).
  - Add purple bindings (Adrien Bustany).
  - Many bug fixes and binding updates.
* debian/patches/99_ltmain_as-needed.patch: refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
                public Clutter.ActorFlags get_flags ();
105
105
                public void get_geometry (Clutter.Geometry geometry);
106
106
                public uint32 get_gid ();
 
107
                [CCode (cname = "clutter_actor_has_pointer")]
 
108
                public bool get_has_pointer ();
107
109
                public uchar get_paint_opacity ();
108
110
                public bool get_paint_visibility ();
109
111
                public unowned Pango.Context get_pango_context ();
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);
156
162
                public void set_shader_param_float (string param, float value);
157
163
                public void set_shader_param_int (string param, int value);
158
164
                public void set_size (float width, float height);
 
165
                public void set_text_direction (Clutter.TextDirection text_dir);
159
166
                public void set_z_rotation_from_gravity (double angle, Clutter.Gravity gravity);
160
167
                public bool should_pick_paint ();
161
168
                public virtual void show_all ();
183
190
                public float fixed_y { get; set; }
184
191
                [NoAccessorMethod]
185
192
                public bool has_clip { get; }
 
193
                [NoAccessorMethod]
 
194
                public bool has_pointer { get; }
186
195
                public float height { get; set; }
187
196
                [NoAccessorMethod]
188
197
                public bool mapped { get; }
203
212
                public float natural_width { get; set; }
204
213
                [NoAccessorMethod]
205
214
                public bool natural_width_set { get; set; }
206
 
                public uchar opacity { get; set; }
 
215
                public uint opacity { get; set; }
207
216
                public bool reactive { get; set; }
208
217
                [NoAccessorMethod]
209
218
                public bool realized { get; }
210
 
                [NoAccessorMethod]
211
219
                public Clutter.RequestMode request_mode { get; set; }
212
220
                [NoAccessorMethod]
213
221
                public double rotation_angle_x { get; set; }
235
243
                public double scale_y { get; set; }
236
244
                [NoAccessorMethod]
237
245
                public bool show_on_set_parent { get; set; }
 
246
                public Clutter.TextDirection text_direction { get; set; }
238
247
                [NoAccessorMethod]
239
248
                public bool visible { get; set; }
240
249
                public float width { get; set; }
263
272
                [HasEmitter]
264
273
                public virtual signal void pick (Clutter.Color color);
265
274
                [HasEmitter]
 
275
                public virtual signal void queue_relayout ();
 
276
                [HasEmitter]
266
277
                public virtual signal void realize ();
267
278
                public virtual signal bool scroll_event (Clutter.ScrollEvent event);
268
279
                [HasEmitter]
271
282
                public virtual signal void unrealize ();
272
283
        }
273
284
        [CCode (cheader_filename = "clutter/clutter.h")]
274
 
        public class Alpha : GLib.InitiallyUnowned {
 
285
        public class Alpha : GLib.InitiallyUnowned, Clutter.Scriptable {
275
286
                [CCode (has_construct_function = false)]
276
287
                public Alpha ();
277
288
                [CCode (has_construct_function = false)]
287
298
                public Clutter.Timeline timeline { get; set; }
288
299
        }
289
300
        [CCode (cheader_filename = "clutter/clutter.h")]
290
 
        public class Animation : GLib.Object {
 
301
        public class Animation : GLib.Object, Clutter.Scriptable {
291
302
                [CCode (has_construct_function = false)]
292
303
                public Animation ();
293
304
                public unowned Clutter.Animation bind (string property_name, GLib.Value final);
295
306
                public unowned Clutter.Interval get_interval (string property_name);
296
307
                public bool has_property (string property_name);
297
308
                public void unbind_property (string property_name);
 
309
                public unowned Clutter.Animation update (string property_name, GLib.Value final);
298
310
                public void update_interval (string property_name, Clutter.Interval interval);
299
311
                public Clutter.Alpha alpha { get; set; }
300
312
                public uint duration { get; set; }
307
319
                public virtual signal void started ();
308
320
        }
309
321
        [CCode (cheader_filename = "clutter/clutter.h")]
 
322
        public class Animator : GLib.Object, Clutter.Scriptable {
 
323
                [CCode (has_construct_function = false)]
 
324
                public Animator ();
 
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; }
 
341
        }
 
342
        [Compact]
 
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);
 
351
        }
 
352
        [CCode (cheader_filename = "clutter/clutter.h")]
310
353
        public class Backend : GLib.Object {
311
354
                [NoWrapper]
312
355
                public virtual void add_options (GLib.OptionGroup group);
313
356
                [NoWrapper]
314
 
                public virtual bool create_context (bool is_offscreen) throws GLib.Error;
 
357
                public virtual bool create_context () throws GLib.Error;
315
358
                [NoWrapper]
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;
317
360
                [NoWrapper]
318
361
                public virtual void ensure_context (Clutter.Stage stage);
 
362
                [NoWrapper]
 
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 ();
321
366
                [NoWrapper]
342
387
                public virtual signal void resolution_changed ();
343
388
        }
344
389
        [CCode (cheader_filename = "clutter/clutter.h")]
345
 
        public class Behaviour : GLib.Object {
 
390
        public class Behaviour : GLib.Object, Clutter.Scriptable {
346
391
                public void actors_foreach (Clutter.BehaviourForeachFunc func);
347
392
                [NoWrapper]
348
393
                public virtual void alpha_notify (double alpha_value);
358
403
                public virtual signal void removed (Clutter.Actor actor);
359
404
        }
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; }
370
415
        }
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; }
394
439
        }
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);
416
461
        }
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; }
437
482
        }
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; }
452
497
        }
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);
 
505
                [NoAccessorMethod]
 
506
                public Clutter.BinAlignment x_align { get; set; }
 
507
                [NoAccessorMethod]
 
508
                public Clutter.BinAlignment y_align { get; set; }
 
509
        }
 
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; }
470
527
        }
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; }
 
542
                [NoAccessorMethod]
 
543
                public bool color_set { get; set; }
 
544
                public Clutter.LayoutManager layout_manager { get; set construct; }
 
545
        }
 
546
        [CCode (cheader_filename = "clutter/clutter.h")]
 
547
        public class BoxLayout : Clutter.LayoutManager {
 
548
                [CCode (type = "ClutterLayoutManager*", has_construct_function = false)]
 
549
                public BoxLayout ();
 
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; }
 
575
        }
 
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; }
 
600
        }
 
601
        [CCode (cheader_filename = "clutter/clutter.h")]
 
602
        public class DeviceManager : GLib.Object {
 
603
                [NoWrapper]
 
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);
 
608
                [NoWrapper]
 
609
                public virtual unowned GLib.SList get_devices ();
 
610
                public unowned GLib.SList list_devices ();
 
611
                public unowned GLib.SList peek_devices ();
 
612
                [NoWrapper]
 
613
                public virtual void remove_device (Clutter.InputDevice device);
 
614
                [NoAccessorMethod]
 
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);
495
618
        }
496
619
        [Compact]
497
620
        [CCode (copy_function = "clutter_event_copy", type_id = "CLUTTER_TYPE_EVENT", cheader_filename = "clutter/clutter.h")]
530
653
                public void put ();
531
654
        }
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 ();
 
659
        }
 
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; }
 
678
                [NoAccessorMethod]
 
679
                public float max_column_width { get; set; }
 
680
                [NoAccessorMethod]
 
681
                public float max_row_height { get; set; }
 
682
                [NoAccessorMethod]
 
683
                public float min_column_width { get; set; }
 
684
                [NoAccessorMethod]
 
685
                public float min_row_height { get; set; }
 
686
                public Clutter.FlowOrientation orientation { get; set construct; }
 
687
                public float row_spacing { get; set; }
 
688
        }
 
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)]
535
692
                public Group ();
537
694
                public unowned Clutter.Actor get_nth_child (int index_);
538
695
                public void remove_all ();
539
696
        }
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; }
 
709
                [NoAccessorMethod]
 
710
                public int id { get; construct; }
 
711
                [NoAccessorMethod]
 
712
                public string name { owned get; construct; }
546
713
        }
547
714
        [CCode (cheader_filename = "clutter/clutter.h")]
548
715
        public class Interval : GLib.InitiallyUnowned {
565
732
                public GLib.Type value_type { get; construct; }
566
733
        }
567
734
        [CCode (cheader_filename = "clutter/clutter.h")]
568
 
        public class ListModel : Clutter.Model {
 
735
        public class LayoutManager : GLib.InitiallyUnowned {
 
736
                public void* dummy;
 
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);
 
743
                [NoWrapper]
 
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);
 
749
                [NoWrapper]
 
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);
 
755
                [HasEmitter]
 
756
                public virtual signal void layout_changed ();
 
757
        }
 
758
        [CCode (cheader_filename = "clutter/clutter.h")]
 
759
        public class LayoutMeta : Clutter.ChildMeta {
 
760
                public int32 dummy0;
 
761
                public void* dummy1;
 
762
                public unowned Clutter.LayoutManager get_manager ();
 
763
                public Clutter.LayoutManager manager { get; construct; }
 
764
        }
 
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);
573
771
        }
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);
810
1015
                [HasEmitter]
811
1016
                public virtual signal void fullscreen ();
812
1017
                [HasEmitter]
817
1022
                public static unowned Clutter.StageManager get_default ();
818
1023
                public unowned GLib.SList<Clutter.Stage> list_stages ();
819
1024
                public unowned GLib.SList<Clutter.Stage> peek_stages ();
820
 
                public Clutter.Stage default_stage { get; set; }
 
1025
                public Clutter.Stage default_stage { get; }
821
1026
                public virtual signal void stage_added (Clutter.Stage stage);
822
1027
                public virtual signal void stage_removed (Clutter.Stage stage);
823
1028
        }
827
1032
                public Text ();
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; }
854
1061
                public bool cursor_visible { get; set; }
855
1062
                public bool editable { get; set; }
856
1063
                public Pango.EllipsizeMode ellipsize { get; set; }
 
1064
                public Pango.FontDescription font_description { get; set; }
857
1065
                public string font_name { get; set; }
858
1066
                public bool justify { get; set; }
859
1067
                public Pango.Alignment line_alignment { get; set; }
874
1082
                [HasEmitter]
875
1083
                public virtual signal void activate ();
876
1084
                public virtual signal void cursor_event (Clutter.Geometry geometry);
 
1085
                [HasEmitter]
 
1086
                public virtual signal void delete_text (int p0, int p1);
877
1087
                public virtual signal void text_changed ();
878
1088
        }
879
1089
        [CCode (cheader_filename = "clutter/clutter.h")]
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);
1017
1231
        }
 
1232
        [CCode (cheader_filename = "clutter/clutter.h")]
 
1233
        public interface StageWindow : GLib.Object {
 
1234
                [NoWrapper]
 
1235
                public abstract void add_redraw_clip (Clutter.Geometry stage_rectangle);
 
1236
                [NoWrapper]
 
1237
                public abstract void get_geometry (Clutter.Geometry geometry);
 
1238
                [NoWrapper]
 
1239
                public abstract int get_pending_swaps ();
 
1240
                [NoWrapper]
 
1241
                public abstract unowned Clutter.Actor get_wrapper ();
 
1242
                [NoWrapper]
 
1243
                public abstract bool has_redraw_clips ();
 
1244
                [NoWrapper]
 
1245
                public abstract void hide ();
 
1246
                [NoWrapper]
 
1247
                public abstract bool ignoring_redraw_clips ();
 
1248
                [NoWrapper]
 
1249
                public abstract bool realize ();
 
1250
                [NoWrapper]
 
1251
                public abstract void resize (int width, int height);
 
1252
                [NoWrapper]
 
1253
                public abstract void set_cursor_visible (bool cursor_visible);
 
1254
                [NoWrapper]
 
1255
                public abstract void set_fullscreen (bool is_fullscreen);
 
1256
                [NoWrapper]
 
1257
                public abstract void set_title (string title);
 
1258
                [NoWrapper]
 
1259
                public abstract void set_user_resizable (bool is_resizable);
 
1260
                [NoWrapper]
 
1261
                public abstract void show (bool do_raise);
 
1262
                [NoWrapper]
 
1263
                public abstract void unrealize ();
 
1264
        }
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")]
1032
1280
                public float get_width ();
1033
1281
                public float get_x ();
1034
1282
                public float get_y ();
 
1283
                public void interpolate (Clutter.ActorBox final, double progress, Clutter.ActorBox _result);
1035
1284
        }
1036
1285
        [CCode (type_id = "CLUTTER_TYPE_ANY_EVENT", cheader_filename = "clutter/clutter.h")]
1037
1286
        public struct AnyEvent {
1219
1468
                MAPPED,
1220
1469
                REALIZED,
1221
1470
                REACTIVE,
1222
 
                VISIBLE
 
1471
                VISIBLE,
 
1472
                NO_LAYOUT
1223
1473
        }
1224
1474
        [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")]
1225
1475
        [Flags]
1263
1513
                EASE_IN_OUT_BOUNCE,
1264
1514
                ANIMATION_LAST
1265
1515
        }
 
1516
        [CCode (cprefix = "CLUTTER_BIN_ALIGNMENT_", cheader_filename = "clutter/clutter.h")]
 
1517
        public enum BinAlignment {
 
1518
                FIXED,
 
1519
                FILL,
 
1520
                START,
 
1521
                END,
 
1522
                CENTER
 
1523
        }
 
1524
        [CCode (cprefix = "CLUTTER_BOX_ALIGNMENT_", cheader_filename = "clutter/clutter.h")]
 
1525
        public enum BoxAlignment {
 
1526
                START,
 
1527
                END,
 
1528
                CENTER
 
1529
        }
1266
1530
        [CCode (cprefix = "CLUTTER_EVENT_", cheader_filename = "clutter/clutter.h")]
1267
1531
        [Flags]
1268
1532
        public enum EventFlags {
1303
1567
                [CCode (cname = "clutter_feature_get_all")]
1304
1568
                public static Clutter.FeatureFlags @get ();
1305
1569
        }
 
1570
        [CCode (cprefix = "CLUTTER_FLOW_", cheader_filename = "clutter/clutter.h")]
 
1571
        public enum FlowOrientation {
 
1572
                HORIZONTAL,
 
1573
                VERTICAL
 
1574
        }
1306
1575
        [CCode (cprefix = "CLUTTER_FONT_", cheader_filename = "clutter/clutter.h")]
1307
1576
        [Flags]
1308
1577
        public enum FontFlags {
1337
1606
                EXTENSION_DEVICE,
1338
1607
                N_DEVICE_TYPES
1339
1608
        }
 
1609
        [CCode (cprefix = "CLUTTER_INTERPOLATION_", cheader_filename = "clutter/clutter.h")]
 
1610
        public enum Interpolation {
 
1611
                LINEAR,
 
1612
                CUBIC
 
1613
        }
1340
1614
        [CCode (cprefix = "CLUTTER_", cheader_filename = "clutter/clutter.h")]
1341
1615
        [Flags]
1342
1616
        public enum ModifierType {
1375
1649
                REACTIVE,
1376
1650
                ALL
1377
1651
        }
 
1652
        [CCode (cprefix = "CLUTTER_REDRAW_CLIPPED_TO_", cheader_filename = "clutter/clutter.h")]
 
1653
        [Flags]
 
1654
        public enum RedrawFlags {
 
1655
                BOX,
 
1656
                ALLOCATION
 
1657
        }
1378
1658
        [CCode (cprefix = "CLUTTER_REQUEST_", cheader_filename = "clutter/clutter.h")]
1379
1659
        public enum RequestMode {
1380
1660
                HEIGHT_FOR_WIDTH,
1411
1691
                OFFSCREEN,
1412
1692
                ACTIVATED
1413
1693
        }
 
1694
        [CCode (cprefix = "CLUTTER_TEXT_DIRECTION_", cheader_filename = "clutter/clutter.h")]
 
1695
        public enum TextDirection {
 
1696
                DEFAULT,
 
1697
                LTR,
 
1698
                RTL
 
1699
        }
1414
1700
        [CCode (cprefix = "CLUTTER_TEXTURE_", cheader_filename = "clutter/clutter.h")]
1415
1701
        [Flags]
1416
1702
        public enum TextureFlags {
1435
1721
                PIXEL,
1436
1722
                EM,
1437
1723
                MM,
1438
 
                POINT
 
1724
                POINT,
 
1725
                CM
1439
1726
        }
1440
1727
        [CCode (cprefix = "CLUTTER_X11_FILTER_", cheader_filename = "clutter/clutter.h")]
1441
1728
        public enum X11FilterReturn {
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 ();
1523
1814
        [CCode (cheader_filename = "clutter/clutter.h")]
1524
1815
        public static uint get_default_frame_rate ();
1525
1816
        [CCode (cheader_filename = "clutter/clutter.h")]
 
1817
        public static Clutter.TextDirection get_default_text_direction ();
 
1818
        [CCode (cheader_filename = "clutter/clutter.h")]
1526
1819
        public static Clutter.FontFlags get_font_flags ();
1527
1820
        [CCode (cheader_filename = "clutter/clutter.h")]
1528
1821
        public static unowned Pango.FontMap get_font_map ();