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, 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 public Action.stateful (string name, GLib.VariantType? parameter_type, GLib.Variant state);
20 [CCode (has_construct_function = false)]
21 public Action.with_parameter (string name, GLib.VariantType? parameter_type);
22 [Deprecated (since = "1.4")]
23 public bool active { get; set; }
24 public string display_name { get; set; }
25 public string icon { get; set; }
26 public signal void activate (GLib.Variant? parameter);
27 [Deprecated (since = "1.4")]
28 public virtual signal void activated ();
30 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_actor_manager_get_type ()")]
31 public class ActorManager : GLib.Object {
32 [CCode (has_construct_function = false)]
33 public ActorManager (Clutter.Stage stage);
34 public ulong add_actor (Clutter.Container container, Clutter.Actor actor);
35 public void cancel_operation (ulong id);
36 public void cancel_operations (Clutter.Actor actor);
37 public static unowned Mx.ActorManager get_for_stage (Clutter.Stage stage);
38 public uint get_n_operations ();
39 public unowned Clutter.Stage get_stage ();
40 public uint get_time_slice ();
41 public ulong remove_actor (Clutter.Container container, Clutter.Actor actor);
42 public void remove_container (Clutter.Container container);
43 public void set_time_slice (uint msecs);
44 public uint n_operations { get; }
45 public Clutter.Stage stage { get; construct; }
46 public uint time_slice { get; set; }
47 public virtual signal void actor_added (ulong id, Clutter.Actor container, Clutter.Actor actor);
48 public virtual signal void actor_created (ulong id, Clutter.Actor actor);
49 public virtual signal void actor_finished (Clutter.Actor actor);
50 public virtual signal void actor_removed (ulong id, Clutter.Actor container, Clutter.Actor actor);
51 public virtual signal void operation_cancelled (ulong id);
52 public virtual signal void operation_completed (ulong id);
53 public virtual signal void operation_failed (ulong id, GLib.Error error);
55 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_adjustment_get_type ()")]
56 public class Adjustment : GLib.Object {
57 [CCode (has_construct_function = false)]
59 public bool get_clamp_value ();
60 public bool get_elastic ();
61 public double get_lower ();
62 public double get_page_increment ();
63 public double get_page_size ();
64 public double get_step_increment ();
65 public double get_upper ();
66 public double get_value ();
67 public void get_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
68 public void interpolate (double value, uint duration, ulong mode);
69 public void interpolate_relative (double offset, uint duration, ulong mode);
70 public void set_clamp_value (bool clamp);
71 public void set_elastic (bool elastic);
72 public void set_lower (double lower);
73 public void set_page_increment (double increment);
74 public void set_page_size (double page_size);
75 public void set_step_increment (double increment);
76 public void set_upper (double upper);
77 public void set_value (double value);
78 public void set_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
79 [CCode (has_construct_function = false)]
80 public Adjustment.with_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
81 public bool clamp_value { get; set; }
82 public bool elastic { get; set; }
83 public double lower { get; set construct; }
84 public double page_increment { get; set construct; }
85 public double page_size { get; set construct; }
86 public double step_increment { get; set construct; }
87 public double upper { get; set construct; }
88 public double value { get; set construct; }
89 public virtual signal void changed ();
90 public virtual signal void interpolation_completed ();
92 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_application_get_type ()")]
93 public class Application : GLib.Object {
94 [CCode (has_construct_function = false)]
95 public Application ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv, string name, Mx.ApplicationFlags flags);
96 public void add_action (Mx.Action action);
97 public void add_window (owned Mx.Window window);
98 public virtual unowned Mx.Window create_window ();
99 public GLib.List<weak Mx.Action> get_actions ();
100 public Mx.ApplicationFlags get_flags ();
101 public unowned GLib.List<Mx.Window> get_windows ();
102 public void invoke_action (string name);
103 public void invoke_action_with_parameter (string name, GLib.Variant variant);
104 public bool is_running ();
107 public virtual void raise ();
108 public void remove_action (string name);
109 public void remove_window (Mx.Window window);
112 public string application_name { owned get; construct; }
113 public uint flags { get; construct; }
114 public virtual signal void actions_changed ();
116 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_bin_get_type ()")]
117 public abstract class Bin : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
118 [CCode (has_construct_function = false)]
120 public void allocate_child (Clutter.ActorBox box, Clutter.AllocationFlags flags);
121 public void get_alignment (out Mx.Align x_align, out Mx.Align y_align);
122 public unowned Clutter.Actor get_child ();
123 public void get_fill (out bool x_fill, out bool y_fill);
124 public void set_alignment (Mx.Align x_align, Mx.Align y_align);
125 public void set_child (Clutter.Actor child);
126 public void set_fill (bool x_fill, bool y_fill);
127 public Clutter.Actor child { get; set; }
129 public Mx.Align x_align { get; set; }
131 public bool x_fill { get; set; }
133 public Mx.Align y_align { get; set; }
135 public bool y_fill { get; set; }
137 [CCode (cheader_filename = "mx/mx.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "mx_border_image_get_type ()")]
139 public class BorderImage {
144 public weak string uri;
145 public static void set_from_string (GLib.Value value, string str, string filename);
147 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_box_layout_get_type ()")]
148 public class BoxLayout : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
149 [CCode (has_construct_function = false, type = "ClutterActor*")]
151 public void add_actor_with_properties (Clutter.Actor actor, int position, ...);
152 [CCode (cname = "mx_box_layout_add_actor")]
153 public void add_child (Clutter.Actor actor, int position);
154 public bool child_get_expand (Clutter.Actor child);
155 public Mx.Align child_get_x_align (Clutter.Actor child);
156 public bool child_get_x_fill (Clutter.Actor child);
157 public Mx.Align child_get_y_align (Clutter.Actor child);
158 public bool child_get_y_fill (Clutter.Actor child);
159 public void child_set_expand (Clutter.Actor child, bool expand);
160 public void child_set_x_align (Clutter.Actor child, Mx.Align x_align);
161 public void child_set_x_fill (Clutter.Actor child, bool x_fill);
162 public void child_set_y_align (Clutter.Actor child, Mx.Align y_align);
163 public void child_set_y_fill (Clutter.Actor child, bool y_fill);
164 public bool get_enable_animations ();
165 public Mx.Orientation get_orientation ();
166 public bool get_scroll_to_focused ();
167 public uint get_spacing ();
168 public void set_enable_animations (bool enable_animations);
169 public void set_orientation (Mx.Orientation orientation);
170 public void set_scroll_to_focused (bool scroll_to_focused);
171 public void set_spacing (uint spacing);
172 public bool enable_animations { get; set; }
173 public Mx.Orientation orientation { get; set; }
174 public bool scroll_to_focused { get; set; }
175 public uint spacing { get; set; }
177 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_box_layout_child_get_type ()")]
178 public class BoxLayoutChild : Clutter.ChildMeta {
179 [CCode (has_construct_function = false)]
180 protected BoxLayoutChild ();
181 [Deprecated (replacement = "BoxLayout.child_get_expand", since = "vala-0.14")]
182 public static bool get_expand (Mx.BoxLayout box_layout, Clutter.Actor child);
183 [Deprecated (replacement = "BoxLayout.child_get_x_align", since = "vala-0.14")]
184 public static Mx.Align get_x_align (Mx.BoxLayout box_layout, Clutter.Actor child);
185 [Deprecated (replacement = "BoxLayout.child_get_x_fill", since = "vala-0.14")]
186 public static bool get_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
187 [Deprecated (replacement = "BoxLayout.child_get_y_align", since = "vala-0.14")]
188 public static Mx.Align get_y_align (Mx.BoxLayout box_layout, Clutter.Actor child);
189 [Deprecated (replacement = "BoxLayout.child_get_y_fill", since = "vala-0.14")]
190 public static bool get_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
191 [Deprecated (replacement = "BoxLayout.child_set_expand", since = "vala-0.14")]
192 public static void set_expand (Mx.BoxLayout box_layout, Clutter.Actor child, bool expand);
193 [Deprecated (replacement = "BoxLayout.child_set_x_align", since = "vala-0.14")]
194 public static void set_x_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align x_align);
195 [Deprecated (replacement = "BoxLayout.child_set_x_fill", since = "vala-0.14")]
196 public static void set_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool x_fill);
197 [Deprecated (replacement = "BoxLayout.child_set_y_align", since = "vala-0.14")]
198 public static void set_y_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align y_align);
199 [Deprecated (replacement = "BoxLayout.child_set_y_fill", since = "vala-0.14")]
200 public static void set_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool y_fill);
202 public bool expand { get; set; }
204 public Mx.Align x_align { get; set; }
206 public bool x_fill { get; set; }
208 public Mx.Align y_align { get; set; }
210 public bool y_fill { get; set; }
212 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_button_get_type ()")]
213 public class Button : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
214 [CCode (has_construct_function = false, type = "ClutterActor*")]
216 public unowned Mx.Action get_action ();
217 public unowned string get_icon_name ();
218 public Mx.Position get_icon_position ();
219 public uint get_icon_size ();
220 public bool get_icon_visible ();
221 public bool get_is_toggle ();
222 public unowned string get_label ();
223 public bool get_label_visible ();
224 public bool get_toggled ();
225 public void set_action (Mx.Action action);
226 public void set_icon_name (string? icon_name);
227 public void set_icon_position (Mx.Position position);
228 public void set_icon_size (uint icon_size);
229 public void set_icon_visible (bool visible);
230 public void set_is_toggle (bool toggle);
231 public void set_label (string text);
232 public void set_label_visible (bool visible);
233 public void set_toggled (bool toggled);
234 [CCode (has_construct_function = false, type = "ClutterActor*")]
235 public Button.with_label (string text);
236 public Mx.Action action { get; set; }
237 public string icon_name { get; set; }
238 public Mx.Position icon_position { get; set; }
239 public uint icon_size { get; set; }
240 public bool icon_visible { get; set; }
241 public bool is_toggle { get; set; }
242 public string label { get; set; }
243 public bool label_visible { get; set; }
244 public bool toggled { get; set; }
245 public virtual signal void clicked ();
247 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_button_group_get_type ()")]
248 public class ButtonGroup : GLib.InitiallyUnowned {
249 [CCode (has_construct_function = false)]
250 public ButtonGroup ();
251 public void add (Mx.Button button);
252 public void @foreach (Clutter.Callback callback);
253 public unowned Mx.Button get_active_button ();
254 public bool get_allow_no_active ();
255 public unowned GLib.SList<Mx.Button> get_buttons ();
256 public void remove (Mx.Button button);
257 public void set_active_button (Mx.Button? button);
258 public void set_allow_no_active (bool allow_no_active);
259 public Mx.Button active_button { get; set; }
260 public bool allow_no_active { get; set; }
262 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_clipboard_get_type ()")]
263 public class Clipboard : GLib.Object {
264 [CCode (has_construct_function = false)]
265 protected Clipboard ();
266 public static unowned Mx.Clipboard get_default ();
267 public void get_text (Mx.ClipboardCallbackFunc callback);
268 public void set_text (string text);
270 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_combo_box_get_type ()")]
271 public class ComboBox : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
272 [CCode (has_construct_function = false, type = "ClutterActor*")]
274 public void append_text (string text);
275 public unowned string get_active_icon_name ();
276 public unowned string get_active_text ();
277 public int get_index ();
278 public void insert_text (int position, string text);
279 public void insert_text_with_icon (int position, string text, string icon);
280 public void prepend_text (string text);
281 public void remove_all ();
282 public void remove_text (int position);
283 public void set_active_icon_name (string? icon_name);
284 public void set_active_text (string text);
285 public void set_index (int index);
286 public string active_icon_name { get; set; }
287 public string active_text { get; set; }
288 public int index { get; set; }
290 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_bow_tie_get_type ()")]
291 public class DeformBowTie : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
292 [CCode (has_construct_function = false, type = "ClutterActor*")]
293 public DeformBowTie ();
294 public bool get_flip_back ();
295 public double get_period ();
296 public void set_flip_back (bool flip_back);
297 public void set_period (double period);
298 public bool flip_back { get; set; }
299 public double period { get; set; }
301 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_page_turn_get_type ()")]
302 public class DeformPageTurn : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
303 [CCode (has_construct_function = false, type = "ClutterActor*")]
304 public DeformPageTurn ();
305 public double get_angle ();
306 public double get_period ();
307 public double get_radius ();
308 public void set_angle (double angle);
309 public void set_period (double period);
310 public void set_radius (double radius);
311 public double angle { get; set; }
312 public double period { get; set; }
313 public double radius { get; set; }
315 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_texture_get_type ()")]
316 public abstract class DeformTexture : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
317 [CCode (has_construct_function = false)]
318 protected DeformTexture ();
320 public virtual void deform (Cogl.TextureVertex vertex, float width, float height);
321 public void get_resolution (out int tiles_x, out int tiles_y);
322 public void get_textures (out unowned Clutter.Texture front, out unowned Clutter.Texture back);
323 public void invalidate ();
324 public void set_resolution (int tiles_x, int tiles_y);
325 public void set_textures (Clutter.Texture? front, Clutter.Texture? back);
327 public Clutter.Texture back { owned get; set; }
329 public Clutter.Texture front { owned get; set; }
331 public int tiles_x { get; set; }
333 public int tiles_y { get; set; }
335 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_deform_waves_get_type ()")]
336 public class DeformWaves : Mx.DeformTexture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
337 [CCode (has_construct_function = false, type = "ClutterActor*")]
338 public DeformWaves ();
339 public double get_amplitude ();
340 public double get_angle ();
341 public double get_period ();
342 public double get_radius ();
343 public void set_amplitude (double amplitude);
344 public void set_angle (double angle);
345 public void set_period (double period);
346 public void set_radius (double radius);
347 public double amplitude { get; set; }
348 public double angle { get; set; }
349 public double period { get; set; }
350 public double radius { get; set; }
352 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_dialog_get_type ()")]
353 public class Dialog : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
354 [CCode (has_construct_function = false, type = "ClutterActor*")]
356 public void add_action (Mx.Action action);
357 public GLib.List<weak Mx.Action> get_actions ();
358 public void remove_action (Mx.Action action);
359 public void set_transient_parent (Clutter.Actor actor);
361 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_entry_get_type ()")]
362 public class Entry : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
363 [CCode (has_construct_function = false, type = "ClutterActor*")]
365 public unowned Clutter.Actor get_clutter_text ();
366 public unowned string get_hint_text ();
367 public unowned string get_icon_highlight_suffix ();
368 public unichar get_password_char ();
369 public unowned string get_text ();
370 public void set_hint_text (string text);
371 public void set_icon_highlight_suffix (string suffix);
372 public void set_password_char (unichar password_char);
373 public void set_primary_icon_from_file (string filename);
374 public void set_primary_icon_tooltip_text (string text);
375 public void set_secondary_icon_from_file (string filename);
376 public void set_secondary_icon_tooltip_text (string text);
377 public void set_text (string text);
378 [CCode (has_construct_function = false, type = "ClutterActor*")]
379 public Entry.with_text (string text);
380 public Clutter.Text clutter_text { get; }
381 public string hint_text { get; set; }
382 public string icon_highlight_suffix { get; set; }
383 public uint password_char { get; set; }
385 public string primary_icon_tooltip_text { owned get; set; }
387 public string secondary_icon_tooltip_text { owned get; set; }
388 public string text { get; set; }
389 public virtual signal void primary_icon_clicked ();
390 public virtual signal void secondary_icon_clicked ();
392 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_expander_get_type ()")]
393 public class Expander : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
394 [CCode (has_construct_function = false, type = "ClutterActor*")]
396 public bool get_expanded ();
397 public void set_expanded (bool expanded);
398 public void set_label (string label);
399 public bool expanded { get; set; }
401 public string label { owned get; set; }
402 public virtual signal void expand_complete ();
404 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_fade_effect_get_type ()")]
405 public class FadeEffect : Clutter.OffscreenEffect {
406 [CCode (has_construct_function = false, type = "ClutterEffect*")]
407 public FadeEffect ();
408 public void get_border (out uint top, out uint right, out uint bottom, out uint left);
409 public void get_bounds (out int x, out int y, out uint width, out uint height);
410 public Clutter.Color get_color ();
411 public void set_border (uint top, uint right, uint bottom, uint left);
412 public void set_bounds (int x, int y, uint width, uint height);
413 public void set_color (Clutter.Color color);
415 public uint border_bottom { get; set; }
417 public uint border_left { get; set; }
419 public uint border_right { get; set; }
421 public uint border_top { get; set; }
423 public uint bounds_height { get; set; }
425 public uint bounds_width { get; set; }
427 public int bounds_x { get; set; }
429 public int bounds_y { get; set; }
430 public Clutter.Color color { get; set; }
432 public bool freeze_update { get; set; }
434 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_floating_widget_get_type ()")]
435 public abstract class FloatingWidget : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
436 [CCode (has_construct_function = false)]
437 protected FloatingWidget ();
439 public virtual void floating_paint (Clutter.Actor actor);
441 public virtual void floating_pick (Clutter.Actor actor, Clutter.Color color);
443 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_focus_manager_get_type ()")]
444 public class FocusManager : GLib.Object {
445 [CCode (has_construct_function = false)]
446 protected FocusManager ();
447 public unowned Mx.Focusable get_focused ();
448 public static unowned Mx.FocusManager get_for_stage (Clutter.Stage stage);
449 public unowned Clutter.Stage get_stage ();
450 public void move_focus (Mx.FocusDirection direction);
451 public void push_focus (Mx.Focusable focusable);
452 public void push_focus_with_hint (Mx.Focusable focusable, Mx.FocusHint hint);
453 public Clutter.Actor focused { get; }
454 public Clutter.Stage stage { get; }
456 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_frame_get_type ()")]
457 public class Frame : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
458 [CCode (has_construct_function = false, type = "ClutterActor*")]
461 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_grid_get_type ()")]
462 public class Grid : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
463 [CCode (has_construct_function = false, type = "ClutterActor*")]
465 public Mx.Align get_child_x_align ();
466 public Mx.Align get_child_y_align ();
467 public float get_column_spacing ();
468 public bool get_homogenous_columns ();
469 public bool get_homogenous_rows ();
470 public bool get_line_alignment ();
471 public int get_max_stride ();
472 public Mx.Orientation get_orientation ();
473 public float get_row_spacing ();
474 public void set_child_x_align (Mx.Align value);
475 public void set_child_y_align (Mx.Align value);
476 public void set_column_spacing (float value);
477 public void set_homogenous_columns (bool value);
478 public void set_homogenous_rows (bool value);
479 public void set_line_alignment (Mx.Align value);
480 public void set_max_stride (int value);
481 public void set_orientation (Mx.Orientation orientation);
482 public void set_row_spacing (float value);
483 public Mx.Align child_x_align { get; set construct; }
484 public Mx.Align child_y_align { get; set construct; }
485 public float column_spacing { get; set construct; }
486 public bool homogenous_columns { get; set construct; }
487 public bool homogenous_rows { get; set construct; }
488 public Mx.Align line_alignment { get; set construct; }
489 public int max_stride { get; set construct; }
490 public Mx.Orientation orientation { get; set construct; }
491 public float row_spacing { get; set construct; }
493 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_icon_get_type ()")]
494 public class Icon : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
495 [CCode (has_construct_function = false, type = "ClutterActor*")]
497 public unowned string get_icon_name ();
498 public int get_icon_size ();
499 public void set_icon_name (string icon_name);
500 public void set_icon_size (int size);
501 public string icon_name { get; set; }
502 public int icon_size { get; set; }
504 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_icon_theme_get_type ()")]
505 public class IconTheme : GLib.Object {
506 [CCode (has_construct_function = false)]
508 public static unowned Mx.IconTheme get_default ();
509 public unowned GLib.List<string> get_search_paths ();
510 public unowned string get_theme_name ();
511 public bool has_icon (string icon_name);
512 public unowned Cogl.Handle lookup (string icon_name, int size);
513 public unowned Clutter.Texture lookup_texture (string icon_name, int size);
514 public void set_search_paths (GLib.List<string> paths);
515 public void set_theme_name (string theme_name);
516 public string theme_name { get; set; }
518 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_image_get_type ()")]
519 public class Image : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
520 [CCode (has_construct_function = false, type = "ClutterActor*")]
522 public void animate_scale_mode (ulong mode, uint duration, Mx.ImageScaleMode scale_mode);
523 public void clear ();
524 public bool get_allow_upscale ();
525 public float get_image_rotation ();
526 public bool get_load_async ();
527 public uint get_scale_height_threshold ();
528 public Mx.ImageScaleMode get_scale_mode ();
529 public uint get_scale_width_threshold ();
530 public uint get_transition_duration ();
531 public void set_allow_upscale (bool allow);
532 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;
533 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;
534 public bool set_from_cogl_texture (Cogl.Handle texture);
535 public bool set_from_data ([CCode (array_length = false)] uint8[]? data, Cogl.PixelFormat pixel_format, int width, int height, int rowstride) throws GLib.Error;
536 public bool set_from_file (string filename) throws GLib.Error;
537 public bool set_from_file_at_size (string filename, int width, int height) throws GLib.Error;
538 public void set_image_rotation (float rotation);
539 public void set_load_async (bool load_async);
540 public void set_scale_height_threshold (uint pixels);
541 public void set_scale_mode (Mx.ImageScaleMode mode);
542 public void set_scale_width_threshold (uint pixels);
543 public void set_transition_duration (uint duration);
544 public bool allow_upscale { get; set; }
545 public float image_rotation { get; set; }
546 public bool load_async { get; set; }
547 public uint scale_height_threshold { get; set; }
548 public Mx.ImageScaleMode scale_mode { get; set; }
549 public uint scale_width_threshold { get; set; }
550 public uint transition_duration { get; set; }
551 public virtual signal void image_load_error (GLib.Error error);
552 public virtual signal void image_loaded ();
554 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_item_view_get_type ()")]
555 public class ItemView : Mx.Grid, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
556 [CCode (has_construct_function = false, type = "ClutterActor*")]
558 public void add_attribute (string attribute, int column);
559 public void freeze ();
560 public unowned Mx.ItemFactory get_factory ();
561 public GLib.Type get_item_type ();
562 public unowned Clutter.Model get_model ();
563 public void set_factory (Mx.ItemFactory? factory);
564 public void set_item_type (GLib.Type item_type);
565 public void set_model (Clutter.Model model);
567 public GLib.Object factory { get; set; }
568 public GLib.Type item_type { get; set; }
569 public Clutter.Model model { get; set; }
571 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_kinetic_scroll_view_get_type ()")]
572 public class KineticScrollView : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
573 [CCode (has_construct_function = false, type = "ClutterActor*")]
574 public KineticScrollView ();
575 public double get_acceleration_factor ();
576 public uint get_clamp_duration ();
577 public ulong get_clamp_mode ();
578 public bool get_clamp_to_center ();
579 public double get_deceleration ();
580 public uint32 get_mouse_button ();
581 public double get_overshoot ();
582 public Mx.ScrollPolicy get_scroll_policy ();
583 public bool get_use_captured ();
584 public void set_acceleration_factor (double acceleration_factor);
585 public void set_clamp_duration (uint clamp_duration);
586 public void set_clamp_mode (ulong clamp_mode);
587 public void set_clamp_to_center (bool clamp_to_center);
588 public void set_deceleration (double rate);
589 public void set_mouse_button (uint32 button);
590 public void set_overshoot (double overshoot);
591 public void set_scroll_policy (Mx.ScrollPolicy policy);
592 public void set_use_captured (bool use_captured);
594 public double acceleration_factor { get; set; }
595 public uint clamp_duration { get; set; }
596 public ulong clamp_mode { get; set; }
597 public bool clamp_to_center { get; set; }
598 public double deceleration { get; set; }
599 public uint mouse_button { get; set; }
600 public double overshoot { get; set; }
601 public Mx.ScrollPolicy scroll_policy { get; set; }
603 public Mx.KineticScrollViewState state { get; }
604 public bool use_captured { get; set; }
606 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_label_get_type ()")]
607 public class Label : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
608 [CCode (has_construct_function = false, type = "ClutterActor*")]
610 public unowned Clutter.Actor get_clutter_text ();
611 public bool get_fade_out ();
612 public bool get_line_wrap ();
613 public bool get_show_tooltip ();
614 public unowned string get_text ();
615 public bool get_use_markup ();
616 public Mx.Align get_x_align ();
617 public Mx.Align get_y_align ();
618 public void set_fade_out (bool fade);
619 public void set_line_wrap (bool line_wrap);
620 public void set_show_tooltip (bool show_tooltip);
621 public void set_text (string text);
622 public void set_use_markup (bool use_markup);
623 public void set_x_align (Mx.Align align);
624 public void set_y_align (Mx.Align align);
625 [CCode (has_construct_function = false, type = "ClutterActor*")]
626 public Label.with_text (string text);
627 public Clutter.Text clutter_text { get; }
628 public bool fade_out { get; set; }
629 public bool line_wrap { get; set; }
630 public bool show_tooltip { get; set; }
631 public string text { get; set; }
632 public bool use_markup { get; set; }
633 public Mx.Align x_align { get; set; }
634 public Mx.Align y_align { get; set; }
636 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_list_view_get_type ()")]
637 public class ListView : Mx.BoxLayout, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
638 [CCode (has_construct_function = false, type = "ClutterActor*")]
640 public void add_attribute (string attribute, int column);
641 public void freeze ();
642 public unowned Mx.ItemFactory get_factory ();
643 public GLib.Type get_item_type ();
644 public unowned Clutter.Model get_model ();
645 public void set_factory (Mx.ItemFactory? factory);
646 public void set_item_type (GLib.Type item_type);
647 public void set_model (Clutter.Model model);
649 public GLib.Object factory { get; set; }
650 public GLib.Type item_type { get; set; }
651 public Clutter.Model model { get; set; }
653 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_menu_get_type ()")]
654 public class Menu : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
655 [CCode (has_construct_function = false, type = "ClutterActor*")]
657 public void add_action (Mx.Action action);
658 public void remove_action (Mx.Action action);
659 public void remove_all ();
660 public void show_with_position (float x, float y);
661 public virtual signal void action_activated (Mx.Action action);
663 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_notebook_get_type ()")]
664 public class Notebook : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
665 [CCode (has_construct_function = false, type = "ClutterActor*")]
667 public unowned Clutter.Actor get_current_page ();
668 public bool get_enable_gestures ();
669 public void set_current_page (Clutter.Actor page);
670 public void set_enable_gestures (bool enabled);
671 public Clutter.Actor current_page { get; set; }
672 public bool enable_gestures { get; set; }
674 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_offscreen_get_type ()")]
675 public class Offscreen : Clutter.Texture, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable {
676 [CCode (has_construct_function = false, type = "ClutterActor*")]
678 public bool get_accumulation_enabled ();
679 public unowned Cogl.Handle get_accumulation_material ();
680 public bool get_auto_update ();
681 public unowned Cogl.Handle get_buffer ();
682 public unowned Clutter.Actor get_child ();
683 public bool get_pick_child ();
684 public bool get_redirect_enabled ();
686 public virtual void paint_child ();
687 public void set_accumulation_enabled (bool enable);
688 public void set_auto_update (bool auto_update);
689 public void set_child (Clutter.Actor actor);
690 public void set_pick_child (bool pick);
691 public void set_redirect_enabled (bool enabled);
692 public void update ();
693 public bool accumulation_enabled { get; set; }
694 public void* accumulation_material { get; }
695 public bool auto_update { get; set; }
696 public Cogl.Handle buffer { get; }
697 public Clutter.Actor child { get; set; }
698 public bool pick_child { get; set; }
699 public bool redirect_enabled { get; set; }
701 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_path_bar_get_type ()")]
702 public class PathBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
703 [CCode (has_construct_function = false, type = "ClutterActor*")]
705 public void clear ();
706 public bool get_clear_on_change ();
707 public bool get_editable ();
708 public unowned Mx.Entry get_entry ();
709 public unowned string get_label (int level);
710 public int get_level ();
711 public unowned string get_text ();
713 public int push (string name);
714 public void set_clear_on_change (bool clear_on_change);
715 public void set_editable (bool editable);
716 public void set_label (int level, string label);
717 public void set_text (string text);
718 public bool clear_on_change { get; set; }
719 public bool editable { get; set; }
720 public Mx.Entry entry { get; }
721 public int level { get; }
723 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_progress_bar_get_type ()")]
724 public class ProgressBar : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
725 [CCode (has_construct_function = false, type = "ClutterActor*")]
726 public ProgressBar ();
727 public double get_progress ();
728 public void set_progress (double progress);
729 public double progress { get; set; }
731 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_scroll_bar_get_type ()")]
732 public class ScrollBar : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
733 [CCode (has_construct_function = false, type = "ClutterActor*")]
735 public unowned Mx.Adjustment get_adjustment ();
736 public Mx.Orientation get_orientation ();
737 public void set_adjustment (Mx.Adjustment adjustment);
738 public void set_orientation (Mx.Orientation orientation);
739 [CCode (has_construct_function = false, type = "ClutterActor*")]
740 public ScrollBar.with_adjustment (Mx.Adjustment adjustment);
741 public Mx.Adjustment adjustment { get; set; }
742 public Mx.Orientation orientation { get; set; }
743 public virtual signal void scroll_start ();
744 public virtual signal void scroll_stop ();
746 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_scroll_view_get_type ()")]
747 public class ScrollView : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
748 [CCode (has_construct_function = false, type = "ClutterActor*")]
749 public ScrollView ();
750 public void ensure_visible (Clutter.Geometry geometry);
751 public bool get_enable_gestures ();
752 public bool get_enable_mouse_scrolling ();
753 public Mx.ScrollPolicy get_scroll_policy ();
754 public void set_enable_gestures (bool enabled);
755 public void set_enable_mouse_scrolling (bool enabled);
756 public void set_scroll_policy (Mx.ScrollPolicy policy);
757 public bool enable_gestures { get; set; }
758 public bool enable_mouse_scrolling { get; set; }
759 public Mx.ScrollPolicy scroll_policy { get; set; }
761 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_settings_get_type ()")]
762 public class Settings : GLib.Object {
763 [CCode (has_construct_function = false)]
764 protected Settings ();
765 public static unowned Mx.Settings get_default ();
767 public uint drag_threshold { get; set; }
769 public string font_name { owned get; set; }
771 public string icon_theme { owned get; set; }
773 public uint long_press_timeout { get; set; }
775 public bool small_screen { get; set; }
777 [CCode (cheader_filename = "mx/mx.h")]
779 public class SettingsProvider {
781 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_slider_get_type ()")]
782 public class Slider : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
783 [CCode (has_construct_function = false, type = "ClutterActor*")]
785 public double get_buffer_value ();
786 public double get_value ();
787 public void set_buffer_value (double value);
788 public void set_value (double value);
789 public double buffer_value { get; set; }
790 public double value { get; set; }
792 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_spinner_get_type ()")]
793 public class Spinner : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
794 [CCode (has_construct_function = false, type = "ClutterActor*")]
796 public bool get_animating ();
797 public void set_animating (bool animating);
798 public bool animating { get; set; }
799 public virtual signal void looped ();
801 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_stack_get_type ()")]
802 public class Stack : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
803 [CCode (has_construct_function = false, type = "ClutterActor*")]
805 public bool child_get_crop (Clutter.Actor child);
806 public bool child_get_fit (Clutter.Actor child);
807 public Mx.Align child_get_x_align (Clutter.Actor child);
808 public bool child_get_x_fill (Clutter.Actor child);
809 public Mx.Align child_get_y_align (Clutter.Actor child);
810 public bool child_get_y_fill (Clutter.Actor child);
811 public void child_set_crop (Clutter.Actor child, bool crop);
812 public void child_set_fit (Clutter.Actor child, bool fit);
813 public void child_set_x_align (Clutter.Actor child, Mx.Align x_align);
814 public void child_set_x_fill (Clutter.Actor child, bool x_fill);
815 public void child_set_y_align (Clutter.Actor child, Mx.Align y_align);
816 public void child_set_y_fill (Clutter.Actor child, bool y_fill);
818 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_stack_child_get_type ()")]
819 public class StackChild : Clutter.ChildMeta {
820 [CCode (has_construct_function = false)]
821 protected StackChild ();
823 public bool crop { get; set; }
825 public bool fit { get; set; }
827 public Mx.Align x_align { get; set; }
829 public bool x_fill { get; set; }
831 public Mx.Align y_align { get; set; }
833 public bool y_fill { get; set; }
835 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_style_get_type ()")]
836 public class Style : GLib.Object {
837 [CCode (has_construct_function = false)]
839 public void @get (Mx.Stylable stylable, ...);
840 public static unowned Mx.Style get_default ();
841 public GLib.Value get_property (Mx.Stylable stylable, GLib.ParamSpec pspec);
842 public void get_valist (Mx.Stylable stylable, string first_property_name, va_list va_args);
843 public bool load_from_file (string filename) throws GLib.Error;
844 public virtual signal void changed ();
846 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_table_get_type ()")]
847 public class Table : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
848 [CCode (has_construct_function = false, type = "ClutterActor*")]
850 public void add_actor_with_properties (Clutter.Actor actor, int row, int column, ...);
851 [CCode (cname = "mx_table_add_actor")]
852 public void add_child (Clutter.Actor actor, int row, int column);
853 public int child_get_column (Clutter.Actor child);
854 public int child_get_column_span (Clutter.Actor child);
855 public int child_get_row (Clutter.Actor child);
856 public int child_get_row_span (Clutter.Actor child);
857 public Mx.Align child_get_x_align (Clutter.Actor child);
858 public bool child_get_x_expand (Clutter.Actor child);
859 public bool child_get_x_fill (Clutter.Actor child);
860 public Mx.Align child_get_y_align (Clutter.Actor child);
861 public bool child_get_y_expand (Clutter.Actor child);
862 public bool child_get_y_fill (Clutter.Actor child);
863 public void child_set_column (Clutter.Actor child, int col);
864 public void child_set_column_span (Clutter.Actor child, int span);
865 public void child_set_row (Clutter.Actor child, int row);
866 public void child_set_row_span (Clutter.Actor child, int span);
867 public void child_set_x_align (Clutter.Actor child, Mx.Align align);
868 public void child_set_x_expand (Clutter.Actor child, bool expand);
869 public void child_set_x_fill (Clutter.Actor child, bool fill);
870 public void child_set_y_align (Clutter.Actor child, Mx.Align align);
871 public void child_set_y_expand (Clutter.Actor child, bool expand);
872 public void child_set_y_fill (Clutter.Actor child, bool fill);
873 public int get_column_count ();
874 public int get_column_spacing ();
875 public int get_row_count ();
876 public int get_row_spacing ();
877 public void set_column_spacing (int spacing);
878 public void set_row_spacing (int spacing);
879 public int column_count { get; }
880 public int column_spacing { get; set; }
881 public int row_count { get; }
882 public int row_spacing { get; set; }
884 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_table_child_get_type ()")]
885 public class TableChild : Clutter.ChildMeta {
886 [CCode (has_construct_function = false)]
887 protected TableChild ();
888 [Deprecated (replacement = "Table.child_get_column", since = "vala-0.14")]
889 public static int get_column (Mx.Table table, Clutter.Actor child);
890 [Deprecated (replacement = "Table.child_get_column_span", since = "vala-0.14")]
891 public static int get_column_span (Mx.Table table, Clutter.Actor child);
892 [Deprecated (replacement = "Table.child_get_row", since = "vala-0.14")]
893 public static int get_row (Mx.Table table, Clutter.Actor child);
894 [Deprecated (replacement = "Table.child_get_row_span", since = "vala-0.14")]
895 public static int get_row_span (Mx.Table table, Clutter.Actor child);
896 [Deprecated (replacement = "Table.child_get_x_align", since = "vala-0.14")]
897 public static Mx.Align get_x_align (Mx.Table table, Clutter.Actor child);
898 [Deprecated (replacement = "Table.child_get_x_expand", since = "vala-0.14")]
899 public static bool get_x_expand (Mx.Table table, Clutter.Actor child);
900 [Deprecated (replacement = "Table.child_get_x_fill", since = "vala-0.14")]
901 public static bool get_x_fill (Mx.Table table, Clutter.Actor child);
902 [Deprecated (replacement = "Table.child_get_y_align", since = "vala-0.14")]
903 public static Mx.Align get_y_align (Mx.Table table, Clutter.Actor child);
904 [Deprecated (replacement = "Table.child_get_y_expand", since = "vala-0.14")]
905 public static bool get_y_expand (Mx.Table table, Clutter.Actor child);
906 [Deprecated (replacement = "Table.child_get_y_fill", since = "vala-0.14")]
907 public static bool get_y_fill (Mx.Table table, Clutter.Actor child);
908 [Deprecated (replacement = "Table.child_set_column", since = "vala-0.14")]
909 public static void set_column (Mx.Table table, Clutter.Actor child, int col);
910 [Deprecated (replacement = "Table.child_set_column_span", since = "vala-0.14")]
911 public static void set_column_span (Mx.Table table, Clutter.Actor child, int span);
912 [Deprecated (replacement = "Table.child_set_row", since = "vala-0.14")]
913 public static void set_row (Mx.Table table, Clutter.Actor child, int row);
914 [Deprecated (replacement = "Table.child_set_row_span", since = "vala-0.14")]
915 public static void set_row_span (Mx.Table table, Clutter.Actor child, int span);
916 [Deprecated (replacement = "Table.child_set_x_align", since = "vala-0.14")]
917 public static void set_x_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
918 [Deprecated (replacement = "Table.child_set_x_expand", since = "vala-0.14")]
919 public static void set_x_expand (Mx.Table table, Clutter.Actor child, bool expand);
920 [Deprecated (replacement = "Table.child_set_x_fill", since = "vala-0.14")]
921 public static void set_x_fill (Mx.Table table, Clutter.Actor child, bool fill);
922 [Deprecated (replacement = "Table.child_set_y_align", since = "vala-0.14")]
923 public static void set_y_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
924 [Deprecated (replacement = "Table.child_set_y_expand", since = "vala-0.14")]
925 public static void set_y_expand (Mx.Table table, Clutter.Actor child, bool expand);
926 [Deprecated (replacement = "Table.child_set_y_fill", since = "vala-0.14")]
927 public static void set_y_fill (Mx.Table table, Clutter.Actor child, bool fill);
929 public int column { get; set; }
931 public int column_span { get; set; }
933 public int row { get; set; }
935 public int row_span { get; set; }
937 public Mx.Align x_align { get; set; }
939 public bool x_expand { get; set; }
941 public bool x_fill { get; set; }
943 public Mx.Align y_align { get; set; }
945 public bool y_expand { get; set; }
947 public bool y_fill { get; set; }
949 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_texture_cache_get_type ()")]
950 public class TextureCache : GLib.Object {
951 [CCode (has_construct_function = false)]
952 protected TextureCache ();
953 public bool contains (string uri);
954 public bool contains_meta (string uri, void* ident);
956 public virtual void error_loading (GLib.Error error);
957 public unowned Clutter.Actor get_actor (string uri);
958 public unowned Cogl.Handle get_cogl_texture (string uri);
959 public static unowned Mx.TextureCache get_default ();
960 public Cogl.Handle get_meta_cogl_texture (string uri, void* ident);
961 public Clutter.Texture get_meta_texture (string uri, void* ident);
962 public int get_size ();
963 public unowned Clutter.Texture get_texture (string uri);
964 public void insert (string uri, Cogl.Handle texture);
965 public void insert_meta (string uri, void* ident, Cogl.Handle texture, GLib.DestroyNotify destroy_func);
966 public void load_cache (string filename);
968 public virtual void loaded (string uri, Clutter.Texture texture);
970 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_texture_frame_get_type ()")]
971 public class TextureFrame : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable {
972 [CCode (has_construct_function = false, type = "ClutterActor*")]
973 public TextureFrame (Clutter.Texture texture, float top, float right, float bottom, float left);
974 public void get_border_values (float top, float right, float bottom, float left);
975 public unowned Clutter.Texture get_parent_texture ();
976 public void set_border_values (float top, float right, float bottom, float left);
977 public void set_parent_texture (Clutter.Texture texture);
979 public float bottom { get; set construct; }
981 public float left { get; set construct; }
982 public Clutter.Texture parent_texture { get; set construct; }
984 public float right { get; set construct; }
986 public float top { get; set construct; }
988 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_toggle_get_type ()")]
989 public class Toggle : Mx.Widget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
990 [CCode (has_construct_function = false, type = "ClutterActor*")]
992 public bool get_active ();
993 public void set_active (bool active);
994 public bool active { get; set; }
996 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_toolbar_get_type ()")]
997 public class Toolbar : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Stylable {
998 [CCode (has_construct_function = false, type = "ClutterActor*")]
1000 public bool get_has_close_button ();
1001 public void set_has_close_button (bool has_close_button);
1002 public bool has_close_button { get; set; }
1003 public virtual signal bool close_button_clicked ();
1005 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_tooltip_get_type ()")]
1006 public class Tooltip : Mx.FloatingWidget, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
1007 [CCode (has_construct_function = false)]
1008 protected Tooltip ();
1009 public unowned string get_text ();
1010 public unowned Clutter.Geometry? get_tip_area ();
1011 public void hide ();
1012 public static bool is_in_browse_mode ();
1013 public void set_text (string text);
1014 public void set_tip_area (Clutter.Geometry area);
1015 public void set_tip_area_from_actor (Clutter.Actor actor);
1016 public void show ();
1017 public string text { get; set; }
1018 public Clutter.Geometry tip_area { get; set; }
1020 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_viewport_get_type ()")]
1021 public class Viewport : Mx.Bin, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Focusable, Mx.Scrollable, Mx.Stylable {
1022 [CCode (has_construct_function = false, type = "ClutterActor*")]
1024 public void get_origin (float x, float y, float z);
1025 public bool get_sync_adjustments ();
1026 public void set_origin (float x, float y, float z);
1027 public void set_sync_adjustments (bool sync);
1028 public bool sync_adjustments { get; set; }
1030 public float x_origin { get; set; }
1032 public float y_origin { get; set; }
1034 public float z_origin { get; set; }
1036 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_widget_get_type ()")]
1037 public abstract class Widget : Clutter.Actor, Atk.Implementor, Clutter.Animatable, Clutter.Container, Clutter.Scriptable, Mx.Stylable {
1038 [CCode (has_construct_function = false)]
1039 protected Widget ();
1040 public virtual void apply_style (Mx.Style style);
1041 public void get_available_area (Clutter.ActorBox allocation, Clutter.ActorBox area);
1042 public unowned Clutter.Actor get_background_image ();
1043 public unowned Clutter.Actor get_border_image ();
1044 public bool get_disabled ();
1045 public unowned Mx.Menu get_menu ();
1046 public Mx.Padding get_padding ();
1047 public uint get_tooltip_delay ();
1048 public unowned string get_tooltip_text ();
1049 public void hide_tooltip ();
1050 public void long_press_cancel ();
1051 public void long_press_query (Clutter.ButtonEvent event);
1053 public virtual void paint_background (Clutter.Actor background, Clutter.Color color);
1054 [CCode (cname = "mx_widget_paint_background")]
1055 public void paint_background_with_defaults ();
1056 public void set_disabled (bool disabled);
1057 public void set_menu (Mx.Menu menu);
1058 public void set_tooltip_delay (uint delay);
1059 public void set_tooltip_text (string text);
1060 public void show_tooltip ();
1061 public bool disabled { get; set; }
1062 public Mx.Menu menu { get; set; }
1063 public int tooltip_delay { get; set construct; }
1064 public string tooltip_text { get; set; }
1065 public virtual signal bool long_press (float action, float x, Mx.LongPressAction y);
1067 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_window_get_type ()")]
1068 public class Window : GLib.Object {
1069 [CCode (has_construct_function = false)]
1071 public unowned Clutter.Actor get_child ();
1072 public unowned Clutter.Stage get_clutter_stage ();
1073 public static unowned Mx.Window get_for_stage (Clutter.Stage stage);
1074 public bool get_fullscreen ();
1075 public bool get_has_toolbar ();
1076 public unowned string get_icon_name ();
1077 public bool get_small_screen ();
1078 public unowned string get_title ();
1079 public unowned Mx.Toolbar get_toolbar ();
1080 public void get_window_position (out int x, out int y);
1081 public Mx.WindowRotation get_window_rotation ();
1082 public void get_window_size (out int width, out int height);
1083 public void hide ();
1084 public void present ();
1085 public void set_child (Clutter.Actor actor);
1086 public void set_fullscreen (bool fullscreen);
1087 public void set_has_toolbar (bool toolbar);
1088 public void set_icon_from_cogl_texture (Cogl.Handle texture);
1089 public void set_icon_name (string? icon_name);
1090 public void set_small_screen (bool small_screen);
1091 public void set_title (string title);
1092 public void set_toolbar (Mx.Toolbar toolbar);
1093 public void set_window_position (int x, int y);
1094 public void set_window_rotation (Mx.WindowRotation rotation);
1095 public void set_window_size (int width, int height);
1096 public void show ();
1097 [CCode (has_construct_function = false)]
1098 public Window.with_clutter_stage (Clutter.Stage stage);
1099 public Clutter.Actor child { get; set; }
1100 public Clutter.Stage clutter_stage { get; construct; }
1101 public bool fullscreen { get; set; }
1102 public bool has_toolbar { get; set; }
1104 public string icon_cogl_texture { owned get; set; }
1105 public string icon_name { get; set; }
1106 public bool small_screen { get; set; }
1107 public string title { get; set; }
1108 public Mx.Toolbar toolbar { get; set; }
1109 public Mx.WindowRotation window_rotation { get; set; }
1111 public float window_rotation_angle { get; }
1113 public Clutter.Timeline window_rotation_timeline { owned get; }
1114 public virtual signal void destroy ();
1116 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_draggable_get_type ()")]
1117 public interface Draggable : Clutter.Actor {
1118 public virtual void disable ();
1119 public virtual void enable ();
1120 public Mx.DragAxis get_axis ();
1121 public unowned Clutter.Actor get_drag_actor ();
1122 public uint get_drag_threshold ();
1123 public bool is_enabled ();
1124 public void set_axis (Mx.DragAxis axis);
1125 public void set_drag_actor (Clutter.Actor actor);
1126 public void set_drag_threshold (uint threshold);
1128 public abstract Mx.DragAxis axis { get; set; }
1130 public abstract Clutter.Actor drag_actor { owned get; set; }
1132 public abstract bool drag_enabled { get; set; }
1134 public abstract uint drag_threshold { get; set; }
1135 public virtual signal void drag_begin (float event_x, float event_y, int event_button, Clutter.ModifierType modifiers);
1136 public virtual signal void drag_end (float event_x, float event_y);
1137 public virtual signal void drag_motion (float delta_x, float delta_y);
1139 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_droppable_get_type ()")]
1140 public interface Droppable : Clutter.Actor {
1141 public virtual bool accept_drop (Mx.Draggable draggable);
1142 public virtual void disable ();
1143 public virtual void enable ();
1144 public bool is_enabled ();
1146 public abstract bool drop_enabled { get; set; }
1147 public virtual signal void drop (Clutter.Actor draggable, float event_x, float event_y, int button, Clutter.ModifierType modifiers);
1148 public virtual signal void over_in (Clutter.Actor draggable);
1149 public virtual signal void over_out (Clutter.Actor draggable);
1151 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_focusable_get_type ()")]
1152 public interface Focusable : GLib.Object {
1153 public abstract unowned Mx.Focusable accept_focus (Mx.FocusHint hint);
1154 public abstract unowned Mx.Focusable move_focus (Mx.FocusDirection direction, Mx.Focusable from);
1156 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_item_factory_get_type ()")]
1157 public interface ItemFactory : GLib.Object {
1158 public abstract Clutter.Actor create ();
1160 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_scrollable_get_type ()")]
1161 public interface Scrollable : GLib.Object {
1162 public abstract void get_adjustments (out unowned Mx.Adjustment? hadjustment, out unowned Mx.Adjustment? vadjustment);
1163 public abstract void set_adjustments (Mx.Adjustment hadjustment, Mx.Adjustment vadjustment);
1165 public abstract Mx.Adjustment horizontal_adjustment { owned get; set; }
1167 public abstract Mx.Adjustment vertical_adjustment { owned get; set; }
1169 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_stylable_get_type ()")]
1170 public interface Stylable : GLib.Object {
1171 public void apply_clutter_text_attributes (Clutter.Text text);
1172 public void connect_change_notifiers ();
1173 public unowned GLib.ParamSpec find_property (string property_name);
1174 public void @get (...);
1175 public bool get_default_value (string property_name, out GLib.Value value_out);
1176 public GLib.Value get_property (string property_name);
1177 public abstract unowned Mx.Style get_style ();
1178 public abstract unowned string get_style_class ();
1179 public abstract unowned string get_style_pseudo_class ();
1180 [CCode (array_length_pos = 0.1, array_length_type = "guint")]
1181 public GLib.ParamSpec[] list_properties ();
1182 public abstract void set_style (Mx.Style style);
1183 public abstract void set_style_class (string style_class);
1184 public abstract void set_style_pseudo_class (string pseudo_class);
1185 public void style_pseudo_class_add (string new_class);
1186 public bool style_pseudo_class_contains (string pseudo_class);
1187 public void style_pseudo_class_remove (string remove_class);
1188 public abstract Mx.Style style { get; set; }
1189 public abstract string style_class { get; set; }
1190 public abstract string style_pseudo_class { get; set; }
1192 public virtual signal void style_changed (Mx.StyleChangedFlags flags);
1194 [CCode (cheader_filename = "mx/mx.h", type_id = "mx_padding_get_type ()")]
1195 public struct Padding {
1198 public float bottom;
1201 [CCode (cheader_filename = "mx/mx.h", has_type_id = false)]
1202 public struct SettingsProviderIface {
1204 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_ACTOR_MANAGER_", type_id = "mx_actor_manager_error_get_type ()")]
1205 public enum ActorManagerError {
1206 CONTAINER_DESTROYED,
1211 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_ALIGN_", type_id = "mx_align_get_type ()")]
1217 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_APPLICATION_", type_id = "mx_application_flags_get_type ()")]
1219 public enum ApplicationFlags {
1223 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_DRAG_AXIS_", type_id = "mx_drag_axis_get_type ()")]
1224 public enum DragAxis {
1229 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FOCUS_DIRECTION_", type_id = "mx_focus_direction_get_type ()")]
1230 public enum FocusDirection {
1239 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FOCUS_HINT_", type_id = "mx_focus_hint_get_type ()")]
1240 public enum FocusHint {
1248 public static Mx.FocusHint from_direction (Mx.FocusDirection direction);
1250 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_FONT_WEIGHT_", type_id = "mx_font_weight_get_type ()")]
1251 public enum FontWeight {
1256 public static void set_from_string (GLib.Value value, string str);
1258 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_IMAGE_SCALE_", type_id = "mx_image_scale_mode_get_type ()")]
1259 public enum ImageScaleMode {
1264 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_KINETIC_SCROLL_VIEW_STATE_", type_id = "mx_kinetic_scroll_view_state_get_type ()")]
1265 public enum KineticScrollViewState {
1271 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_LONG_PRESS_", type_id = "mx_long_press_action_get_type ()")]
1272 public enum LongPressAction {
1277 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_ORIENTATION_", type_id = "mx_orientation_get_type ()")]
1278 public enum Orientation {
1282 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_POSITION_", type_id = "mx_position_get_type ()")]
1283 public enum Position {
1289 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_SCROLL_POLICY_", type_id = "mx_scroll_policy_get_type ()")]
1290 public enum ScrollPolicy {
1296 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_STYLE_CHANGED_", type_id = "mx_style_changed_flags_get_type ()")]
1298 public enum StyleChangedFlags {
1303 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_STYLE_ERROR_INVALID_")]
1304 public enum StyleError {
1305 [Deprecated (replacement = "StyleError.INVALID_FILE", since = "vala-0.14")]
1307 [CCode (cname = "MX_STYLE_ERROR_INVALID_FILE")]
1310 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_TOOLTIP_ANIMATION_", type_id = "mx_tooltip_animation_get_type ()")]
1311 public enum TooltipAnimation {
1315 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_WINDOW_", type_id = "mx_window_rotation_get_type ()")]
1316 public enum WindowRotation {
1317 [CCode (cname = "MX_WINDOW_ROTATION_0")]
1319 [CCode (cname = "MX_WINDOW_ROTATION_90")]
1321 [CCode (cname = "MX_WINDOW_ROTATION_180")]
1323 [CCode (cname = "MX_WINDOW_ROTATION_270")]
1326 [CCode (cheader_filename = "mx/mx.h", cprefix = "MX_IMAGE_ERROR_")]
1327 public errordomain ImageError {
1332 public static GLib.Quark quark ();
1334 [CCode (cheader_filename = "mx/mx.h", instance_pos = 1.9)]
1335 public delegate void ActionCallbackFunc (Mx.Action action);
1336 [CCode (cheader_filename = "mx/mx.h", instance_pos = 2.9)]
1337 public delegate void ClipboardCallbackFunc (Mx.Clipboard clipboard, string text);
1338 [CCode (cheader_filename = "mx/mx.h", cname = "MX_MAJOR_VERSION")]
1339 public const int MAJOR_VERSION;
1340 [CCode (cheader_filename = "mx/mx.h", cname = "MX_MICRO_VERSION")]
1341 public const int MICRO_VERSION;
1342 [CCode (cheader_filename = "mx/mx.h", cname = "MX_MINOR_VERSION")]
1343 public const int MINOR_VERSION;
1344 [CCode (cheader_filename = "mx/mx.h", cname = "MX_PARAM_TRANSLATEABLE")]
1345 public const int PARAM_TRANSLATEABLE;
1346 [CCode (cheader_filename = "mx/mx.h", cname = "MX_VERSION_HEX")]
1347 public const int VERSION_HEX;
1348 [CCode (cheader_filename = "mx/mx.h", cname = "MX_VERSION_S")]
1349 public const string VERSION_S;
1350 [CCode (cheader_filename = "mx/mx.h")]
1351 public static void actor_box_clamp_to_pixels (Clutter.ActorBox box);
1352 [CCode (cheader_filename = "mx/mx.h")]
1353 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);
1354 [CCode (cheader_filename = "mx/mx.h")]
1355 [Deprecated (replacement = "FontWeight.set_from_string", since = "vala-0.14")]
1356 public static void font_weight_set_from_string (GLib.Value value, string str);
1357 [CCode (cheader_filename = "mx/mx.h")]
1358 public static void set_locale ();
1359 [CCode (cheader_filename = "mx/mx.h")]
1360 public static string utils_format_time (GLib.TimeVal time_);