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 [CCode (has_construct_function = false)]
85 public void allocate_child (Clutter.ActorBox box, Clutter.AllocationFlags flags);
86 public void get_alignment (Mx.Align x_align, Mx.Align y_align);
87 public unowned Clutter.Actor get_child ();
88 public void get_fill (bool x_fill, bool y_fill);
89 public void set_alignment (Mx.Align x_align, Mx.Align y_align);
90 public void set_child (Clutter.Actor child);
91 public void set_fill (bool x_fill, bool y_fill);
92 public Clutter.Actor child { get; set; }
94 public Mx.Align x_align { get; set; }
96 public bool x_fill { get; set; }
98 public Mx.Align y_align { get; set; }
100 public bool y_fill { get; set; }
103 [CCode (type_id = "MX_TYPE_BORDER_IMAGE", cheader_filename = "mx/mx.h")]
104 public class BorderImage {
109 public weak string uri;
110 public static void set_from_string (GLib.Value value, string str, string filename);
112 [CCode (cheader_filename = "mx/mx.h")]
113 public class BoxLayout : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
114 [CCode (type = "ClutterActor*", has_construct_function = false)]
116 public void add_actor_with_properties (Clutter.Actor actor, int position, ...);
117 public bool get_enable_animations ();
118 public Mx.Orientation get_orientation ();
119 public uint get_spacing ();
120 public void set_enable_animations (bool enable_animations);
121 public void set_orientation (Mx.Orientation orientation);
122 public void set_spacing (uint spacing);
123 public bool enable_animations { get; set; }
124 public Mx.Orientation orientation { get; set; }
125 public uint spacing { get; set; }
127 [CCode (cheader_filename = "mx/mx.h")]
128 public class BoxLayoutChild : Clutter.ChildMeta {
129 [CCode (has_construct_function = false)]
130 protected BoxLayoutChild ();
131 public static bool get_expand (Mx.BoxLayout box_layout, Clutter.Actor child);
132 public static Mx.Align get_x_align (Mx.BoxLayout box_layout, Clutter.Actor child);
133 public static bool get_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
134 public static Mx.Align get_y_align (Mx.BoxLayout box_layout, Clutter.Actor child);
135 public static bool get_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child);
136 public static void set_expand (Mx.BoxLayout box_layout, Clutter.Actor child, bool expand);
137 public static void set_x_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align x_align);
138 public static void set_x_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool x_fill);
139 public static void set_y_align (Mx.BoxLayout box_layout, Clutter.Actor child, Mx.Align y_align);
140 public static void set_y_fill (Mx.BoxLayout box_layout, Clutter.Actor child, bool y_fill);
141 public bool expand { get; set; }
142 public Mx.Align x_align { get; set; }
143 public bool x_fill { get; set; }
144 public Mx.Align y_align { get; set; }
145 public bool y_fill { get; set; }
147 [CCode (cheader_filename = "mx/mx.h")]
148 public class Button : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
149 [CCode (type = "ClutterActor*", has_construct_function = false)]
151 public bool get_is_toggle ();
152 public unowned string get_label ();
153 public bool get_toggled ();
154 public void set_is_toggle (bool toggle);
155 public void set_label (string text);
156 public void set_toggled (bool toggled);
157 [CCode (type = "ClutterActor*", has_construct_function = false)]
158 public Button.with_label (string text);
159 public bool is_toggle { get; set; }
160 public string label { get; set; }
161 public bool toggled { get; set; }
162 public virtual signal void clicked ();
164 [CCode (cheader_filename = "mx/mx.h")]
165 public class ButtonGroup : GLib.InitiallyUnowned {
166 [CCode (has_construct_function = false)]
167 public ButtonGroup ();
168 public void add (Mx.Button button);
169 public void @foreach (Clutter.Callback callback);
170 public unowned Mx.Button get_active_button ();
171 public bool get_allow_no_active ();
172 public unowned GLib.SList get_buttons ();
173 public void remove (Mx.Button button);
174 public void set_active_button (Mx.Button? button);
175 public void set_allow_no_active (bool allow_no_active);
176 public Mx.Button active_button { get; set; }
177 public bool allow_no_active { get; set; }
179 [CCode (cheader_filename = "mx/mx.h")]
180 public class Clipboard : GLib.Object {
181 [CCode (has_construct_function = false)]
182 protected Clipboard ();
183 public static unowned Mx.Clipboard get_default ();
184 public void get_text (Mx.ClipboardCallbackFunc callback);
185 public void set_text (string text);
187 [CCode (cheader_filename = "mx/mx.h")]
188 public class ComboBox : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
189 [CCode (type = "ClutterActor*", has_construct_function = false)]
191 public void append_text (string text);
192 public unowned string get_active_icon_name ();
193 public unowned string get_active_text ();
194 public int get_index ();
195 public void insert_text (int position, string text);
196 public void insert_text_with_icon (int position, string text, string icon);
197 public void prepend_text (string text);
198 public void remove_text (int position);
199 public void set_active_icon_name (string icon_name);
200 public void set_active_text (string text);
201 public void set_index (int index);
202 public string active_icon_name { get; set; }
203 public string active_text { get; set; }
204 public int index { get; set; }
206 [CCode (cheader_filename = "mx/mx.h")]
207 public class DeformBowTie : Mx.DeformTexture, Clutter.Scriptable, Mx.Stylable {
208 [CCode (type = "ClutterActor*", has_construct_function = false)]
209 public DeformBowTie ();
210 public bool get_flip_back ();
211 public double get_period ();
212 public void set_flip_back (bool flip_back);
213 public void set_period (double period);
214 public bool flip_back { get; set; }
215 public double period { get; set; }
217 [CCode (cheader_filename = "mx/mx.h")]
218 public class DeformPageTurn : Mx.DeformTexture, Clutter.Scriptable, Mx.Stylable {
219 [CCode (type = "ClutterActor*", has_construct_function = false)]
220 public DeformPageTurn ();
221 public double get_angle ();
222 public double get_period ();
223 public double get_radius ();
224 public void set_angle (double angle);
225 public void set_period (double period);
226 public void set_radius (double radius);
227 public double angle { get; set; }
228 public double period { get; set; }
229 public double radius { get; set; }
231 [CCode (cheader_filename = "mx/mx.h")]
232 public class DeformTexture : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
233 [CCode (has_construct_function = false)]
234 protected DeformTexture ();
236 public virtual void deform (Cogl.TextureVertex vertex, float width, float height);
237 public void get_resolution (int tiles_x, int tiles_y);
238 public void get_textures (out unowned Clutter.Texture front, out unowned Clutter.Texture back);
239 public void invalidate ();
240 public void set_resolution (int tiles_x, int tiles_y);
241 public void set_textures (Clutter.Texture front, Clutter.Texture back);
243 public Clutter.Texture back { owned get; set; }
245 public Clutter.Texture front { owned get; set; }
247 public int tiles_x { get; set; }
249 public int tiles_y { get; set; }
251 [CCode (cheader_filename = "mx/mx.h")]
252 public class DeformWaves : Mx.DeformTexture, Clutter.Scriptable, Mx.Stylable {
253 [CCode (type = "ClutterActor*", has_construct_function = false)]
254 public DeformWaves ();
255 public double get_amplitude ();
256 public double get_angle ();
257 public double get_period ();
258 public double get_radius ();
259 public void set_amplitude (double amplitude);
260 public void set_angle (double angle);
261 public void set_period (double period);
262 public void set_radius (double radius);
263 public double amplitude { get; set; }
264 public double angle { get; set; }
265 public double period { get; set; }
266 public double radius { get; set; }
268 [CCode (cheader_filename = "mx/mx.h")]
269 public class Entry : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
270 [CCode (type = "ClutterActor*", has_construct_function = false)]
272 public unowned Clutter.Actor get_clutter_text ();
273 public unowned string get_hint_text ();
274 public unichar get_password_char ();
275 public unowned string get_text ();
276 public void set_hint_text (string text);
277 public void set_password_char (unichar password_char);
278 public void set_primary_icon_from_file (string filename);
279 public void set_secondary_icon_from_file (string filename);
280 public void set_text (string text);
281 [CCode (type = "ClutterActor*", has_construct_function = false)]
282 public Entry.with_text (string text);
283 public Clutter.Text clutter_text { get; }
284 public string hint_text { get; set; }
285 public uint password_char { get; set; }
286 public string text { get; set; }
287 public virtual signal void primary_icon_clicked ();
288 public virtual signal void secondary_icon_clicked ();
290 [CCode (cheader_filename = "mx/mx.h")]
291 public class Expander : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
292 [CCode (type = "ClutterActor*", has_construct_function = false)]
294 public bool get_expanded ();
295 public void set_expanded (bool expanded);
296 public void set_label (string label);
297 public bool expanded { get; set; }
299 public string label { owned get; set; }
300 public virtual signal void expand_complete ();
302 [CCode (cheader_filename = "mx/mx.h")]
303 public class FloatingWidget : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
304 [CCode (has_construct_function = false)]
305 protected FloatingWidget ();
307 public virtual void floating_paint (Clutter.Actor actor);
309 public virtual void floating_pick (Clutter.Actor actor, Clutter.Color color);
311 [CCode (cheader_filename = "mx/mx.h")]
312 public class FocusManager : GLib.Object {
313 [CCode (has_construct_function = false)]
314 protected FocusManager ();
315 public unowned Mx.Focusable get_focused ();
316 public static unowned Mx.FocusManager get_for_stage (Clutter.Stage stage);
317 public unowned Clutter.Stage get_stage ();
318 public void move_focus (Mx.FocusDirection direction);
319 public void push_focus (Mx.Focusable focusable);
320 public Clutter.Actor focused { get; }
321 public Clutter.Stage stage { get; }
323 [CCode (cheader_filename = "mx/mx.h")]
324 public class Frame : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
325 [CCode (type = "ClutterActor*", has_construct_function = false)]
328 [CCode (cheader_filename = "mx/mx.h")]
329 public class Grid : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
330 [CCode (type = "ClutterActor*", has_construct_function = false)]
332 public Mx.Align get_child_x_align ();
333 public Mx.Align get_child_y_align ();
334 public float get_column_spacing ();
335 public bool get_homogenous_columns ();
336 public bool get_homogenous_rows ();
337 public bool get_line_alignment ();
338 public int get_max_stride ();
339 public Mx.Orientation get_orientation ();
340 public float get_row_spacing ();
341 public void set_child_x_align (Mx.Align value);
342 public void set_child_y_align (Mx.Align value);
343 public void set_column_spacing (float value);
344 public void set_homogenous_columns (bool value);
345 public void set_homogenous_rows (bool value);
346 public void set_line_alignment (Mx.Align value);
347 public void set_max_stride (int value);
348 public void set_orientation (Mx.Orientation orientation);
349 public void set_row_spacing (float value);
350 public Mx.Align child_x_align { get; set construct; }
351 public Mx.Align child_y_align { get; set construct; }
352 public float column_spacing { get; set construct; }
353 public bool homogenous_columns { get; set construct; }
354 public bool homogenous_rows { get; set construct; }
355 public Mx.Align line_alignment { get; set construct; }
356 public int max_stride { get; set construct; }
357 public Mx.Orientation orientation { get; set construct; }
358 public float row_spacing { get; set construct; }
360 [CCode (cheader_filename = "mx/mx.h")]
361 public class Icon : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
362 [CCode (type = "ClutterActor*", has_construct_function = false)]
364 public unowned string get_icon_name ();
365 public int get_icon_size ();
366 public void set_icon_name (string icon_name);
367 public void set_icon_size (int size);
368 public string icon_name { get; set; }
369 public int icon_size { get; set; }
371 [CCode (cheader_filename = "mx/mx.h")]
372 public class IconTheme : GLib.Object {
373 [CCode (has_construct_function = false)]
375 public static unowned Mx.IconTheme get_default ();
376 public unowned GLib.List get_search_paths ();
377 public unowned string get_theme_name ();
378 public bool has_icon (string icon_name);
379 public unowned Cogl.Bitmap lookup (string icon_name, int size);
380 public unowned Clutter.Texture lookup_texture (string icon_name, int size);
381 public void set_search_paths (GLib.List paths);
382 public void set_theme_name (string theme_name);
383 public string theme_name { get; set; }
385 [CCode (cheader_filename = "mx/mx.h")]
386 public class ItemView : Mx.Grid, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
387 [CCode (type = "ClutterActor*", has_construct_function = false)]
389 public void add_attribute (string attribute, int column);
390 public void freeze ();
391 public unowned Mx.ItemFactory get_factory ();
392 public GLib.Type get_item_type ();
393 public unowned Clutter.Model get_model ();
394 public void set_factory (Mx.ItemFactory factory);
395 public void set_item_type (GLib.Type item_type);
396 public void set_model (Clutter.Model model);
398 public GLib.Object factory { get; set; }
399 public GLib.Type item_type { get; set; }
400 public Clutter.Model model { get; set; }
402 [CCode (cheader_filename = "mx/mx.h")]
403 public class Label : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
404 [CCode (type = "ClutterActor*", has_construct_function = false)]
406 public unowned Clutter.Actor get_clutter_text ();
407 public unowned string get_text ();
408 public Mx.Align get_x_align ();
409 public Mx.Align get_y_align ();
410 public void set_text (string text);
411 public void set_x_align (Mx.Align align);
412 public void set_y_align (Mx.Align align);
413 [CCode (type = "ClutterActor*", has_construct_function = false)]
414 public Label.with_text (string text);
415 public Clutter.Text clutter_text { get; }
416 public string text { get; set; }
417 public Mx.Align x_align { get; set; }
418 public Mx.Align y_align { get; set; }
420 [CCode (cheader_filename = "mx/mx.h")]
421 public class ListView : Mx.BoxLayout, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Scrollable, Mx.Focusable {
422 [CCode (type = "ClutterActor*", has_construct_function = false)]
424 public void add_attribute (string attribute, int column);
425 public void freeze ();
426 public unowned Mx.ItemFactory get_factory ();
427 public GLib.Type get_item_type ();
428 public unowned Clutter.Model get_model ();
429 public void set_factory (Mx.ItemFactory factory);
430 public void set_item_type (GLib.Type item_type);
431 public void set_model (Clutter.Model model);
433 public GLib.Object factory { get; set; }
434 public GLib.Type item_type { get; set; }
435 public Clutter.Model model { get; set; }
437 [CCode (cheader_filename = "mx/mx.h")]
438 public class Menu : Mx.FloatingWidget, Clutter.Scriptable, Mx.Stylable {
439 [CCode (type = "ClutterActor*", has_construct_function = false)]
441 public void add_action (Mx.Action action);
442 public void remove_action (Mx.Action action);
443 public void remove_all ();
444 public void show_with_position (float x, float y);
445 public virtual signal void action_activated (Mx.Action action);
447 [CCode (cheader_filename = "mx/mx.h")]
448 public class Notebook : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container {
449 [CCode (type = "ClutterActor*", has_construct_function = false)]
451 public unowned Clutter.Actor get_current_page ();
452 public bool get_enable_gestures ();
453 public void set_current_page (Clutter.Actor page);
454 public void set_enable_gestures (bool enabled);
455 public Clutter.Actor current_page { get; set; }
456 public bool enable_gestures { get; set; }
458 [CCode (cheader_filename = "mx/mx.h")]
459 public class Offscreen : Clutter.Texture, Clutter.Scriptable, Clutter.Container {
460 [CCode (type = "ClutterActor*", has_construct_function = false)]
462 public bool get_auto_update ();
463 public unowned Clutter.Actor get_child ();
464 public bool get_pick_child ();
466 public virtual void paint_child ();
467 public void set_auto_update (bool auto_update);
468 public void set_child (Clutter.Actor actor);
469 public void set_pick_child (bool pick);
470 public void update ();
471 public bool auto_update { get; set; }
472 public Clutter.Actor child { get; set; }
473 public bool pick_child { get; set; }
476 [CCode (type_id = "MX_TYPE_PADDING", cheader_filename = "mx/mx.h")]
477 public class Padding {
483 [CCode (cheader_filename = "mx/mx.h")]
484 public class PathBar : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Mx.Focusable {
485 [CCode (type = "ClutterActor*", has_construct_function = false)]
487 public void clear ();
488 public bool get_clear_on_change ();
489 public bool get_editable ();
490 public unowned Mx.Entry get_entry ();
491 public unowned string get_label (int level);
492 public int get_level ();
493 public unowned string get_text ();
495 public int push (string name);
496 public void set_clear_on_change (bool clear_on_change);
497 public void set_editable (bool editable);
498 public void set_label (int level, string label);
499 public void set_text (string text);
500 public bool clear_on_change { get; set; }
501 public bool editable { get; set; }
502 public Mx.Entry entry { get; }
503 public int level { get; }
505 [CCode (cheader_filename = "mx/mx.h")]
506 public class ProgressBar : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
507 [CCode (type = "ClutterActor*", has_construct_function = false)]
508 public ProgressBar ();
509 public double get_progress ();
510 public void set_progress (double progress);
511 public double progress { get; set; }
513 [CCode (cheader_filename = "mx/mx.h")]
514 public class ScrollBar : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
515 [CCode (type = "ClutterActor*", has_construct_function = false)]
517 public unowned Mx.Adjustment get_adjustment ();
518 public Mx.Orientation get_orientation ();
519 public void set_adjustment (Mx.Adjustment adjustment);
520 public void set_orientation (Mx.Orientation orientation);
521 [CCode (type = "ClutterActor*", has_construct_function = false)]
522 public ScrollBar.with_adjustment (Mx.Adjustment adjustment);
523 public Mx.Adjustment adjustment { get; set; }
524 public Mx.Orientation orientation { get; set; }
525 public virtual signal void scroll_start ();
526 public virtual signal void scroll_stop ();
528 [CCode (cheader_filename = "mx/mx.h")]
529 public class ScrollView : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
530 [CCode (type = "ClutterActor*", has_construct_function = false)]
531 public ScrollView ();
532 public void ensure_visible (Clutter.Geometry geometry);
533 public bool get_enable_gestures ();
534 public bool get_enable_mouse_scrolling ();
535 public Mx.ScrollPolicy get_scroll_policy ();
536 public void set_enable_gestures (bool enabled);
537 public void set_enable_mouse_scrolling (bool enabled);
538 public void set_scroll_policy (Mx.ScrollPolicy policy);
539 public bool enable_gestures { get; set; }
540 public bool enable_mouse_scrolling { get; set; }
541 public Mx.ScrollPolicy scroll_policy { get; set; }
543 [CCode (cheader_filename = "mx/mx.h")]
544 public class Slider : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
545 [CCode (type = "ClutterActor*", has_construct_function = false)]
547 public double get_value ();
548 public void set_value (double value);
549 public double value { get; set; }
551 [CCode (cheader_filename = "mx/mx.h")]
552 public class Style : GLib.Object {
553 [CCode (has_construct_function = false)]
555 public void @get (Mx.Stylable stylable, ...);
556 public static unowned Mx.Style get_default ();
557 public void get_property (Mx.Stylable stylable, Clutter.ParamSpecColor pspec, GLib.Value value);
558 public void get_valist (Mx.Stylable stylable, string first_property_name, void* va_args);
559 public bool load_from_file (string filename) throws GLib.Error;
560 public virtual signal void changed ();
562 [CCode (cheader_filename = "mx/mx.h")]
563 public class Table : Mx.Widget, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
564 [CCode (type = "ClutterActor*", has_construct_function = false)]
566 public void add_actor_with_properties (Clutter.Actor actor, int row, int column, ...);
567 public int get_column_count ();
568 public int get_column_spacing ();
569 public int get_row_count ();
570 public int get_row_spacing ();
571 public void set_column_spacing (int spacing);
572 public void set_row_spacing (int spacing);
573 public int column_count { get; }
574 public int column_spacing { get; set; }
575 public int row_count { get; }
576 public int row_spacing { get; set; }
578 [CCode (cheader_filename = "mx/mx.h")]
579 public class TableChild : Clutter.ChildMeta {
580 [CCode (has_construct_function = false)]
581 protected TableChild ();
582 public static int get_column (Mx.Table table, Clutter.Actor child);
583 public static int get_column_span (Mx.Table table, Clutter.Actor child);
584 public static int get_row (Mx.Table table, Clutter.Actor child);
585 public static int get_row_span (Mx.Table table, Clutter.Actor child);
586 public static Mx.Align get_x_align (Mx.Table table, Clutter.Actor child);
587 public static bool get_x_expand (Mx.Table table, Clutter.Actor child);
588 public static bool get_x_fill (Mx.Table table, Clutter.Actor child);
589 public static Mx.Align get_y_align (Mx.Table table, Clutter.Actor child);
590 public static bool get_y_expand (Mx.Table table, Clutter.Actor child);
591 public static bool get_y_fill (Mx.Table table, Clutter.Actor child);
592 public static void set_column (Mx.Table table, Clutter.Actor child, int col);
593 public static void set_column_span (Mx.Table table, Clutter.Actor child, int span);
594 public static void set_row (Mx.Table table, Clutter.Actor child, int row);
595 public static void set_row_span (Mx.Table table, Clutter.Actor child, int span);
596 public static void set_x_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
597 public static void set_x_expand (Mx.Table table, Clutter.Actor child, bool expand);
598 public static void set_x_fill (Mx.Table table, Clutter.Actor child, bool fill);
599 public static void set_y_align (Mx.Table table, Clutter.Actor child, Mx.Align align);
600 public static void set_y_expand (Mx.Table table, Clutter.Actor child, bool expand);
601 public static void set_y_fill (Mx.Table table, Clutter.Actor child, bool fill);
602 public int column { get; set; }
603 public int column_span { get; set; }
604 public int row { get; set; }
605 public int row_span { get; set; }
606 public Mx.Align x_align { get; set; }
607 public bool x_expand { get; set; }
608 public bool x_fill { get; set; }
609 public Mx.Align y_align { get; set; }
610 public bool y_expand { get; set; }
611 public bool y_fill { get; set; }
613 [CCode (cheader_filename = "mx/mx.h")]
614 public class TextureCache : GLib.Object {
615 [CCode (has_construct_function = false)]
616 protected TextureCache ();
618 public virtual void error_loading (GLib.Error error);
619 public unowned Clutter.Actor get_actor (string path);
620 public unowned Cogl.Bitmap get_cogl_texture (string path);
621 public static unowned Mx.TextureCache get_default ();
622 public int get_size ();
623 public unowned Clutter.Texture get_texture (string path);
624 public void load_cache (string filename);
626 public virtual void loaded (string path, Clutter.Texture texture);
628 [CCode (cheader_filename = "mx/mx.h")]
629 public class TextureFrame : Clutter.Actor, Clutter.Scriptable {
630 [CCode (type = "ClutterActor*", has_construct_function = false)]
631 public TextureFrame (Clutter.Texture texture, float top, float right, float bottom, float left);
632 public void get_border_values (float top, float right, float bottom, float left);
633 public unowned Clutter.Texture get_parent_texture ();
634 public void set_border_values (float top, float right, float bottom, float left);
635 public void set_parent_texture (Clutter.Texture texture);
637 public float bottom { get; set construct; }
639 public float left { get; set construct; }
640 public Clutter.Texture parent_texture { get; set construct; }
642 public float right { get; set construct; }
644 public float top { get; set construct; }
646 [CCode (cheader_filename = "mx/mx.h")]
647 public class Toggle : Mx.Widget, Clutter.Scriptable, Mx.Stylable {
648 [CCode (type = "ClutterActor*", has_construct_function = false)]
650 public bool get_active ();
651 public void set_active (bool active);
652 public bool active { get; set; }
654 [CCode (cheader_filename = "mx/mx.h")]
655 public class Toolbar : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable {
656 [CCode (type = "ClutterActor*", has_construct_function = false)]
658 public bool get_has_close_button ();
659 public void set_has_close_button (bool has_close_button);
660 public bool has_close_button { get; set; }
661 public virtual signal bool close_button_clicked ();
663 [CCode (cheader_filename = "mx/mx.h")]
664 public class Tooltip : Mx.FloatingWidget, Clutter.Scriptable, Mx.Stylable {
665 [CCode (has_construct_function = false)]
666 protected Tooltip ();
667 public unowned string get_text ();
668 public Clutter.Geometry get_tip_area ();
670 public void set_text (string text);
671 public void set_tip_area (Clutter.Geometry area);
673 public string text { get; set; }
674 public Clutter.Geometry tip_area { get; set; }
676 [CCode (cheader_filename = "mx/mx.h")]
677 public class Viewport : Mx.Bin, Clutter.Scriptable, Mx.Stylable, Clutter.Container, Mx.Focusable, Mx.Scrollable {
678 [CCode (type = "ClutterActor*", has_construct_function = false)]
680 public void get_origin (float x, float y, float z);
681 public bool get_sync_adjustments ();
682 public void set_origin (float x, float y, float z);
683 public void set_sync_adjustments (bool sync);
684 public bool sync_adjustments { get; set; }
686 public float x_origin { get; set; }
688 public float y_origin { get; set; }
690 public float z_origin { get; set; }
692 [CCode (cheader_filename = "mx/mx.h")]
693 public class Widget : Clutter.Actor, Clutter.Scriptable, Mx.Stylable {
694 [CCode (has_construct_function = false)]
696 public void get_available_area (Clutter.ActorBox allocation, Clutter.ActorBox area);
697 public unowned Clutter.Actor get_background_image ();
698 public unowned Clutter.Actor get_border_image ();
699 public bool get_disabled ();
700 public unowned Mx.Menu get_menu ();
701 public void get_padding (Mx.Padding padding);
702 public unowned string get_tooltip_text ();
703 public void hide_tooltip ();
704 public void long_press_cancel ();
705 public void long_press_query (Clutter.ButtonEvent event);
706 public virtual void paint_background ();
707 public void set_disabled (bool disabled);
708 public void set_menu (Mx.Menu menu);
709 public void set_tooltip_text (string text);
710 public void show_tooltip ();
711 public bool disabled { get; set; }
712 public Mx.Menu menu { get; set; }
713 public string tooltip_text { get; set; }
714 public virtual signal bool long_press (float action, float x, Mx.LongPressAction y);
716 [CCode (cheader_filename = "mx/mx.h")]
717 public class Window : GLib.Object {
718 [CCode (has_construct_function = false)]
720 public unowned Clutter.Actor get_child ();
721 public unowned Clutter.Stage get_clutter_stage ();
722 public static unowned Mx.Window get_for_stage (Clutter.Stage stage);
723 public bool get_has_toolbar ();
724 public unowned string get_icon_name ();
725 public bool get_small_screen ();
726 public unowned Mx.Toolbar get_toolbar ();
727 public void get_window_position (int x, int y);
728 public void set_child (Clutter.Actor actor);
729 public void set_has_toolbar (bool toolbar);
730 public void set_icon_from_cogl_texture (Cogl.Bitmap texture);
731 public void set_icon_name (string icon_name);
732 public void set_small_screen (bool small_screen);
733 public void set_window_position (int x, int y);
734 [CCode (has_construct_function = false)]
735 public Window.with_clutter_stage (Clutter.Stage stage);
736 public Clutter.Actor child { get; set; }
737 public Clutter.Stage clutter_stage { get; construct; }
738 public bool has_toolbar { get; set; }
740 public string icon_cogl_texture { set; }
741 public string icon_name { get; set; }
742 public bool small_screen { get; set; }
743 public Mx.Toolbar toolbar { get; }
744 public virtual signal void destroy ();
746 [CCode (cheader_filename = "mx/mx.h")]
747 public interface Draggable : Clutter.Actor {
748 public void disable ();
749 public void enable ();
750 public Mx.DragAxis get_axis ();
751 public unowned Clutter.Actor get_drag_actor ();
752 public uint get_drag_threshold ();
753 public bool is_enabled ();
754 public void set_axis (Mx.DragAxis axis);
755 public void set_drag_actor (Clutter.Actor actor);
756 public void set_drag_threshold (uint threshold);
757 public Mx.DragAxis axis { get; set; }
758 public Clutter.Actor drag_actor { get; set; }
759 public bool drag_enabled { get; set; }
760 public uint drag_threshold { get; set; }
761 public signal void drag_begin (float event_x, float event_y, int event_button, Clutter.ModifierType modifiers);
762 public signal void drag_end (float event_x, float event_y);
763 public signal void drag_motion (float delta_x, float delta_y);
765 [CCode (cheader_filename = "mx/mx.h")]
766 public interface Droppable : Clutter.Actor {
767 public bool accept_drop (Mx.Draggable draggable);
768 public void disable ();
769 public void enable ();
770 public bool is_enabled ();
771 public bool drop_enabled { get; set; }
772 public signal void drop (Clutter.Actor draggable, float event_x, float event_y, int button, Clutter.ModifierType modifiers);
773 public signal void over_in (Clutter.Actor draggable);
774 public signal void over_out (Clutter.Actor draggable);
776 [CCode (cheader_filename = "mx/mx.h")]
777 public interface Focusable {
778 public abstract unowned Mx.Focusable accept_focus (Mx.FocusHint hint);
779 public abstract unowned Mx.Focusable move_focus (Mx.FocusDirection direction, Mx.Focusable from);
781 [CCode (cheader_filename = "mx/mx.h")]
782 public interface ItemFactory {
783 public abstract unowned Clutter.Actor create ();
785 [CCode (cheader_filename = "mx/mx.h")]
786 public interface Scrollable {
787 public abstract void get_adjustments (out unowned Mx.Adjustment hadjustment, out unowned Mx.Adjustment vadjustment);
788 public abstract void set_adjustments (Mx.Adjustment hadjustment, Mx.Adjustment vadjustment);
790 [CCode (cheader_filename = "mx/mx.h")]
791 public interface Stylable {
792 public void apply_clutter_text_attributes (Clutter.Text text);
793 public void connect_change_notifiers ();
794 public unowned Clutter.ParamSpecColor find_property (string property_name);
795 public void @get (...);
796 public bool get_default_value (string property_name, GLib.Value value_out);
797 public void get_property (string property_name, GLib.Value value);
798 public abstract unowned Mx.Style get_style ();
799 public abstract unowned string get_style_class ();
800 public abstract unowned string get_style_pseudo_class ();
801 public unowned Clutter.ParamSpecColor list_properties (uint n_props);
802 public abstract void set_style (Mx.Style style);
803 public abstract void set_style_class (string style_class);
804 public abstract void set_style_pseudo_class (string pseudo_class);
806 public signal void style_changed (Mx.StyleChangedFlags flags);
808 [CCode (cprefix = "MX_ALIGN_", cheader_filename = "mx/mx.h")]
814 [CCode (cprefix = "MX_APPLICATION_", cheader_filename = "mx/mx.h")]
816 public enum ApplicationFlags {
820 [CCode (cprefix = "MX_DRAG_AXIS_", cheader_filename = "mx/mx.h")]
821 public enum DragAxis {
826 [CCode (cprefix = "MX_FOCUS_DIRECTION_", cheader_filename = "mx/mx.h")]
827 public enum FocusDirection {
836 [CCode (cprefix = "MX_FOCUS_HINT_", cheader_filename = "mx/mx.h")]
837 public enum FocusHint {
842 [CCode (cprefix = "MX_FONT_WEIGHT_", cheader_filename = "mx/mx.h")]
843 public enum FontWeight {
849 [CCode (cprefix = "MX_LONG_PRESS_", cheader_filename = "mx/mx.h")]
850 public enum LongPressAction {
855 [CCode (cprefix = "MX_ORIENTATION_", cheader_filename = "mx/mx.h")]
856 public enum Orientation {
860 [CCode (cprefix = "MX_SCROLL_POLICY_", cheader_filename = "mx/mx.h")]
861 public enum ScrollPolicy {
867 [CCode (cprefix = "MX_STYLE_CHANGED_", cheader_filename = "mx/mx.h")]
869 public enum StyleChangedFlags {
873 [CCode (cprefix = "MX_STYLE_ERROR_INVALID_", cheader_filename = "mx/mx.h")]
874 public enum StyleError {
877 [CCode (cheader_filename = "mx/mx.h")]
878 public delegate void ClipboardCallbackFunc (Mx.Clipboard clipboard, string text);
879 [CCode (cheader_filename = "mx/mx.h")]
880 public const int MAJOR_VERSION;
881 [CCode (cheader_filename = "mx/mx.h")]
882 public const int MICRO_VERSION;
883 [CCode (cheader_filename = "mx/mx.h")]
884 public const int MINOR_VERSION;
885 [CCode (cheader_filename = "mx/mx.h")]
886 public const int VERSION_HEX;
887 [CCode (cheader_filename = "mx/mx.h")]
888 public const string VERSION_S;
889 [CCode (cheader_filename = "mx/mx.h")]
890 public static void actor_box_clamp_to_pixels (Clutter.ActorBox box);
891 [CCode (cheader_filename = "mx/mx.h")]
892 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);
893 [CCode (cheader_filename = "mx/mx.h")]
894 public static void font_weight_set_from_string (GLib.Value value, string str);
895 [CCode (cheader_filename = "mx/mx.h")]
896 public static void set_locale ();
897 [CCode (cheader_filename = "mx/mx.h")]
898 public static unowned string utils_format_time (GLib.TimeVal time_);