1 /* mx-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Mx", gir_namespace = "Mx", gir_version = "1.0", lower_case_cprefix = "mx_")]
5 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_action_get_type ()")]
6 public class Action : GLib.InitiallyUnowned, GLib.Action {
7 [CCode (has_construct_function = false)]
9 [CCode (has_construct_function = false)]
10 public Action.full (string name, string display_name, [CCode (scope = "async")] Mx.ActionCallbackFunc? activated_cb);
11 public bool get_active ();
12 public unowned string get_display_name ();
13 public unowned string get_icon ();
14 public void set_active (bool active);
15 public void set_display_name (string name);
16 public void set_icon (string name);
17 public void set_name (string name);
18 [CCode (has_construct_function = false)]
19 [Version (since = "1.4")]
20 public Action.stateful (string name, GLib.VariantType? parameter_type, GLib.Variant state);
21 [CCode (has_construct_function = false)]
22 [Version (since = "1.4")]
23 public Action.with_parameter (string name, GLib.VariantType? parameter_type);
24 [Version (deprecated = true, deprecated_since = "1.4")]
25 public bool active { get; set; }
26 public string display_name { get; set; }
27 public string icon { get; set; }
28 [Version (since = "1.4")]
29 public signal void activate (GLib.Variant? parameter);
30 [Version (deprecated = true, deprecated_since = "1.4")]
31 public virtual signal void activated ();
33 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_actor_manager_get_type ()")]
34 public class ActorManager : GLib.Object {
35 [CCode (has_construct_function = false)]
36 [Version (since = "1.2")]
37 public ActorManager (Clutter.Stage stage);
38 [Version (since = "1.2")]
39 public ulong add_actor (Clutter.Container container, Clutter.Actor actor);
40 [Version (since = "1.2")]
41 public void cancel_operation (ulong id);
42 [Version (since = "1.2")]
43 public void cancel_operations (Clutter.Actor actor);
44 [Version (since = "1.2")]
45 public static unowned Mx.ActorManager get_for_stage (Clutter.Stage stage);
46 [Version (since = "1.2")]
47 public uint get_n_operations ();
48 [Version (since = "1.2")]
49 public unowned Clutter.Stage get_stage ();
50 [Version (since = "1.2")]
51 public uint get_time_slice ();
52 [Version (since = "1.2")]
53 public ulong remove_actor (Clutter.Container container, Clutter.Actor actor);
54 [Version (since = "1.2")]
55 public void remove_container (Clutter.Container container);
56 [Version (since = "1.2")]
57 public void set_time_slice (uint msecs);
58 public uint n_operations { get; }
59 public Clutter.Stage stage { get; construct; }
60 public uint time_slice { get; set; }
61 [Version (since = "1.2")]
62 public virtual signal void actor_added (ulong id, Clutter.Actor container, Clutter.Actor actor);
63 [Version (since = "1.2")]
64 public virtual signal void actor_created (ulong id, Clutter.Actor actor);
65 [Version (since = "1.2")]
66 public virtual signal void actor_finished (Clutter.Actor actor);
67 [Version (since = "1.2")]
68 public virtual signal void actor_removed (ulong id, Clutter.Actor container, Clutter.Actor actor);
69 [Version (since = "1.2")]
70 public virtual signal void operation_cancelled (ulong id);
71 [Version (since = "1.2")]
72 public virtual signal void operation_completed (ulong id);
73 [Version (since = "1.2")]
74 public virtual signal void operation_failed (ulong id, GLib.Error error);
76 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_adjustment_get_type ()")]
77 public class Adjustment : GLib.Object {
78 [CCode (has_construct_function = false)]
80 [Version (since = "1.2")]
81 public bool get_clamp_value ();
82 public bool get_elastic ();
83 public double get_lower ();
84 public double get_page_increment ();
85 public double get_page_size ();
86 public double get_step_increment ();
87 public double get_upper ();
88 public double get_value ();
89 public void get_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
90 public void interpolate (double value, uint duration, ulong mode);
91 public void interpolate_relative (double offset, uint duration, ulong mode);
92 [Version (since = "1.2")]
93 public void set_clamp_value (bool clamp);
94 public void set_elastic (bool elastic);
95 public void set_lower (double lower);
96 public void set_page_increment (double increment);
97 public void set_page_size (double page_size);
98 public void set_step_increment (double increment);
99 public void set_upper (double upper);
100 public void set_value (double value);
101 public void set_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
102 [CCode (has_construct_function = false)]
103 public Adjustment.with_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
104 public bool clamp_value { get; set; }
105 public bool elastic { get; set; }
106 public double lower { get; set construct; }
107 public double page_increment { get; set construct; }
108 public double page_size { get; set construct; }
109 public double step_increment { get; set construct; }
110 public double upper { get; set construct; }
111 public double value { get; set construct; }
112 public virtual signal void changed ();
113 public virtual signal void interpolation_completed ();
115 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_application_get_type ()")]
116 public class Application : GLib.Object {
117 [CCode (has_construct_function = false)]
118 public Application ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string name, Mx.ApplicationFlags flags);
119 public void add_action (Mx.Action action);
120 public void add_window (owned Mx.Window window);
121 public virtual unowned Mx.Window create_window ();
122 public GLib.List<weak Mx.Action> get_actions ();
123 public Mx.ApplicationFlags get_flags ();
124 public unowned GLib.List<Mx.Window> get_windows ();
125 public void invoke_action (string name);
126 [Version (since = "1.4")]
127 public void invoke_action_with_parameter (string name, GLib.Variant variant);
128 public bool is_running ();
131 public virtual void raise ();
132 public void remove_action (string name);
133 public void remove_window (Mx.Window window);
136 public string application_name { owned get; construct; }
137 public uint flags { get; construct; }
138 public virtual signal void actions_changed ();
140 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_bin_get_type ()")]
141 public abstract class Bin : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
142 [CCode (has_construct_function = false)]
144 public void allocate_child (Clutter.ActorBox box, Clutter.AllocationFlags flags);
145 public void get_alignment (out Mx.Align x_align, out Mx.Align y_align);
146 public unowned Clutter.Actor get_child ();
147 public void get_fill (out bool x_fill, out bool y_fill);
148 public void set_alignment (Mx.Align x_align, Mx.Align y_align);
149 public void set_child (Clutter.Actor child);
150 public void set_fill (bool x_fill, bool y_fill);
151 public Clutter.Actor child { get; set; }
153 public Mx.Align x_align { get; set; }
155 public bool x_fill { get; set; }
157 public Mx.Align y_align { get; set; }
159 public bool y_fill { get; set; }
161 [CCode (cheader_filename = "mx/mx.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "mx_border_image_get_type ()")]
163 public class BorderImage {
168 public weak string uri;
169 public static void set_from_string (GLib.Value value, string str, string filename);
171 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_box_layout_get_type ()")]
172 public class BoxLayout : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
173 [CCode (has_construct_function = false, type = "ClutterActor*")]
175 public void add_actor_with_properties (Clutter.Actor actor, int position, ...);
176 [CCode (cname = "mx_box_layout_add_actor")]
177 public void add_child (Clutter.Actor actor, int position);
178 public bool child_get_expand (Clutter.Actor child);
179 public Mx.Align child_get_x_align (Clutter.Actor child);
180 public bool child_get_x_fill (Clutter.Actor child);
181 public Mx.Align child_get_y_align (Clutter.Actor child);
182 public bool child_get_y_fill (Clutter.Actor child);
183 public void child_set_expand (Clutter.Actor child, bool expand);
184 public void child_set_x_align (Clutter.Actor child, Mx.Align x_align);
185 public void child_set_x_fill (Clutter.Actor child, bool x_fill);
186 public void child_set_y_align (Clutter.Actor child, Mx.Align y_align);
187 public void child_set_y_fill (Clutter.Actor child, bool y_fill);
188 public bool get_enable_animations ();
189 public Mx.Orientation get_orientation ();
190 [Version (since = "1.2")]
191 public bool get_scroll_to_focused ();
192 public uint get_spacing ();
193 public void set_enable_animations (bool enable_animations);
194 public void set_orientation (Mx.Orientation orientation);
195 [Version (since = "1.2")]
196 public void set_scroll_to_focused (bool scroll_to_focused);
197 public void set_spacing (uint spacing);
198 public bool enable_animations { get; set; }
199 public Mx.Orientation orientation { get; set; }
200 public bool scroll_to_focused { get; set; }
201 public uint spacing { get; set; }
203 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_box_layout_child_get_type ()")]
204 public class BoxLayoutChild : Clutter.ChildMeta {
205 [CCode (has_construct_function = false)]
206 protected BoxLayoutChild ();
207 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_expand")]
208 public static bool get_expand (Mx.BoxLayout box_layout, Clutter.Actor child);
209 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_x_align")]
210 public static Mx.Align get_x_align (Mx.BoxLayout box_layout, Clutter.Actor child);
211 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_x_fill")]
212 public static bool get_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
213 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_y_align")]
214 public static Mx.Align get_y_align (Mx.BoxLayout box_layout, Clutter.Actor child);
215 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_get_y_fill")]
216 public static bool get_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
217 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_expand")]
218 public static void set_expand (Mx.BoxLayout box_layout, Clutter.Actor child, bool expand);
219 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_x_align")]
220 public static void set_x_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align x_align);
221 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_x_fill")]
222 public static void set_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool x_fill);
223 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_y_align")]
224 public static void set_y_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align y_align);
225 [Version (deprecated_since = "vala-0.14", replacement = "BoxLayout.child_set_y_fill")]
226 public static void set_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool y_fill);
228 public bool expand { get; set; }
230 public Mx.Align x_align { get; set; }
232 public bool x_fill { get; set; }
234 public Mx.Align y_align { get; set; }
236 public bool y_fill { get; set; }
238 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_button_get_type ()")]
239 public class Button : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
240 [CCode (has_construct_function = false, type = "ClutterActor*")]
242 [Version (since = "1.2")]
243 public unowned Mx.Action get_action ();
244 [Version (since = "1.2")]
245 public unowned string get_icon_name ();
246 [Version (since = "1.2")]
247 public Mx.Position get_icon_position ();
248 [Version (since = "1.2")]
249 public uint get_icon_size ();
250 [Version (since = "1.2")]
251 public bool get_icon_visible ();
252 public bool get_is_toggle ();
253 public unowned string get_label ();
254 [Version (since = "1.2")]
255 public bool get_label_visible ();
256 public bool get_toggled ();
257 [Version (since = "1.2")]
258 public void set_action (Mx.Action action);
259 [Version (since = "1.2")]
260 public void set_icon_name (string? icon_name);
261 [Version (since = "1.2")]
262 public void set_icon_position (Mx.Position position);
263 [Version (since = "1.2")]
264 public void set_icon_size (uint icon_size);
265 [Version (since = "1.2")]
266 public void set_icon_visible (bool visible);
267 public void set_is_toggle (bool toggle);
268 public void set_label (string text);
269 [Version (since = "1.2")]
270 public void set_label_visible (bool visible);
271 public void set_toggled (bool toggled);
272 [CCode (has_construct_function = false, type = "ClutterActor*")]
273 public Button.with_label (string text);
274 public Mx.Action action { get; set; }
275 public string icon_name { get; set; }
276 public Mx.Position icon_position { get; set; }
277 public uint icon_size { get; set; }
278 public bool icon_visible { get; set; }
279 public bool is_toggle { get; set; }
280 public string label { get; set; }
281 public bool label_visible { get; set; }
282 public bool toggled { get; set; }
283 public virtual signal void clicked ();
285 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_button_group_get_type ()")]
286 public class ButtonGroup : GLib.InitiallyUnowned {
287 [CCode (has_construct_function = false)]
288 public ButtonGroup ();
289 public void add (Mx.Button button);
290 public void @foreach (Clutter.Callback callback);
291 public unowned Mx.Button get_active_button ();
292 public bool get_allow_no_active ();
293 public unowned GLib.SList<Mx.Button> get_buttons ();
294 public void remove (Mx.Button button);
295 public void set_active_button (Mx.Button? button);
296 public void set_allow_no_active (bool allow_no_active);
297 public Mx.Button active_button { get; set; }
298 public bool allow_no_active { get; set; }
300 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_clipboard_get_type ()")]
301 public class Clipboard : GLib.Object {
302 [CCode (has_construct_function = false)]
303 protected Clipboard ();
304 public static unowned Mx.Clipboard get_default ();
305 public void get_text ([CCode (scope = "async")] Mx.ClipboardCallbackFunc callback);
306 public void set_text (string text);
308 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_combo_box_get_type ()")]
309 public class ComboBox : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
310 [CCode (has_construct_function = false, type = "ClutterActor*")]
312 public void append_text (string text);
313 public unowned string get_active_icon_name ();
314 public unowned string get_active_text ();
315 public int get_index ();
316 public void insert_text (int position, string text);
317 public void insert_text_with_icon (int position, string text, string icon);
318 public void prepend_text (string text);
319 [Version (since = "1.4")]
320 public void remove_all ();
321 public void remove_text (int position);
322 public void set_active_icon_name (string? icon_name);
323 public void set_active_text (string text);
324 public void set_index (int index);
325 public string active_icon_name { get; set; }
326 public string active_text { get; set; }
327 public int index { get; set; }
329 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_bow_tie_get_type ()")]
330 public class DeformBowTie : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
331 [CCode (has_construct_function = false, type = "ClutterActor*")]
332 public DeformBowTie ();
333 public bool get_flip_back ();
334 public double get_period ();
335 public void set_flip_back (bool flip_back);
336 public void set_period (double period);
337 public bool flip_back { get; set; }
338 public double period { get; set; }
340 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_page_turn_get_type ()")]
341 public class DeformPageTurn : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
342 [CCode (has_construct_function = false, type = "ClutterActor*")]
343 public DeformPageTurn ();
344 public double get_angle ();
345 public double get_period ();
346 public double get_radius ();
347 public void set_angle (double angle);
348 public void set_period (double period);
349 public void set_radius (double radius);
350 public double angle { get; set; }
351 public double period { get; set; }
352 public double radius { get; set; }
354 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_texture_get_type ()")]
355 public abstract class DeformTexture : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
356 [CCode (has_construct_function = false)]
357 protected DeformTexture ();
359 public virtual void deform (Cogl.TextureVertex vertex, float width, float height);
360 public void get_resolution (out int tiles_x, out int tiles_y);
361 public void get_textures (out unowned Clutter.Texture front, out unowned Clutter.Texture back);
362 public void invalidate ();
363 public void set_resolution (int tiles_x, int tiles_y);
364 public void set_textures (Clutter.Texture? front, Clutter.Texture? back);
366 public Clutter.Texture back { owned get; set; }
368 public Clutter.Texture front { owned get; set; }
370 public int tiles_x { get; set; }
372 public int tiles_y { get; set; }
374 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_waves_get_type ()")]
375 public class DeformWaves : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
376 [CCode (has_construct_function = false, type = "ClutterActor*")]
377 public DeformWaves ();
378 public double get_amplitude ();
379 public double get_angle ();
380 public double get_period ();
381 public double get_radius ();
382 public void set_amplitude (double amplitude);
383 public void set_angle (double angle);
384 public void set_period (double period);
385 public void set_radius (double radius);
386 public double amplitude { get; set; }
387 public double angle { get; set; }
388 public double period { get; set; }
389 public double radius { get; set; }
391 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_dialog_get_type ()")]
392 public class Dialog : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
393 [CCode (has_construct_function = false, type = "ClutterActor*")]
394 [Version (since = "1.2")]
396 [Version (since = "1.2")]
397 public void add_action (Mx.Action action);
398 [Version (since = "1.2")]
399 public GLib.List<weak Mx.Action> get_actions ();
400 [Version (since = "1.2")]
401 public void remove_action (Mx.Action action);
402 [Version (since = "1.2")]
403 public void set_transient_parent (Clutter.Actor actor);
405 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_entry_get_type ()")]
406 public class Entry : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
407 [CCode (has_construct_function = false, type = "ClutterActor*")]
409 public unowned Clutter.Actor get_clutter_text ();
410 public unowned string get_hint_text ();
411 public unowned string get_icon_highlight_suffix ();
412 public unichar get_password_char ();
413 public unowned string get_text ();
414 public void set_hint_text (string text);
415 public void set_icon_highlight_suffix (string suffix);
416 public void set_password_char (unichar password_char);
417 public void set_primary_icon_from_file (string filename);
418 public void set_primary_icon_tooltip_text (string text);
419 public void set_secondary_icon_from_file (string filename);
420 public void set_secondary_icon_tooltip_text (string text);
421 public void set_text (string text);
422 [CCode (has_construct_function = false, type = "ClutterActor*")]
423 public Entry.with_text (string text);
424 public Clutter.Text clutter_text { get; }
425 public string hint_text { get; set; }
426 public string icon_highlight_suffix { get; set; }
427 public uint password_char { get; set; }
429 public string primary_icon_tooltip_text { owned get; set; }
431 public string secondary_icon_tooltip_text { owned get; set; }
432 public string text { get; set; }
433 public virtual signal void primary_icon_clicked ();
434 public virtual signal void secondary_icon_clicked ();
436 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_expander_get_type ()")]
437 public class Expander : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
438 [CCode (has_construct_function = false, type = "ClutterActor*")]
440 public bool get_expanded ();
441 public void set_expanded (bool expanded);
442 public void set_label (string label);
443 public bool expanded { get; set; }
445 public string label { owned get; set; }
446 public virtual signal void expand_complete ();
448 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_fade_effect_get_type ()")]
449 public class FadeEffect : Clutter.OffscreenEffect {
450 [CCode (has_construct_function = false, type = "ClutterEffect*")]
451 [Version (since = "1.2")]
452 public FadeEffect ();
453 [Version (since = "1.2")]
454 public void get_border (out uint top, out uint right, out uint bottom, out uint left);
455 [Version (since = "1.2")]
456 public void get_bounds (out int x, out int y, out uint width, out uint height);
457 [Version (since = "1.2")]
458 public Clutter.Color get_color ();
459 [Version (since = "1.2")]
460 public void set_border (uint top, uint right, uint bottom, uint left);
461 [Version (since = "1.2")]
462 public void set_bounds (int x, int y, uint width, uint height);
463 [Version (since = "1.2")]
464 public void set_color (Clutter.Color color);
466 public uint border_bottom { get; set; }
468 public uint border_left { get; set; }
470 public uint border_right { get; set; }
472 public uint border_top { get; set; }
474 public uint bounds_height { get; set; }
476 public uint bounds_width { get; set; }
478 public int bounds_x { get; set; }
480 public int bounds_y { get; set; }
481 public Clutter.Color color { get; set; }
483 public bool freeze_update { get; set; }
485 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_floating_widget_get_type ()")]
486 public abstract class FloatingWidget : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
487 [CCode (has_construct_function = false)]
488 protected FloatingWidget ();
490 public virtual void floating_paint (Clutter.Actor actor);
492 public virtual void floating_pick (Clutter.Actor actor, Clutter.Color color);
494 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_focus_manager_get_type ()")]
495 public class FocusManager : GLib.Object {
496 [CCode (has_construct_function = false)]
497 protected FocusManager ();
498 public unowned Mx.Focusable get_focused ();
499 public static unowned Mx.FocusManager get_for_stage (Clutter.Stage stage);
500 public unowned Clutter.Stage get_stage ();
501 public void move_focus (Mx.FocusDirection direction);
502 public void push_focus (Mx.Focusable focusable);
503 [Version (since = "1.2")]
504 public void push_focus_with_hint (Mx.Focusable focusable, Mx.FocusHint hint);
505 public Clutter.Actor focused { get; }
506 public Clutter.Stage stage { get; }
508 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_frame_get_type ()")]
509 public class Frame : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
510 [CCode (has_construct_function = false, type = "ClutterActor*")]
513 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_grid_get_type ()")]
514 public class Grid : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
515 [CCode (has_construct_function = false, type = "ClutterActor*")]
517 public Mx.Align get_child_x_align ();
518 public Mx.Align get_child_y_align ();
519 public float get_column_spacing ();
520 public bool get_homogenous_columns ();
521 public bool get_homogenous_rows ();
522 public bool get_line_alignment ();
523 public int get_max_stride ();
524 public Mx.Orientation get_orientation ();
525 public float get_row_spacing ();
526 public void set_child_x_align (Mx.Align value);
527 public void set_child_y_align (Mx.Align value);
528 public void set_column_spacing (float value);
529 public void set_homogenous_columns (bool value);
530 public void set_homogenous_rows (bool value);
531 public void set_line_alignment (Mx.Align value);
532 public void set_max_stride (int value);
533 public void set_orientation (Mx.Orientation orientation);
534 public void set_row_spacing (float value);
535 public Mx.Align child_x_align { get; set construct; }
536 public Mx.Align child_y_align { get; set construct; }
537 public float column_spacing { get; set construct; }
538 public bool homogenous_columns { get; set construct; }
539 public bool homogenous_rows { get; set construct; }
540 public Mx.Align line_alignment { get; set construct; }
541 public int max_stride { get; set construct; }
542 public Mx.Orientation orientation { get; set construct; }
543 public float row_spacing { get; set construct; }
545 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_icon_get_type ()")]
546 public class Icon : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
547 [CCode (has_construct_function = false, type = "ClutterActor*")]
549 public unowned string get_icon_name ();
550 public int get_icon_size ();
551 public void set_icon_name (string icon_name);
552 public void set_icon_size (int size);
553 public string icon_name { get; set; }
554 public int icon_size { get; set; }
556 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_icon_theme_get_type ()")]
557 public class IconTheme : GLib.Object {
558 [CCode (has_construct_function = false)]
560 public static unowned Mx.IconTheme get_default ();
561 public unowned GLib.List<string> get_search_paths ();
562 public unowned string get_theme_name ();
563 public bool has_icon (string icon_name);
564 public unowned Cogl.Handle lookup (string icon_name, int size);
565 public unowned Clutter.Texture lookup_texture (string icon_name, int size);
566 public void set_search_paths (GLib.List<string> paths);
567 public void set_theme_name (string theme_name);
568 public string theme_name { get; set; }
570 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_image_get_type ()")]
571 public class Image : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
572 [CCode (has_construct_function = false, type = "ClutterActor*")]
573 [Version (since = "1.2")]
575 [Version (since = "1.2")]
576 public void animate_scale_mode (ulong mode, uint duration, Mx.ImageScaleMode scale_mode);
577 [Version (since = "1.2")]
578 public void clear ();
579 [Version (since = "1.2")]
580 public bool get_allow_upscale ();
581 [Version (since = "1.2")]
582 public float get_image_rotation ();
583 [Version (since = "1.2")]
584 public bool get_load_async ();
585 [Version (since = "1.2")]
586 public uint get_scale_height_threshold ();
587 [Version (since = "1.2")]
588 public Mx.ImageScaleMode get_scale_mode ();
589 [Version (since = "1.2")]
590 public uint get_scale_width_threshold ();
591 [Version (since = "1.2")]
592 public uint get_transition_duration ();
593 [Version (since = "1.2")]
594 public void set_allow_upscale (bool allow);
595 [Version (since = "1.2")]
596 public bool set_from_buffer ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func) throws GLib.Error;
597 [Version (since = "1.2")]
598 public bool set_from_buffer_at_size ([CCode (array_length_cname = "buffer_size", array_length_pos = 1.5, array_length_type = "gsize")] owned uint8[]? buffer, GLib.DestroyNotify? buffer_free_func, int width, int height) throws GLib.Error;
599 [Version (since = "1.2")]
600 public bool set_from_cogl_texture (Cogl.Handle texture);
601 [Version (since = "1.2")]
602 public bool set_from_data ([CCode (array_length = false)] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
603 [Version (since = "1.2")]
604 public bool set_from_file (string filename) throws GLib.Error;
605 [Version (since = "1.2")]
606 public bool set_from_file_at_size (string filename, int width, int height) throws GLib.Error;
607 [Version (since = "1.2")]
608 public void set_image_rotation (float rotation);
609 [Version (since = "1.2")]
610 public void set_load_async (bool load_async);
611 [Version (since = "1.2")]
612 public void set_scale_height_threshold (uint pixels);
613 [Version (since = "1.2")]
614 public void set_scale_mode (Mx.ImageScaleMode mode);
615 [Version (since = "1.2")]
616 public void set_scale_width_threshold (uint pixels);
617 [Version (since = "1.2")]
618 public void set_transition_duration (uint duration);
619 public bool allow_upscale { get; set; }
620 public float image_rotation { get; set; }
621 public bool load_async { get; set; }
622 public uint scale_height_threshold { get; set; }
623 public Mx.ImageScaleMode scale_mode { get; set; }
624 public uint scale_width_threshold { get; set; }
625 public uint transition_duration { get; set; }
626 [Version (since = "1.2")]
627 public virtual signal void image_load_error (GLib.Error error);
628 [Version (since = "1.2")]
629 public virtual signal void image_loaded ();
631 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_item_view_get_type ()")]
632 public class ItemView : Mx.Grid, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
633 [CCode (has_construct_function = false, type = "ClutterActor*")]
635 public void add_attribute (string attribute, int column);
636 public void freeze ();
637 public unowned Mx.ItemFactory get_factory ();
638 public GLib.Type get_item_type ();
639 public unowned Clutter.Model get_model ();
640 public void set_factory (Mx.ItemFactory? factory);
641 public void set_item_type (GLib.Type item_type);
642 public void set_model (Clutter.Model model);
644 public GLib.Object factory { get; set; }
645 public GLib.Type item_type { get; set; }
646 public Clutter.Model model { get; set; }
648 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_kinetic_scroll_view_get_type ()")]
649 public class KineticScrollView : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
650 [CCode (has_construct_function = false, type = "ClutterActor*")]
651 [Version (since = "1.2")]
652 public KineticScrollView ();
653 [Version (since = "1.4")]
654 public double get_acceleration_factor ();
655 [Version (since = "1.4")]
656 public uint get_clamp_duration ();
657 [Version (since = "1.4")]
658 public ulong get_clamp_mode ();
659 [Version (since = "1.4")]
660 public bool get_clamp_to_center ();
661 [Version (since = "1.2")]
662 public double get_deceleration ();
663 [Version (since = "1.2")]
664 public uint32 get_mouse_button ();
665 [Version (since = "1.2")]
666 public double get_overshoot ();
667 public Mx.ScrollPolicy get_scroll_policy ();
668 [Version (since = "1.2")]
669 public bool get_use_captured ();
670 [Version (since = "1.4")]
671 public void set_acceleration_factor (double acceleration_factor);
672 [Version (since = "1.4")]
673 public void set_clamp_duration (uint clamp_duration);
674 [Version (since = "1.4")]
675 public void set_clamp_mode (ulong clamp_mode);
676 [Version (since = "1.4")]
677 public void set_clamp_to_center (bool clamp_to_center);
678 [Version (since = "1.2")]
679 public void set_deceleration (double rate);
680 [Version (since = "1.2")]
681 public void set_mouse_button (uint32 button);
682 [Version (since = "1.2")]
683 public void set_overshoot (double overshoot);
684 public void set_scroll_policy (Mx.ScrollPolicy policy);
685 [Version (since = "1.2")]
686 public void set_use_captured (bool use_captured);
687 [Version (since = "1.2")]
689 public double acceleration_factor { get; set; }
690 public uint clamp_duration { get; set; }
691 public ulong clamp_mode { get; set; }
692 public bool clamp_to_center { get; set; }
693 public double deceleration { get; set; }
694 public uint mouse_button { get; set; }
695 public double overshoot { get; set; }
696 public Mx.ScrollPolicy scroll_policy { get; set; }
698 public Mx.KineticScrollViewState state { get; }
699 public bool use_captured { get; set; }
701 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_label_get_type ()")]
702 public class Label : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
703 [CCode (has_construct_function = false, type = "ClutterActor*")]
705 public unowned Clutter.Actor get_clutter_text ();
706 [Version (since = "1.2")]
707 public bool get_fade_out ();
708 [Version (since = "1.2")]
709 public bool get_line_wrap ();
710 [Version (since = "1.4")]
711 public bool get_show_tooltip ();
712 public unowned string get_text ();
713 [Version (since = "1.2")]
714 public bool get_use_markup ();
715 public Mx.Align get_x_align ();
716 public Mx.Align get_y_align ();
717 [Version (since = "1.2")]
718 public void set_fade_out (bool fade);
719 [Version (since = "1.2")]
720 public void set_line_wrap (bool line_wrap);
721 [Version (since = "1.4")]
722 public void set_show_tooltip (bool show_tooltip);
723 public void set_text (string text);
724 public void set_use_markup (bool use_markup);
725 public void set_x_align (Mx.Align align);
726 public void set_y_align (Mx.Align align);
727 [CCode (has_construct_function = false, type = "ClutterActor*")]
728 public Label.with_text (string text);
729 public Clutter.Text clutter_text { get; }
730 public bool fade_out { get; set; }
731 [Version (since = "1.2")]
732 public bool line_wrap { get; set; }
733 [Version (since = "1.4")]
734 public bool show_tooltip { get; set; }
735 public string text { get; set; }
736 public bool use_markup { get; set; }
737 public Mx.Align x_align { get; set; }
738 public Mx.Align y_align { get; set; }
740 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_list_view_get_type ()")]
741 public class ListView : Mx.BoxLayout, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
742 [CCode (has_construct_function = false, type = "ClutterActor*")]
744 public void add_attribute (string attribute, int column);
745 public void freeze ();
746 public unowned Mx.ItemFactory get_factory ();
747 public GLib.Type get_item_type ();
748 public unowned Clutter.Model get_model ();
749 public void set_factory (Mx.ItemFactory? factory);
750 public void set_item_type (GLib.Type item_type);
751 public void set_model (Clutter.Model model);
753 public GLib.Object factory { get; set; }
754 public GLib.Type item_type { get; set; }
755 public Clutter.Model model { get; set; }
757 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_menu_get_type ()")]
758 public class Menu : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
759 [CCode (has_construct_function = false, type = "ClutterActor*")]
761 public void add_action (Mx.Action action);
762 public void remove_action (Mx.Action action);
763 public void remove_all ();
764 public void show_with_position (float x, float y);
765 public virtual signal void action_activated (Mx.Action action);
767 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_notebook_get_type ()")]
768 public class Notebook : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
769 [CCode (has_construct_function = false, type = "ClutterActor*")]
771 public unowned Clutter.Actor get_current_page ();
772 public bool get_enable_gestures ();
773 public void set_current_page (Clutter.Actor page);
774 public void set_enable_gestures (bool enabled);
775 public Clutter.Actor current_page { get; set; }
776 public bool enable_gestures { get; set; }
778 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_offscreen_get_type ()")]
779 public class Offscreen : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable {
780 [CCode (has_construct_function = false, type = "ClutterActor*")]
782 [Version (since = "1.2")]
783 public bool get_accumulation_enabled ();
784 [Version (since = "1.2")]
785 public unowned Cogl.Handle get_accumulation_material ();
786 public bool get_auto_update ();
787 [Version (since = "1.2")]
788 public unowned Cogl.Handle get_buffer ();
789 public unowned Clutter.Actor get_child ();
790 public bool get_pick_child ();
791 [Version (since = "1.2")]
792 public bool get_redirect_enabled ();
794 public virtual void paint_child ();
795 [Version (since = "1.2")]
796 public void set_accumulation_enabled (bool enable);
797 public void set_auto_update (bool auto_update);
798 public void set_child (Clutter.Actor actor);
799 public void set_pick_child (bool pick);
800 [Version (since = "1.2")]
801 public void set_redirect_enabled (bool enabled);
802 public void update ();
803 public bool accumulation_enabled { get; set; }
804 public void* accumulation_material { get; }
805 public bool auto_update { get; set; }
806 public Cogl.Handle buffer { get; }
807 public Clutter.Actor child { get; set; }
808 public bool pick_child { get; set; }
809 public bool redirect_enabled { get; set; }
811 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_path_bar_get_type ()")]
812 public class PathBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
813 [CCode (has_construct_function = false, type = "ClutterActor*")]
815 public void clear ();
816 public bool get_clear_on_change ();
817 public bool get_editable ();
818 public unowned Mx.Entry get_entry ();
819 public unowned string get_label (int level);
820 public int get_level ();
821 public unowned string get_text ();
823 public int push (string name);
824 public void set_clear_on_change (bool clear_on_change);
825 public void set_editable (bool editable);
826 public void set_label (int level, string label);
827 public void set_text (string text);
828 public bool clear_on_change { get; set; }
829 public bool editable { get; set; }
830 public Mx.Entry entry { get; }
831 public int level { get; }
833 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_progress_bar_get_type ()")]
834 public class ProgressBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
835 [CCode (has_construct_function = false, type = "ClutterActor*")]
836 public ProgressBar ();
837 public double get_progress ();
838 public void set_progress (double progress);
839 public double progress { get; set; }
841 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_scroll_bar_get_type ()")]
842 public class ScrollBar : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
843 [CCode (has_construct_function = false, type = "ClutterActor*")]
845 public unowned Mx.Adjustment get_adjustment ();
846 public Mx.Orientation get_orientation ();
847 public void set_adjustment (Mx.Adjustment adjustment);
848 public void set_orientation (Mx.Orientation orientation);
849 [CCode (has_construct_function = false, type = "ClutterActor*")]
850 public ScrollBar.with_adjustment (Mx.Adjustment adjustment);
851 public Mx.Adjustment adjustment { get; set; }
852 public Mx.Orientation orientation { get; set; }
853 public virtual signal void scroll_start ();
854 public virtual signal void scroll_stop ();
856 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_scroll_view_get_type ()")]
857 public class ScrollView : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
858 [CCode (has_construct_function = false, type = "ClutterActor*")]
859 public ScrollView ();
860 public void ensure_visible (Clutter.Geometry geometry);
861 public bool get_enable_gestures ();
862 public bool get_enable_mouse_scrolling ();
863 public Mx.ScrollPolicy get_scroll_policy ();
864 public void set_enable_gestures (bool enabled);
865 public void set_enable_mouse_scrolling (bool enabled);
866 public void set_scroll_policy (Mx.ScrollPolicy policy);
867 public bool enable_gestures { get; set; }
868 public bool enable_mouse_scrolling { get; set; }
869 public Mx.ScrollPolicy scroll_policy { get; set; }
871 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_settings_get_type ()")]
872 public class Settings : GLib.Object {
873 [CCode (has_construct_function = false)]
874 protected Settings ();
875 public static unowned Mx.Settings get_default ();
877 public uint drag_threshold { get; set; }
879 public string font_name { owned get; set; }
881 public string icon_theme { owned get; set; }
883 public uint long_press_timeout { get; set; }
885 public bool small_screen { get; set; }
887 [CCode (cheader_filename = "mx/mx.h", has_type_id = false)]
889 public class SettingsProvider {
891 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_slider_get_type ()")]
892 public class Slider : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
893 [CCode (has_construct_function = false, type = "ClutterActor*")]
895 [Version (since = "1.2")]
896 public double get_buffer_value ();
897 public double get_value ();
898 [Version (since = "1.2")]
899 public void set_buffer_value (double value);
900 public void set_value (double value);
901 public double buffer_value { get; set; }
902 public double value { get; set; }
904 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_spinner_get_type ()")]
905 public class Spinner : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
906 [CCode (has_construct_function = false, type = "ClutterActor*")]
907 [Version (since = "1.2")]
909 [Version (since = "1.2")]
910 public bool get_animating ();
911 [Version (since = "1.2")]
912 public void set_animating (bool animating);
913 public bool animating { get; set; }
914 [Version (since = "1.2")]
915 public virtual signal void looped ();
917 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_stack_get_type ()")]
918 public class Stack : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
919 [CCode (has_construct_function = false, type = "ClutterActor*")]
920 [Version (since = "1.2")]
922 [Version (since = "1.4")]
923 public bool child_get_crop (Clutter.Actor child);
924 [Version (since = "1.2")]
925 public bool child_get_fit (Clutter.Actor child);
926 [Version (since = "1.2")]
927 public Mx.Align child_get_x_align (Clutter.Actor child);
928 [Version (since = "1.2")]
929 public bool child_get_x_fill (Clutter.Actor child);
930 [Version (since = "1.2")]
931 public Mx.Align child_get_y_align (Clutter.Actor child);
932 [Version (since = "1.2")]
933 public bool child_get_y_fill (Clutter.Actor child);
934 [Version (since = "1.4")]
935 public void child_set_crop (Clutter.Actor child, bool crop);
936 [Version (since = "1.2")]
937 public void child_set_fit (Clutter.Actor child, bool fit);
938 [Version (since = "1.2")]
939 public void child_set_x_align (Clutter.Actor child, Mx.Align x_align);
940 [Version (since = "1.2")]
941 public void child_set_x_fill (Clutter.Actor child, bool x_fill);
942 [Version (since = "1.2")]
943 public void child_set_y_align (Clutter.Actor child, Mx.Align y_align);
944 [Version (since = "1.2")]
945 public void child_set_y_fill (Clutter.Actor child, bool y_fill);
947 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_stack_child_get_type ()")]
948 public class StackChild : Clutter.ChildMeta {
949 [CCode (has_construct_function = false)]
950 protected StackChild ();
952 public bool crop { get; set; }
954 public bool fit { get; set; }
956 public Mx.Align x_align { get; set; }
958 public bool x_fill { get; set; }
960 public Mx.Align y_align { get; set; }
962 public bool y_fill { get; set; }
964 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_style_get_type ()")]
965 public class Style : GLib.Object {
966 [CCode (has_construct_function = false)]
968 public void @get (Mx.Stylable stylable, ...);
969 public static unowned Mx.Style get_default ();
970 public GLib.Value get_property (Mx.Stylable stylable, GLib.ParamSpec pspec);
971 public void get_valist (Mx.Stylable stylable, string first_property_name, va_list va_args);
972 public bool load_from_file (string filename) throws GLib.Error;
973 public virtual signal void changed ();
975 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_table_get_type ()")]
976 public class Table : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
977 [CCode (has_construct_function = false, type = "ClutterActor*")]
979 public void add_actor_with_properties (Clutter.Actor actor, int row, int column, ...);
980 [CCode (cname = "mx_table_add_actor")]
981 public void add_child (Clutter.Actor actor, int row, int column);
982 public int child_get_column (Clutter.Actor child);
983 public int child_get_column_span (Clutter.Actor child);
984 public int child_get_row (Clutter.Actor child);
985 public int child_get_row_span (Clutter.Actor child);
986 public Mx.Align child_get_x_align (Clutter.Actor child);
987 public bool child_get_x_expand (Clutter.Actor child);
988 public bool child_get_x_fill (Clutter.Actor child);
989 public Mx.Align child_get_y_align (Clutter.Actor child);
990 public bool child_get_y_expand (Clutter.Actor child);
991 public bool child_get_y_fill (Clutter.Actor child);
992 public void child_set_column (Clutter.Actor child, int col);
993 public void child_set_column_span (Clutter.Actor child, int span);
994 public void child_set_row (Clutter.Actor child, int row);
995 public void child_set_row_span (Clutter.Actor child, int span);
996 public void child_set_x_align (Clutter.Actor child, Mx.Align align);
997 public void child_set_x_expand (Clutter.Actor child, bool expand);
998 public void child_set_x_fill (Clutter.Actor child, bool fill);
999 public void child_set_y_align (Clutter.Actor child, Mx.Align align);
1000 public void child_set_y_expand (Clutter.Actor child, bool expand);
1001 public void child_set_y_fill (Clutter.Actor child, bool fill);
1002 public int get_column_count ();
1003 public int get_column_spacing ();
1004 public int get_row_count ();
1005 public int get_row_spacing ();
1006 public void set_column_spacing (int spacing);
1007 public void set_row_spacing (int spacing);
1008 public int column_count { get; }
1009 public int column_spacing { get; set; }
1010 public int row_count { get; }
1011 public int row_spacing { get; set; }
1013 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_table_child_get_type ()")]
1014 public class TableChild : Clutter.ChildMeta {
1015 [CCode (has_construct_function = false)]
1016 protected TableChild ();
1017 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_column")]
1018 public static int get_column (Mx.Table table, Clutter.Actor child);
1019 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_column_span")]
1020 public static int get_column_span (Mx.Table table, Clutter.Actor child);
1021 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_row")]
1022 public static int get_row (Mx.Table table, Clutter.Actor child);
1023 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_row_span")]
1024 public static int get_row_span (Mx.Table table, Clutter.Actor child);
1025 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_align")]
1026 public static Mx.Align get_x_align (Mx.Table table, Clutter.Actor child);
1027 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_expand")]
1028 public static bool get_x_expand (Mx.Table table, Clutter.Actor child);
1029 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_x_fill")]
1030 public static bool get_x_fill (Mx.Table table, Clutter.Actor child);
1031 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_align")]
1032 public static Mx.Align get_y_align (Mx.Table table, Clutter.Actor child);
1033 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_expand")]
1034 public static bool get_y_expand (Mx.Table table, Clutter.Actor child);
1035 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_get_y_fill")]
1036 public static bool get_y_fill (Mx.Table table, Clutter.Actor child);
1037 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_column")]
1038 public static void set_column (Mx.Table table, Clutter.Actor child, int col);
1039 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_column_span")]
1040 public static void set_column_span (Mx.Table table, Clutter.Actor child, int span);
1041 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_row")]
1042 public static void set_row (Mx.Table table, Clutter.Actor child, int row);
1043 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_row_span")]
1044 public static void set_row_span (Mx.Table table, Clutter.Actor child, int span);
1045 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_align")]
1046 public static void set_x_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
1047 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_expand")]
1048 public static void set_x_expand (Mx.Table table, Clutter.Actor child, bool expand);
1049 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_x_fill")]
1050 public static void set_x_fill (Mx.Table table, Clutter.Actor child, bool fill);
1051 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_align")]
1052 public static void set_y_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
1053 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_expand")]
1054 public static void set_y_expand (Mx.Table table, Clutter.Actor child, bool expand);
1055 [Version (deprecated_since = "vala-0.14", replacement = "Table.child_set_y_fill")]
1056 public static void set_y_fill (Mx.Table table, Clutter.Actor child, bool fill);
1058 public int column { get; set; }
1060 public int column_span { get; set; }
1062 public int row { get; set; }
1064 public int row_span { get; set; }
1066 public Mx.Align x_align { get; set; }
1068 public bool x_expand { get; set; }
1070 public bool x_fill { get; set; }
1072 public Mx.Align y_align { get; set; }
1074 public bool y_expand { get; set; }
1076 public bool y_fill { get; set; }
1078 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_texture_cache_get_type ()")]
1079 public class TextureCache : GLib.Object {
1080 [CCode (has_construct_function = false)]
1081 protected TextureCache ();
1082 [Version (since = "1.2")]
1083 public bool contains (string uri);
1084 [Version (since = "1.2")]
1085 public bool contains_meta (string uri, void* ident);
1087 public virtual void error_loading (GLib.Error error);
1088 public unowned Clutter.Actor get_actor (string uri);
1089 public unowned Cogl.Handle get_cogl_texture (string uri);
1090 public static unowned Mx.TextureCache get_default ();
1091 [Version (since = "1.2")]
1092 public Cogl.Handle get_meta_cogl_texture (string uri, void* ident);
1093 [Version (since = "1.2")]
1094 public Clutter.Texture get_meta_texture (string uri, void* ident);
1095 public int get_size ();
1096 public unowned Clutter.Texture get_texture (string uri);
1097 [Version (since = "1.2")]
1098 public void insert (string uri, Cogl.Handle texture);
1099 [Version (since = "1.2")]
1100 public void insert_meta (string uri, void* ident, Cogl.Handle texture, GLib.DestroyNotify destroy_func);
1101 public void load_cache (string filename);
1103 public virtual void loaded (string uri, Clutter.Texture texture);
1105 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_texture_frame_get_type ()")]
1106 public class TextureFrame : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
1107 [CCode (has_construct_function = false, type = "ClutterActor*")]
1108 public TextureFrame (Clutter.Texture texture, float top, float right, float bottom, float left);
1109 public void get_border_values (float top, float right, float bottom, float left);
1110 public unowned Clutter.Texture get_parent_texture ();
1111 public void set_border_values (float top, float right, float bottom, float left);
1112 public void set_parent_texture (Clutter.Texture texture);
1114 public float bottom { get; set construct; }
1116 public float left { get; set construct; }
1117 public Clutter.Texture parent_texture { get; set construct; }
1119 public float right { get; set construct; }
1121 public float top { get; set construct; }
1123 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_toggle_get_type ()")]
1124 public class Toggle : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
1125 [CCode (has_construct_function = false, type = "ClutterActor*")]
1127 public bool get_active ();
1128 public void set_active (bool active);
1129 public bool active { get; set; }
1131 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_toolbar_get_type ()")]
1132 public class Toolbar : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
1133 [CCode (has_construct_function = false, type = "ClutterActor*")]
1135 public bool get_has_close_button ();
1136 public void set_has_close_button (bool has_close_button);
1137 public bool has_close_button { get; set; }
1138 public virtual signal bool close_button_clicked ();
1140 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_tooltip_get_type ()")]
1141 public class Tooltip : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
1142 [CCode (has_construct_function = false)]
1143 protected Tooltip ();
1144 public unowned string get_text ();
1145 public unowned Clutter.Geometry? get_tip_area ();
1146 public void hide ();
1147 [Version (since = "1.2")]
1148 public static bool is_in_browse_mode ();
1149 public void set_text (string text);
1150 public void set_tip_area (Clutter.Geometry area);
1151 public void set_tip_area_from_actor (Clutter.Actor actor);
1152 public void show ();
1153 public string text { get; set; }
1154 public Clutter.Geometry tip_area { get; set; }
1156 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_viewport_get_type ()")]
1157 public class Viewport : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
1158 [CCode (has_construct_function = false, type = "ClutterActor*")]
1160 public void get_origin (float x, float y, float z);
1161 public bool get_sync_adjustments ();
1162 public void set_origin (float x, float y, float z);
1163 public void set_sync_adjustments (bool sync);
1164 public bool sync_adjustments { get; set; }
1166 public float x_origin { get; set; }
1168 public float y_origin { get; set; }
1170 public float z_origin { get; set; }
1172 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_widget_get_type ()")]
1173 public abstract class Widget : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
1174 [CCode (has_construct_function = false)]
1175 protected Widget ();
1176 [Version (since = "1.2")]
1177 public virtual void apply_style (Mx.Style style);
1178 public void get_available_area (Clutter.ActorBox allocation, Clutter.ActorBox area);
1179 public unowned Clutter.Actor get_background_image ();
1180 public unowned Clutter.Actor get_border_image ();
1181 public bool get_disabled ();
1182 public unowned Mx.Menu get_menu ();
1183 public Mx.Padding get_padding ();
1184 public uint get_tooltip_delay ();
1185 public unowned string get_tooltip_text ();
1186 public void hide_tooltip ();
1187 public void long_press_cancel ();
1188 public void long_press_query (Clutter.ButtonEvent event);
1190 public virtual void paint_background (Clutter.Actor background, Clutter.Color color);
1191 [CCode (cname = "mx_widget_paint_background")]
1192 public void paint_background_with_defaults ();
1193 public void set_disabled (bool disabled);
1194 public void set_menu (Mx.Menu menu);
1195 public void set_tooltip_delay (uint delay);
1196 public void set_tooltip_text (string text);
1197 public void show_tooltip ();
1198 public bool disabled { get; set; }
1199 public Mx.Menu menu { get; set; }
1200 public int tooltip_delay { get; set construct; }
1201 public string tooltip_text { get; set; }
1202 public virtual signal bool long_press (float action, float x, Mx.LongPressAction y);
1204 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_window_get_type ()")]
1205 public class Window : GLib.Object {
1206 [CCode (has_construct_function = false)]
1208 public unowned Clutter.Actor get_child ();
1209 public unowned Clutter.Stage get_clutter_stage ();
1210 public static unowned Mx.Window get_for_stage (Clutter.Stage stage);
1211 [Version (since = "1.2")]
1212 public bool get_fullscreen ();
1213 public bool get_has_toolbar ();
1214 public unowned string get_icon_name ();
1215 public bool get_small_screen ();
1216 [Version (since = "1.2")]
1217 public unowned string get_title ();
1218 public unowned Mx.Toolbar get_toolbar ();
1219 public void get_window_position (out int x, out int y);
1220 [Version (since = "1.2")]
1221 public Mx.WindowRotation get_window_rotation ();
1222 [Version (since = "1.2")]
1223 public void get_window_size (out int width, out int height);
1224 [Version (since = "1.2")]
1225 public void hide ();
1226 [Version (since = "1.2")]
1227 public void present ();
1228 public void set_child (Clutter.Actor actor);
1229 [Version (since = "1.2")]
1230 public void set_fullscreen (bool fullscreen);
1231 public void set_has_toolbar (bool toolbar);
1232 public void set_icon_from_cogl_texture (Cogl.Handle texture);
1233 public void set_icon_name (string? icon_name);
1234 public void set_small_screen (bool small_screen);
1235 [Version (since = "1.2")]
1236 public void set_title (string title);
1237 [Version (since = "1.2")]
1238 public void set_toolbar (Mx.Toolbar toolbar);
1239 public void set_window_position (int x, int y);
1240 [Version (since = "1.2")]
1241 public void set_window_rotation (Mx.WindowRotation rotation);
1242 [Version (since = "1.2")]
1243 public void set_window_size (int width, int height);
1244 [Version (since = "1.2")]
1245 public void show ();
1246 [CCode (has_construct_function = false)]
1247 public Window.with_clutter_stage (Clutter.Stage stage);
1248 public Clutter.Actor child { get; set; }
1249 public Clutter.Stage clutter_stage { get; construct; }
1250 public bool fullscreen { get; set; }
1251 public bool has_toolbar { get; set; }
1253 public string icon_cogl_texture { owned get; set; }
1254 public string icon_name { get; set; }
1255 public bool small_screen { get; set; }
1256 public string title { get; set; }
1257 public Mx.Toolbar toolbar { get; set; }
1258 public Mx.WindowRotation window_rotation { get; set; }
1260 public float window_rotation_angle { get; }
1262 public Clutter.Timeline window_rotation_timeline { owned get; }
1263 public virtual signal void destroy ();
1265 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_draggable_get_type ()")]
1266 public interface Draggable : Clutter.Actor {
1267 public virtual void disable ();
1268 public virtual void enable ();
1269 public Mx.DragAxis get_axis ();
1270 public unowned Clutter.Actor get_drag_actor ();
1271 public uint get_drag_threshold ();
1272 public bool is_enabled ();
1273 public void set_axis (Mx.DragAxis axis);
1274 public void set_drag_actor (Clutter.Actor actor);
1275 public void set_drag_threshold (uint threshold);
1277 public abstract Mx.DragAxis axis { get; set; }
1279 public abstract Clutter.Actor drag_actor { get; set; }
1281 public abstract bool drag_enabled { get; set; }
1283 public abstract uint drag_threshold { get; set; }
1284 public virtual signal void drag_begin (float event_x, float event_y, int event_button, Clutter.ModifierType modifiers);
1285 public virtual signal void drag_end (float event_x, float event_y);
1286 public virtual signal void drag_motion (float delta_x, float delta_y);
1288 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_droppable_get_type ()")]
1289 public interface Droppable : Clutter.Actor {
1290 public virtual bool accept_drop (Mx.Draggable draggable);
1291 public virtual void disable ();
1292 public virtual void enable ();
1293 public bool is_enabled ();
1295 public abstract bool drop_enabled { get; set; }
1296 public virtual signal void drop (Clutter.Actor draggable, float event_x, float event_y, int button, Clutter.ModifierType modifiers);
1297 public virtual signal void over_in (Clutter.Actor draggable);
1298 public virtual signal void over_out (Clutter.Actor draggable);
1300 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_focusable_get_type ()")]
1301 public interface Focusable : GLib.Object {
1302 public abstract unowned Mx.Focusable accept_focus (Mx.FocusHint hint);
1303 public abstract unowned Mx.Focusable move_focus (Mx.FocusDirection direction, Mx.Focusable from);
1305 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_item_factory_get_type ()")]
1306 public interface ItemFactory : GLib.Object {
1307 public abstract Clutter.Actor create ();
1309 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_scrollable_get_type ()")]
1310 public interface Scrollable : GLib.Object {
1311 public abstract void get_adjustments (out unowned Mx.Adjustment? hadjustment, out unowned Mx.Adjustment? vadjustment);
1312 public abstract void set_adjustments (Mx.Adjustment hadjustment, Mx.Adjustment vadjustment);
1314 public abstract Mx.Adjustment horizontal_adjustment { owned get; set; }
1316 public abstract Mx.Adjustment vertical_adjustment { owned get; set; }
1318 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_stylable_get_type ()")]
1319 public interface Stylable : GLib.Object {
1320 public void apply_clutter_text_attributes (Clutter.Text text);
1321 public void connect_change_notifiers ();
1322 public unowned GLib.ParamSpec find_property (string property_name);
1323 public void @get (...);
1324 public bool get_default_value (string property_name, out GLib.Value value_out);
1325 public GLib.Value get_property (string property_name);
1326 public abstract unowned Mx.Style get_style ();
1327 public abstract unowned string get_style_class ();
1328 public abstract unowned string get_style_pseudo_class ();
1329 [CCode (array_length_pos = 0.1, array_length_type = "guint")]
1330 public (unowned GLib.ParamSpec)[] list_properties ();
1331 public abstract void set_style (Mx.Style style);
1332 public abstract void set_style_class (string style_class);
1333 public abstract void set_style_pseudo_class (string pseudo_class);
1334 [Version (since = "1.2")]
1335 public void style_pseudo_class_add (string new_class);
1336 [Version (since = "1.2")]
1337 public bool style_pseudo_class_contains (string pseudo_class);
1338 [Version (since = "1.2")]
1339 public void style_pseudo_class_remove (string remove_class);
1340 public abstract Mx.Style style { get; set; }
1341 public abstract string style_class { get; set; }
1342 public abstract string style_pseudo_class { get; set; }
1344 public virtual signal void style_changed (Mx.StyleChangedFlags flags);
1346 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_padding_get_type ()")]
1347 public struct Padding {
1350 public float bottom;
1353 [CCode (cheader_filename = "mx/mx.h", has_type_id = false)]
1354 public struct SettingsProviderIface {
1356 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_ACTOR_MANAGER_", type_id = "mx_actor_manager_error_get_type ()")]
1357 public enum ActorManagerError {
1358 CONTAINER_DESTROYED,
1363 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_ALIGN_", type_id = "mx_align_get_type ()")]
1369 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_APPLICATION_", type_id = "mx_application_flags_get_type ()")]
1371 public enum ApplicationFlags {
1375 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_DRAG_AXIS_", type_id = "mx_drag_axis_get_type ()")]
1376 public enum DragAxis {
1381 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FOCUS_DIRECTION_", type_id = "mx_focus_direction_get_type ()")]
1382 public enum FocusDirection {
1391 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FOCUS_HINT_", type_id = "mx_focus_hint_get_type ()")]
1392 public enum FocusHint {
1400 [Version (since = "1.2")]
1401 public static Mx.FocusHint from_direction (Mx.FocusDirection direction);
1403 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FONT_WEIGHT_", type_id = "mx_font_weight_get_type ()")]
1404 public enum FontWeight {
1409 public static void set_from_string (GLib.Value value, string str);
1411 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_IMAGE_SCALE_", type_id = "mx_image_scale_mode_get_type ()")]
1412 public enum ImageScaleMode {
1417 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_KINETIC_SCROLL_VIEW_STATE_", type_id = "mx_kinetic_scroll_view_state_get_type ()")]
1418 public enum KineticScrollViewState {
1424 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_LONG_PRESS_", type_id = "mx_long_press_action_get_type ()")]
1425 public enum LongPressAction {
1430 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_ORIENTATION_", type_id = "mx_orientation_get_type ()")]
1431 public enum Orientation {
1435 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_POSITION_", type_id = "mx_position_get_type ()")]
1436 [Version (since = "1.2")]
1437 public enum Position {
1443 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_SCROLL_POLICY_", type_id = "mx_scroll_policy_get_type ()")]
1444 public enum ScrollPolicy {
1450 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_STYLE_CHANGED_", type_id = "mx_style_changed_flags_get_type ()")]
1452 public enum StyleChangedFlags {
1457 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_STYLE_ERROR_INVALID_", type_id = "mx_style_error_get_type ()")]
1458 public enum StyleError {
1459 [Version (deprecated_since = "vala-0.14", replacement = "StyleError.INVALID_FILE")]
1461 [CCode (cname = "MX_STYLE_ERROR_INVALID_FILE")]
1464 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_TOOLTIP_ANIMATION_", type_id = "mx_tooltip_animation_get_type ()")]
1465 [Version (since = "1.2")]
1466 public enum TooltipAnimation {
1470 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_WINDOW_", type_id = "mx_window_rotation_get_type ()")]
1471 [Version (since = "1.2")]
1472 public enum WindowRotation {
1473 [CCode (cname = "MX_WINDOW_ROTATION_0")]
1475 [CCode (cname = "MX_WINDOW_ROTATION_90")]
1477 [CCode (cname = "MX_WINDOW_ROTATION_180")]
1479 [CCode (cname = "MX_WINDOW_ROTATION_270")]
1482 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_IMAGE_ERROR_")]
1483 public errordomain ImageError {
1488 public static GLib.Quark quark ();
1490 [CCode (cheader_filename = "mx/mx.h", instance_pos = 1.9)]
1491 public delegate void ActionCallbackFunc (Mx.Action action);
1492 [CCode (cheader_filename = "mx/mx.h", instance_pos = 2.9)]
1493 public delegate void ClipboardCallbackFunc (Mx.Clipboard clipboard, string text);
1494 [CCode (cheader_filename = "mx/mx.h", cname = "MX_MAJOR_VERSION")]
1495 public const int MAJOR_VERSION;
1496 [CCode (cheader_filename = "mx/mx.h", cname = "MX_MICRO_VERSION")]
1497 public const int MICRO_VERSION;
1498 [CCode (cheader_filename = "mx/mx.h", cname = "MX_MINOR_VERSION")]
1499 public const int MINOR_VERSION;
1500 [CCode (cheader_filename = "mx/mx.h", cname = "MX_PARAM_TRANSLATEABLE")]
1501 public const int PARAM_TRANSLATEABLE;
1502 [CCode (cheader_filename = "mx/mx.h", cname = "MX_VERSION_HEX")]
1503 public const int VERSION_HEX;
1504 [CCode (cheader_filename = "mx/mx.h", cname = "MX_VERSION_S")]
1505 public const string VERSION_S;
1506 [CCode (cheader_filename = "mx/mx.h")]
1507 public static void actor_box_clamp_to_pixels (Clutter.ActorBox box);
1508 [CCode (cheader_filename = "mx/mx.h")]
1509 public static void allocate_align_fill (Clutter.Actor child, Clutter.ActorBox childbox, Mx.Align x_alignment, Mx.Align y_alignment, bool x_fill, bool y_fill);
1510 [CCode (cheader_filename = "mx/mx.h")]
1511 [Version (deprecated_since = "vala-0.14", replacement = "FontWeight.set_from_string")]
1512 public static void font_weight_set_from_string (GLib.Value value, string str);
1513 [CCode (cheader_filename = "mx/mx.h")]
1514 public static void set_locale ();
1515 [CCode (cheader_filename = "mx/mx.h")]
1516 public static string utils_format_time (GLib.TimeVal time_);