1 /* mx-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Mx", lower_case_cprefix = "mx_")]
5 [CCode (cheader_filename = "mx/mx.h")]
6 public class Action : GLib.InitiallyUnowned {
7 [CCode (has_construct_function = false)]
9 [CCode (has_construct_function = false)]
10 public Action.full (string name, string display_name, GLib.Callback activated_cb);
11 public bool get_active ();
12 public unowned string get_display_name ();
13 public unowned string get_icon ();
14 public unowned string get_name ();
15 public void set_active (bool active);
16 public void set_display_name (string name);
17 public void set_icon (string name);
18 public void set_name (string name);
19 public bool active { get; set; }
20 public string display_name { get; set; }
21 public string icon { get; set; }
22 public string name { get; set; }
23 public virtual signal void activated ();
25 [CCode (cheader_filename = "mx/mx.h")]
26 public class Adjustment : GLib.Object {
27 [CCode (has_construct_function = false)]
29 public bool get_elastic ();
30 public double get_lower ();
31 public double get_page_increment ();
32 public double get_page_size ();
33 public double get_step_increment ();
34 public double get_upper ();
35 public double get_value ();
36 public void get_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
37 public void interpolate (double value, uint duration, ulong mode);
38 public void interpolate_relative (double offset, uint duration, ulong mode);
39 public void set_elastic (bool elastic);
40 public void set_lower (double lower);
41 public void set_page_increment (double increment);
42 public void set_page_size (double page_size);
43 public void set_step_increment (double increment);
44 public void set_upper (double upper);
45 public void set_value (double value);
46 public void set_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
47 [CCode (has_construct_function = false)]
48 public Adjustment.with_values (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
49 public bool elastic { get; set construct; }
50 public double lower { get; set construct; }
51 public double page_increment { get; set construct; }
52 public double page_size { get; set construct; }
53 public double step_increment { get; set construct; }
54 public double upper { get; set construct; }
55 public double value { get; set construct; }
56 public virtual signal void changed ();
58 [CCode (cheader_filename = "mx/mx.h")]
59 public class Application : GLib.Object {
60 [CCode (has_construct_function = false)]
61 public Application ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string name, Mx.ApplicationFlags flags);
62 public void add_action (Mx.Action action);
63 public void add_window (Mx.Window window);
64 public virtual unowned Mx.Window create_window ();
65 public unowned GLib.List get_actions ();
66 public Mx.ApplicationFlags get_flags ();
67 public unowned GLib.List get_windows ();
68 public void invoke_action (string name);
69 public bool is_running ();
72 public virtual void raise ();
73 public void remove_action (string name);
74 public void remove_window (Mx.Window window);
77 public string application_name { owned get; construct; }
78 public uint flags { get; construct; }
79 public virtual signal void actions_changed ();
81 [CCode (cheader_filename = "mx/mx.h")]
82 public class Bin : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
83 public void allocate_child (Clutter.ActorBox box, Clutter.AllocationFlags flags);
84 public void get_alignment (Mx.Align x_align, Mx.Align y_align);
85 public unowned Clutter.Actor get_child ();
86 public void get_fill (bool x_fill, bool y_fill);
87 public void set_alignment (Mx.Align x_align, Mx.Align y_align);
88 public void set_child (Clutter.Actor child);
89 public void set_fill (bool x_fill, bool y_fill);
90 public Clutter.Actor child { get; set; }
92 public Mx.Align x_align { get; set; }
94 public bool x_fill { get; set; }
96 public Mx.Align y_align { get; set; }
98 public bool y_fill { get; set; }
101 [CCode (type_id = "MX_TYPE_BORDER_IMAGE", cheader_filename = "mx/mx.h")]
102 public class BorderImage {
107 public weak string uri;
108 public static void set_from_string (GLib.Value value, string str, string filename);
110 [CCode (cheader_filename = "mx/mx.h")]
111 public class BoxLayout : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
112 [CCode (type = "ClutterActor*", has_construct_function = false)]
114 public void add_actor_with_properties (Clutter.Actor actor, int position, ...);
115 public bool get_enable_animations ();
116 public Mx.Orientation get_orientation ();
117 public uint get_spacing ();
118 public void set_enable_animations (bool enable_animations);
119 public void set_orientation (Mx.Orientation orientation);
120 public void set_spacing (uint spacing);
121 public bool enable_animations { get; set; }
122 public Mx.Orientation orientation { get; set; }
123 public uint spacing { get; set; }
125 [CCode (cheader_filename = "mx/mx.h")]
126 public class BoxLayoutChild : Clutter.ChildMeta {
127 public static bool get_expand (Mx.BoxLayout box_layout, Clutter.Actor child);
128 public static Mx.Align get_x_align (Mx.BoxLayout box_layout, Clutter.Actor child);
129 public static bool get_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
130 public static Mx.Align get_y_align (Mx.BoxLayout box_layout, Clutter.Actor child);
131 public static bool get_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
132 public static void set_expand (Mx.BoxLayout box_layout, Clutter.Actor child, bool expand);
133 public static void set_x_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align x_align);
134 public static void set_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool x_fill);
135 public static void set_y_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align y_align);
136 public static void set_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool y_fill);
137 public bool expand { get; set; }
138 public Mx.Align x_align { get; set; }
139 public bool x_fill { get; set; }
140 public Mx.Align y_align { get; set; }
141 public bool y_fill { get; set; }
143 [CCode (cheader_filename = "mx/mx.h")]
144 public class Button : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
145 [CCode (type = "ClutterActor*", has_construct_function = false)]
147 public bool get_is_toggle ();
148 public unowned string get_label ();
149 public bool get_toggled ();
150 public void set_is_toggle (bool toggle);
151 public void set_label (string text);
152 public void set_toggled (bool toggled);
153 [CCode (type = "ClutterActor*", has_construct_function = false)]
154 public Button.with_label (string text);
155 public bool is_toggle { get; set; }
156 public string label { get; set; }
157 public bool toggled { get; set; }
158 public virtual signal void clicked ();
160 [CCode (cheader_filename = "mx/mx.h")]
161 public class ButtonGroup : GLib.InitiallyUnowned {
162 [CCode (has_construct_function = false)]
163 public ButtonGroup ();
164 public void add (Mx.Button button);
165 public void @foreach (Clutter.Callback callback);
166 public unowned Mx.Button get_active_button ();
167 public bool get_allow_no_active ();
168 public unowned GLib.SList get_buttons ();
169 public void remove (Mx.Button button);
170 public void set_active_button (Mx.Button? button);
171 public void set_allow_no_active (bool allow_no_active);
172 public Mx.Button active_button { get; set; }
173 public bool allow_no_active { get; set; }
175 [CCode (cheader_filename = "mx/mx.h")]
176 public class Clipboard : GLib.Object {
177 public static unowned Mx.Clipboard get_default ();
178 public void get_text (Mx.ClipboardCallbackFunc callback);
179 public void set_text (string text);
181 [CCode (cheader_filename = "mx/mx.h")]
182 public class ComboBox : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
183 [CCode (type = "ClutterActor*", has_construct_function = false)]
185 public void append_text (string text);
186 public unowned string get_active_icon_name ();
187 public unowned string get_active_text ();
188 public int get_index ();
189 public void insert_text (int position, string text);
190 public void insert_text_with_icon (int position, string text, string icon);
191 public void prepend_text (string text);
192 public void remove_text (int position);
193 public void set_active_icon_name (string icon_name);
194 public void set_active_text (string text);
195 public void set_index (int index);
196 public string active_icon_name { get; set; }
197 public string active_text { get; set; }
198 public int index { get; set; }
200 [CCode (cheader_filename = "mx/mx.h")]
201 public class DeformBowTie : Mx.DeformTexture, Clutter.Scriptable, Mx.Stylable {
202 [CCode (type = "ClutterActor*", has_construct_function = false)]
203 public DeformBowTie ();
204 public bool get_flip_back ();
205 public double get_period ();
206 public void set_flip_back (bool flip_back);
207 public void set_period (double period);
208 public bool flip_back { get; set; }
209 public double period { get; set; }
211 [CCode (cheader_filename = "mx/mx.h")]
212 public class DeformPageTurn : Mx.DeformTexture, Clutter.Scriptable, Mx.Stylable {
213 [CCode (type = "ClutterActor*", has_construct_function = false)]
214 public DeformPageTurn ();
215 public double get_angle ();
216 public double get_period ();
217 public double get_radius ();
218 public void set_angle (double angle);
219 public void set_period (double period);
220 public void set_radius (double radius);
221 public double angle { get; set; }
222 public double period { get; set; }
223 public double radius { get; set; }
225 [CCode (cheader_filename = "mx/mx.h")]
226 public class DeformTexture : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
228 public virtual void deform (Cogl.TextureVertex vertex, float width, float height);
229 public void get_resolution (int tiles_x, int tiles_y);
230 public void get_textures (out unowned Clutter.Texture front, out unowned Clutter.Texture back);
231 public void invalidate ();
232 public void set_resolution (int tiles_x, int tiles_y);
233 public void set_textures (Clutter.Texture front, Clutter.Texture back);
235 public Clutter.Texture back { owned get; set; }
237 public Clutter.Texture front { owned get; set; }
239 public int tiles_x { get; set; }
241 public int tiles_y { get; set; }
243 [CCode (cheader_filename = "mx/mx.h")]
244 public class DeformWaves : Mx.DeformTexture, Clutter.Scriptable, Mx.Stylable {
245 [CCode (type = "ClutterActor*", has_construct_function = false)]
246 public DeformWaves ();
247 public double get_amplitude ();
248 public double get_angle ();
249 public double get_period ();
250 public double get_radius ();
251 public void set_amplitude (double amplitude);
252 public void set_angle (double angle);
253 public void set_period (double period);
254 public void set_radius (double radius);
255 public double amplitude { get; set; }
256 public double angle { get; set; }
257 public double period { get; set; }
258 public double radius { get; set; }
260 [CCode (cheader_filename = "mx/mx.h")]
261 public class Entry : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
262 [CCode (type = "ClutterActor*", has_construct_function = false)]
264 public unowned Clutter.Actor get_clutter_text ();
265 public unowned string get_hint_text ();
266 public unichar get_password_char ();
267 public unowned string get_text ();
268 public void set_hint_text (string text);
269 public void set_password_char (unichar password_char);
270 public void set_primary_icon_from_file (string filename);
271 public void set_secondary_icon_from_file (string filename);
272 public void set_text (string text);
273 [CCode (type = "ClutterActor*", has_construct_function = false)]
274 public Entry.with_text (string text);
275 public Clutter.Text clutter_text { get; }
276 public string hint_text { get; set; }
277 public uint password_char { get; set; }
278 public string text { get; set; }
279 public virtual signal void primary_icon_clicked ();
280 public virtual signal void secondary_icon_clicked ();
282 [CCode (cheader_filename = "mx/mx.h")]
283 public class Expander : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
284 [CCode (type = "ClutterActor*", has_construct_function = false)]
286 public bool get_expanded ();
287 public void set_expanded (bool expanded);
288 public void set_label (string label);
289 public bool expanded { get; set; }
291 public string label { owned get; set; }
292 public virtual signal void expand_complete ();
294 [CCode (cheader_filename = "mx/mx.h")]
295 public class FloatingWidget : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
297 public virtual void floating_paint (Clutter.Actor actor);
299 public virtual void floating_pick (Clutter.Actor actor, Clutter.Color color);
301 [CCode (cheader_filename = "mx/mx.h")]
302 public class FocusManager : GLib.Object {
303 public unowned Mx.Focusable get_focused ();
304 public static unowned Mx.FocusManager get_for_stage (Clutter.Stage stage);
305 public unowned Clutter.Stage get_stage ();
306 public void move_focus (Mx.FocusDirection direction);
307 public void push_focus (Mx.Focusable focusable);
308 public Clutter.Actor focused { get; }
309 public Clutter.Stage stage { get; }
311 [CCode (cheader_filename = "mx/mx.h")]
312 public class Frame : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
313 [CCode (type = "ClutterActor*", has_construct_function = false)]
316 [CCode (cheader_filename = "mx/mx.h")]
317 public class Grid : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
318 [CCode (type = "ClutterActor*", has_construct_function = false)]
320 public Mx.Align get_child_x_align ();
321 public Mx.Align get_child_y_align ();
322 public float get_column_spacing ();
323 public bool get_homogenous_columns ();
324 public bool get_homogenous_rows ();
325 public bool get_line_alignment ();
326 public int get_max_stride ();
327 public Mx.Orientation get_orientation ();
328 public float get_row_spacing ();
329 public void set_child_x_align (Mx.Align value);
330 public void set_child_y_align (Mx.Align value);
331 public void set_column_spacing (float value);
332 public void set_homogenous_columns (bool value);
333 public void set_homogenous_rows (bool value);
334 public void set_line_alignment (Mx.Align value);
335 public void set_max_stride (int value);
336 public void set_orientation (Mx.Orientation orientation);
337 public void set_row_spacing (float value);
338 public Mx.Align child_x_align { get; set construct; }
339 public Mx.Align child_y_align { get; set construct; }
340 public float column_spacing { get; set construct; }
341 public bool homogenous_columns { get; set construct; }
342 public bool homogenous_rows { get; set construct; }
343 public Mx.Align line_alignment { get; set construct; }
344 public int max_stride { get; set construct; }
345 public Mx.Orientation orientation { get; set construct; }
346 public float row_spacing { get; set construct; }
348 [CCode (cheader_filename = "mx/mx.h")]
349 public class Icon : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
350 [CCode (type = "ClutterActor*", has_construct_function = false)]
352 public unowned string get_icon_name ();
353 public int get_icon_size ();
354 public void set_icon_name (string icon_name);
355 public void set_icon_size (int size);
356 public string icon_name { get; set; }
357 public int icon_size { get; set; }
359 [CCode (cheader_filename = "mx/mx.h")]
360 public class IconTheme : GLib.Object {
361 [CCode (has_construct_function = false)]
363 public static unowned Mx.IconTheme get_default ();
364 public unowned GLib.List get_search_paths ();
365 public unowned string get_theme_name ();
366 public bool has_icon (string icon_name);
367 public unowned Cogl.Bitmap lookup (string icon_name, int size);
368 public unowned Clutter.Texture lookup_texture (string icon_name, int size);
369 public void set_search_paths (GLib.List paths);
370 public void set_theme_name (string theme_name);
371 public string theme_name { get; set; }
373 [CCode (cheader_filename = "mx/mx.h")]
374 public class ItemView : Mx.Grid, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
375 [CCode (type = "ClutterActor*", has_construct_function = false)]
377 public void add_attribute (string attribute, int column);
378 public void freeze ();
379 public unowned Mx.ItemFactory get_factory ();
380 public GLib.Type get_item_type ();
381 public unowned Clutter.Model get_model ();
382 public void set_factory (Mx.ItemFactory factory);
383 public void set_item_type (GLib.Type item_type);
384 public void set_model (Clutter.Model model);
386 public GLib.Object factory { get; set; }
387 public GLib.Type item_type { get; set; }
388 public Clutter.Model model { get; set; }
390 [CCode (cheader_filename = "mx/mx.h")]
391 public class Label : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
392 [CCode (type = "ClutterActor*", has_construct_function = false)]
394 public unowned Clutter.Actor get_clutter_text ();
395 public unowned string get_text ();
396 public Mx.Align get_x_align ();
397 public Mx.Align get_y_align ();
398 public void set_text (string text);
399 public void set_x_align (Mx.Align align);
400 public void set_y_align (Mx.Align align);
401 [CCode (type = "ClutterActor*", has_construct_function = false)]
402 public Label.with_text (string text);
403 public Clutter.Text clutter_text { get; }
404 public string text { get; set; }
405 public Mx.Align x_align { get; set; }
406 public Mx.Align y_align { get; set; }
408 [CCode (cheader_filename = "mx/mx.h")]
409 public class ListView : Mx.BoxLayout, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
410 [CCode (type = "ClutterActor*", has_construct_function = false)]
412 public void add_attribute (string attribute, int column);
413 public void freeze ();
414 public unowned Mx.ItemFactory get_factory ();
415 public GLib.Type get_item_type ();
416 public unowned Clutter.Model get_model ();
417 public void set_factory (Mx.ItemFactory factory);
418 public void set_item_type (GLib.Type item_type);
419 public void set_model (Clutter.Model model);
421 public GLib.Object factory { get; set; }
422 public GLib.Type item_type { get; set; }
423 public Clutter.Model model { get; set; }
425 [CCode (cheader_filename = "mx/mx.h")]
426 public class Menu : Mx.FloatingWidget, Clutter.Scriptable, Mx.Stylable {
427 [CCode (type = "ClutterActor*", has_construct_function = false)]
429 public void add_action (Mx.Action action);
430 public void remove_action (Mx.Action action);
431 public void remove_all ();
432 public void show_with_position (float x, float y);
433 public virtual signal void action_activated (Mx.Action action);
435 [CCode (cheader_filename = "mx/mx.h")]
436 public class Notebook : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container {
437 [CCode (type = "ClutterActor*", has_construct_function = false)]
439 public unowned Clutter.Actor get_current_page ();
440 public bool get_enable_gestures ();
441 public void set_current_page (Clutter.Actor page);
442 public void set_enable_gestures (bool enabled);
443 public Clutter.Actor current_page { get; set; }
444 public bool enable_gestures { get; set; }
446 [CCode (cheader_filename = "mx/mx.h")]
447 public class Offscreen : Clutter.Texture, Clutter.Scriptable, Clutter.Container {
448 [CCode (type = "ClutterActor*", has_construct_function = false)]
450 public bool get_auto_update ();
451 public unowned Clutter.Actor get_child ();
452 public bool get_pick_child ();
454 public virtual void paint_child ();
455 public void set_auto_update (bool auto_update);
456 public void set_child (Clutter.Actor actor);
457 public void set_pick_child (bool pick);
458 public void update ();
459 public bool auto_update { get; set; }
460 public Clutter.Actor child { get; set; }
461 public bool pick_child { get; set; }
464 [CCode (type_id = "MX_TYPE_PADDING", cheader_filename = "mx/mx.h")]
465 public class Padding {
471 [CCode (cheader_filename = "mx/mx.h")]
472 public class PathBar : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
473 [CCode (type = "ClutterActor*", has_construct_function = false)]
475 public void clear ();
476 public bool get_clear_on_change ();
477 public bool get_editable ();
478 public unowned Mx.Entry get_entry ();
479 public unowned string get_label (int level);
480 public int get_level ();
481 public unowned string get_text ();
483 public int push (string name);
484 public void set_clear_on_change (bool clear_on_change);
485 public void set_editable (bool editable);
486 public void set_label (int level, string label);
487 public void set_text (string text);
488 public bool clear_on_change { get; set; }
489 public bool editable { get; set; }
490 public Mx.Entry entry { get; }
491 public int level { get; }
493 [CCode (cheader_filename = "mx/mx.h")]
494 public class ProgressBar : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
495 [CCode (type = "ClutterActor*", has_construct_function = false)]
496 public ProgressBar ();
497 public double get_progress ();
498 public void set_progress (double progress);
499 public double progress { get; set; }
501 [CCode (cheader_filename = "mx/mx.h")]
502 public class ScrollBar : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
503 [CCode (type = "ClutterActor*", has_construct_function = false)]
505 public unowned Mx.Adjustment get_adjustment ();
506 public Mx.Orientation get_orientation ();
507 public void set_adjustment (Mx.Adjustment adjustment);
508 public void set_orientation (Mx.Orientation orientation);
509 [CCode (type = "ClutterActor*", has_construct_function = false)]
510 public ScrollBar.with_adjustment (Mx.Adjustment adjustment);
511 public Mx.Adjustment adjustment { get; set; }
512 public Mx.Orientation orientation { get; set; }
513 public virtual signal void scroll_start ();
514 public virtual signal void scroll_stop ();
516 [CCode (cheader_filename = "mx/mx.h")]
517 public class ScrollView : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
518 [CCode (type = "ClutterActor*", has_construct_function = false)]
519 public ScrollView ();
520 public void ensure_visible (Clutter.Geometry geometry);
521 public bool get_enable_gestures ();
522 public bool get_enable_mouse_scrolling ();
523 public Mx.ScrollPolicy get_scroll_policy ();
524 public void set_enable_gestures (bool enabled);
525 public void set_enable_mouse_scrolling (bool enabled);
526 public void set_scroll_policy (Mx.ScrollPolicy policy);
527 public bool enable_gestures { get; set; }
528 public bool enable_mouse_scrolling { get; set; }
529 public Mx.ScrollPolicy scroll_policy { get; set; }
531 [CCode (cheader_filename = "mx/mx.h")]
532 public class Slider : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
533 [CCode (type = "ClutterActor*", has_construct_function = false)]
535 public double get_value ();
536 public void set_value (double value);
537 public double value { get; set; }
539 [CCode (cheader_filename = "mx/mx.h")]
540 public class Style : GLib.Object {
541 [CCode (has_construct_function = false)]
543 public void @get (Mx.Stylable stylable, ...);
544 public static unowned Mx.Style get_default ();
545 public void get_property (Mx.Stylable stylable, Clutter.ParamSpecColor pspec, GLib.Value value);
546 public void get_valist (Mx.Stylable stylable, string first_property_name, void* va_args);
547 public bool load_from_file (string filename) throws GLib.Error;
548 public virtual signal void changed ();
550 [CCode (cheader_filename = "mx/mx.h")]
551 public class Table : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
552 [CCode (type = "ClutterActor*", has_construct_function = false)]
554 public void add_actor_with_properties (Clutter.Actor actor, int row, int column, ...);
555 public int get_column_count ();
556 public int get_column_spacing ();
557 public int get_row_count ();
558 public int get_row_spacing ();
559 public void set_column_spacing (int spacing);
560 public void set_row_spacing (int spacing);
561 public int column_count { get; }
562 public int column_spacing { get; set; }
563 public int row_count { get; }
564 public int row_spacing { get; set; }
566 [CCode (cheader_filename = "mx/mx.h")]
567 public class TableChild : Clutter.ChildMeta {
568 public static int get_column (Mx.Table table, Clutter.Actor child);
569 public static int get_column_span (Mx.Table table, Clutter.Actor child);
570 public static int get_row (Mx.Table table, Clutter.Actor child);
571 public static int get_row_span (Mx.Table table, Clutter.Actor child);
572 public static Mx.Align get_x_align (Mx.Table table, Clutter.Actor child);
573 public static bool get_x_expand (Mx.Table table, Clutter.Actor child);
574 public static bool get_x_fill (Mx.Table table, Clutter.Actor child);
575 public static Mx.Align get_y_align (Mx.Table table, Clutter.Actor child);
576 public static bool get_y_expand (Mx.Table table, Clutter.Actor child);
577 public static bool get_y_fill (Mx.Table table, Clutter.Actor child);
578 public static void set_column (Mx.Table table, Clutter.Actor child, int col);
579 public static void set_column_span (Mx.Table table, Clutter.Actor child, int span);
580 public static void set_row (Mx.Table table, Clutter.Actor child, int row);
581 public static void set_row_span (Mx.Table table, Clutter.Actor child, int span);
582 public static void set_x_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
583 public static void set_x_expand (Mx.Table table, Clutter.Actor child, bool expand);
584 public static void set_x_fill (Mx.Table table, Clutter.Actor child, bool fill);
585 public static void set_y_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
586 public static void set_y_expand (Mx.Table table, Clutter.Actor child, bool expand);
587 public static void set_y_fill (Mx.Table table, Clutter.Actor child, bool fill);
588 public int column { get; set; }
589 public int column_span { get; set; }
590 public int row { get; set; }
591 public int row_span { get; set; }
592 public Mx.Align x_align { get; set; }
593 public bool x_expand { get; set; }
594 public bool x_fill { get; set; }
595 public Mx.Align y_align { get; set; }
596 public bool y_expand { get; set; }
597 public bool y_fill { get; set; }
599 [CCode (cheader_filename = "mx/mx.h")]
600 public class TextureCache : GLib.Object {
602 public virtual void error_loading (GLib.Error error);
603 public unowned Clutter.Actor get_actor (string path);
604 public unowned Cogl.Bitmap get_cogl_texture (string path);
605 public static unowned Mx.TextureCache get_default ();
606 public int get_size ();
607 public unowned Clutter.Texture get_texture (string path);
608 public void load_cache (string filename);
610 public virtual void loaded (string path, Clutter.Texture texture);
612 [CCode (cheader_filename = "mx/mx.h")]
613 public class TextureFrame : Clutter.Actor, Clutter.Scriptable {
614 [CCode (type = "ClutterActor*", has_construct_function = false)]
615 public TextureFrame (Clutter.Texture texture, float top, float right, float bottom, float left);
616 public void get_border_values (float top, float right, float bottom, float left);
617 public unowned Clutter.Texture get_parent_texture ();
618 public void set_border_values (float top, float right, float bottom, float left);
619 public void set_parent_texture (Clutter.Texture texture);
621 public float bottom { get; set construct; }
623 public float left { get; set construct; }
624 public Clutter.Texture parent_texture { get; set construct; }
626 public float right { get; set construct; }
628 public float top { get; set construct; }
630 [CCode (cheader_filename = "mx/mx.h")]
631 public class Toggle : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
632 [CCode (type = "ClutterActor*", has_construct_function = false)]
634 public bool get_active ();
635 public void set_active (bool active);
636 public bool active { get; set; }
638 [CCode (cheader_filename = "mx/mx.h")]
639 public class Toolbar : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
640 [CCode (type = "ClutterActor*", has_construct_function = false)]
642 public bool get_has_close_button ();
643 public void set_has_close_button (bool has_close_button);
644 public bool has_close_button { get; set; }
645 public virtual signal bool close_button_clicked ();
647 [CCode (cheader_filename = "mx/mx.h")]
648 public class Tooltip : Mx.FloatingWidget, Clutter.Scriptable, Mx.Stylable {
649 public unowned string get_text ();
650 public Clutter.Geometry get_tip_area ();
652 public void set_text (string text);
653 public void set_tip_area (Clutter.Geometry area);
655 public string text { get; set; }
656 public Clutter.Geometry tip_area { get; set; }
658 [CCode (cheader_filename = "mx/mx.h")]
659 public class Viewport : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable, Mx.Scrollable {
660 [CCode (type = "ClutterActor*", has_construct_function = false)]
662 public void get_origin (float x, float y, float z);
663 public bool get_sync_adjustments ();
664 public void set_origin (float x, float y, float z);
665 public void set_sync_adjustments (bool sync);
666 public bool sync_adjustments { get; set; }
668 public float x_origin { get; set; }
670 public float y_origin { get; set; }
672 public float z_origin { get; set; }
674 [CCode (cheader_filename = "mx/mx.h")]
675 public class Widget : Clutter.Actor, Clutter.Scriptable, Mx.Stylable {
676 public void get_available_area (Clutter.ActorBox allocation, Clutter.ActorBox area);
677 public unowned Clutter.Actor get_background_image ();
678 public unowned Clutter.Actor get_border_image ();
679 public bool get_disabled ();
680 public unowned Mx.Menu get_menu ();
681 public void get_padding (Mx.Padding padding);
682 public unowned string get_tooltip_text ();
683 public void hide_tooltip ();
684 public void long_press_cancel ();
685 public void long_press_query (Clutter.ButtonEvent event);
686 public virtual void paint_background ();
687 public void set_disabled (bool disabled);
688 public void set_menu (Mx.Menu menu);
689 public void set_tooltip_text (string text);
690 public void show_tooltip ();
691 public bool disabled { get; set; }
692 public Mx.Menu menu { get; set; }
693 public string tooltip_text { get; set; }
694 public virtual signal bool long_press (float action, float x, Mx.LongPressAction y);
696 [CCode (cheader_filename = "mx/mx.h")]
697 public class Window : GLib.Object {
698 [CCode (has_construct_function = false)]
700 public unowned Clutter.Actor get_child ();
701 public unowned Clutter.Stage get_clutter_stage ();
702 public static unowned Mx.Window get_for_stage (Clutter.Stage stage);
703 public bool get_has_toolbar ();
704 public unowned string get_icon_name ();
705 public bool get_small_screen ();
706 public unowned Mx.Toolbar get_toolbar ();
707 public void get_window_position (int x, int y);
708 public void set_child (Clutter.Actor actor);
709 public void set_has_toolbar (bool toolbar);
710 public void set_icon_from_cogl_texture (Cogl.Bitmap texture);
711 public void set_icon_name (string icon_name);
712 public void set_small_screen (bool small_screen);
713 public void set_window_position (int x, int y);
714 [CCode (has_construct_function = false)]
715 public Window.with_clutter_stage (Clutter.Stage stage);
716 public Clutter.Actor child { get; set; }
717 public Clutter.Stage clutter_stage { get; construct; }
718 public bool has_toolbar { get; set; }
720 public string icon_cogl_texture { set; }
721 public string icon_name { get; set; }
722 public bool small_screen { get; set; }
723 public Mx.Toolbar toolbar { get; }
724 public virtual signal void destroy ();
726 [CCode (cheader_filename = "mx/mx.h")]
727 public interface Draggable : Clutter.Actor {
728 public abstract void disable ();
729 public abstract void enable ();
730 public Mx.DragAxis get_axis ();
731 public unowned Clutter.Actor get_drag_actor ();
732 public uint get_drag_threshold ();
733 public bool is_enabled ();
734 public void set_axis (Mx.DragAxis axis);
735 public void set_drag_actor (Clutter.Actor actor);
736 public void set_drag_threshold (uint threshold);
737 public Mx.DragAxis axis { get; set; }
738 public Clutter.Actor drag_actor { get; set; }
739 public bool drag_enabled { get; set; }
740 public uint drag_threshold { get; set; }
741 public signal void drag_begin (float event_x, float event_y, int event_button, Clutter.ModifierType modifiers);
742 public signal void drag_end (float event_x, float event_y);
743 public signal void drag_motion (float delta_x, float delta_y);
745 [CCode (cheader_filename = "mx/mx.h")]
746 public interface Droppable : Clutter.Actor {
747 public abstract bool accept_drop (Mx.Draggable draggable);
748 public abstract void disable ();
749 public abstract void enable ();
750 public bool is_enabled ();
751 public bool drop_enabled { get; set; }
752 public signal void drop (Clutter.Actor draggable, float event_x, float event_y, int button, Clutter.ModifierType modifiers);
753 public signal void over_in (Clutter.Actor draggable);
754 public signal void over_out (Clutter.Actor draggable);
756 [CCode (cheader_filename = "mx/mx.h")]
757 public interface Focusable {
758 public abstract unowned Mx.Focusable accept_focus (Mx.FocusHint hint);
759 public abstract unowned Mx.Focusable move_focus (Mx.FocusDirection direction, Mx.Focusable from);
761 [CCode (cheader_filename = "mx/mx.h")]
762 public interface ItemFactory {
763 public abstract unowned Clutter.Actor create ();
765 [CCode (cheader_filename = "mx/mx.h")]
766 public interface Scrollable {
767 public abstract void get_adjustments (out unowned Mx.Adjustment hadjustment, out unowned Mx.Adjustment vadjustment);
768 public abstract void set_adjustments (Mx.Adjustment hadjustment, Mx.Adjustment vadjustment);
770 [CCode (cheader_filename = "mx/mx.h")]
771 public interface Stylable {
772 public void apply_clutter_text_attributes (Clutter.Text text);
773 public void connect_change_notifiers ();
774 public unowned Clutter.ParamSpecColor find_property (string property_name);
775 public void @get (...);
776 public bool get_default_value (string property_name, GLib.Value value_out);
777 public void get_property (string property_name, GLib.Value value);
778 public abstract unowned Mx.Style get_style ();
779 public abstract unowned string get_style_class ();
780 public abstract unowned string get_style_pseudo_class ();
781 public unowned Clutter.ParamSpecColor list_properties (uint n_props);
782 public abstract void set_style (Mx.Style style);
783 public abstract void set_style_class (string style_class);
784 public abstract void set_style_pseudo_class (string pseudo_class);
786 public signal void style_changed (Mx.StyleChangedFlags flags);
788 [CCode (cprefix = "MX_ALIGN_", cheader_filename = "mx/mx.h")]
794 [CCode (cprefix = "MX_APPLICATION_", cheader_filename = "mx/mx.h")]
796 public enum ApplicationFlags {
800 [CCode (cprefix = "MX_DRAG_AXIS_", cheader_filename = "mx/mx.h")]
801 public enum DragAxis {
806 [CCode (cprefix = "MX_FOCUS_DIRECTION_", cheader_filename = "mx/mx.h")]
807 public enum FocusDirection {
816 [CCode (cprefix = "MX_FOCUS_HINT_", cheader_filename = "mx/mx.h")]
817 public enum FocusHint {
822 [CCode (cprefix = "MX_FONT_WEIGHT_", cheader_filename = "mx/mx.h")]
823 public enum FontWeight {
829 [CCode (cprefix = "MX_LONG_PRESS_", cheader_filename = "mx/mx.h")]
830 public enum LongPressAction {
835 [CCode (cprefix = "MX_ORIENTATION_", cheader_filename = "mx/mx.h")]
836 public enum Orientation {
840 [CCode (cprefix = "MX_SCROLL_POLICY_", cheader_filename = "mx/mx.h")]
841 public enum ScrollPolicy {
847 [CCode (cprefix = "MX_STYLE_CHANGED_", cheader_filename = "mx/mx.h")]
849 public enum StyleChangedFlags {
853 [CCode (cprefix = "MX_STYLE_ERROR_INVALID_", cheader_filename = "mx/mx.h")]
854 public enum StyleError {
857 [CCode (cheader_filename = "mx/mx.h")]
858 public delegate void ClipboardCallbackFunc (Mx.Clipboard clipboard, string text);
859 [CCode (cheader_filename = "mx/mx.h")]
860 public const int MAJOR_VERSION;
861 [CCode (cheader_filename = "mx/mx.h")]
862 public const int MICRO_VERSION;
863 [CCode (cheader_filename = "mx/mx.h")]
864 public const int MINOR_VERSION;
865 [CCode (cheader_filename = "mx/mx.h")]
866 public const int VERSION_HEX;
867 [CCode (cheader_filename = "mx/mx.h")]
868 public const string VERSION_S;
869 [CCode (cheader_filename = "mx/mx.h")]
870 public static void actor_box_clamp_to_pixels (Clutter.ActorBox box);
871 [CCode (cheader_filename = "mx/mx.h")]
872 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);
873 [CCode (cheader_filename = "mx/mx.h")]
874 public static void font_weight_set_from_string (GLib.Value value, string str);
875 [CCode (cheader_filename = "mx/mx.h")]
876 public static void set_locale ();
877 [CCode (cheader_filename = "mx/mx.h")]
878 public static unowned string utils_format_time (GLib.TimeVal time_);