1
/* exo-1.vapi generated by vapigen, do not modify. */
3
[CCode (cprefix = "Exo", lower_case_cprefix = "exo_")]
6
[CCode (cheader_filename = "exo-1.h")]
8
[CCode (has_construct_function = false)]
9
public Binding (GLib.Object src_object, string src_property, GLib.Object dst_object, string dst_property);
10
[CCode (has_construct_function = false)]
11
public Binding.full (GLib.Object src_object, string src_property, GLib.Object dst_object, string dst_property, Exo.BindingTransform transform, GLib.DestroyNotify destroy_notify);
12
public void unbind ();
13
[CCode (has_construct_function = false)]
14
public Binding.with_negation (GLib.Object src_object, string src_property, GLib.Object dst_object, string dst_property);
16
[CCode (cheader_filename = "exo-1.h")]
17
public class CellRendererEllipsizedText : Gtk.CellRendererText {
18
[CCode (type = "GtkCellRenderer*", has_construct_function = false)]
19
public CellRendererEllipsizedText ();
21
public bool follow_state { get; set; }
23
[CCode (cheader_filename = "exo-1.h")]
24
public class CellRendererIcon : Gtk.CellRenderer {
25
[CCode (type = "GtkCellRenderer*", has_construct_function = false)]
26
public CellRendererIcon ();
28
public virtual void reserved1 ();
30
public virtual void reserved2 ();
32
public virtual void reserved3 ();
34
public virtual void reserved4 ();
36
public virtual void reserved5 ();
38
public virtual void reserved6 ();
40
public bool follow_state { get; set construct; }
42
public GLib.Icon gicon { owned get; set; }
44
public string icon { owned get; set; }
46
public int size { get; set construct; }
48
[CCode (cheader_filename = "exo-1.h")]
49
public class IconBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
50
[CCode (type = "GtkWidget*", has_construct_function = false)]
52
public int get_active ();
53
public bool get_active_iter (Gtk.TreeIter iter);
54
public unowned Gtk.TreeModel get_model ();
55
public Gtk.Orientation get_orientation ();
56
public int get_pixbuf_column ();
57
public int get_text_column ();
59
public virtual void reserved1 ();
61
public virtual void reserved2 ();
63
public virtual void reserved3 ();
65
public virtual void reserved4 ();
66
public void set_active (int idx);
67
public void set_active_iter (Gtk.TreeIter iter);
68
public void set_model (Gtk.TreeModel model);
69
public void set_orientation (Gtk.Orientation orientation);
70
public void set_pixbuf_column (int column);
71
public void set_text_column (int column);
72
[CCode (type = "GtkWidget*", has_construct_function = false)]
73
public IconBar.with_model (Gtk.TreeModel model);
74
public int active { get; set; }
75
public Gtk.TreeModel model { get; set; }
76
public Gtk.Orientation orientation { get; set; }
77
public int pixbuf_column { get; set; }
78
public int text_column { get; set; }
79
public virtual signal void selection_changed ();
80
public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
82
[CCode (cheader_filename = "exo-1.h")]
83
public class IconChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
84
[CCode (type = "GtkWidget*", has_construct_function = false)]
85
public IconChooserDialog (string title, Gtk.Window parent, ...);
86
public unowned string get_icon ();
88
public virtual void reserved1 ();
90
public virtual void reserved2 ();
92
public virtual void reserved3 ();
94
public virtual void reserved4 ();
96
public virtual void reserved5 ();
98
public virtual void reserved6 ();
99
public bool set_icon (string icon);
101
[CCode (cheader_filename = "exo-1.h")]
102
public class IconView : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout {
103
[CCode (type = "GtkWidget*", has_construct_function = false)]
105
public unowned Gdk.Pixmap create_drag_icon (Gtk.TreePath path);
106
public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
107
public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
108
public int get_column_spacing ();
109
public int get_columns ();
110
public bool get_cursor (out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
111
public bool get_dest_item_at_pos (int drag_x, int drag_y, out unowned Gtk.TreePath path, Exo.IconViewDropPosition pos);
112
public void get_drag_dest_item (out unowned Gtk.TreePath path, Exo.IconViewDropPosition pos);
113
public bool get_enable_search ();
114
public bool get_item_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
115
public int get_item_width ();
116
public Exo.IconViewLayoutMode get_layout_mode ();
117
public int get_margin ();
118
public unowned Gtk.TreeModel get_model ();
119
public Gtk.Orientation get_orientation ();
120
public unowned Gtk.TreePath get_path_at_pos (int x, int y);
121
public bool get_reorderable ();
122
public int get_row_spacing ();
123
public int get_search_column ();
124
public unowned Exo.IconViewSearchEqualFunc get_search_equal_func ();
125
public unowned Exo.IconViewSearchPositionFunc get_search_position_func ();
126
public unowned GLib.List get_selected_items ();
127
public Gtk.SelectionMode get_selection_mode ();
128
public bool get_single_click ();
129
public uint get_single_click_timeout ();
130
public int get_spacing ();
131
public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
132
public void icon_to_widget_coords (int ix, int iy, int wx, int wy);
133
public bool path_is_selected (Gtk.TreePath path);
135
public virtual void reserved0 ();
137
public virtual void reserved1 ();
139
public virtual void reserved2 ();
141
public virtual void reserved3 ();
143
public virtual void reserved4 ();
145
public virtual void reserved5 ();
147
public virtual void reserved6 ();
149
public virtual void reserved7 ();
151
public virtual void reserved8 ();
153
public virtual void reserved9 ();
154
public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
155
public void select_path (Gtk.TreePath path);
156
public void selected_foreach (Exo.IconViewForeachFunc func, void* data);
157
public void set_column_spacing (int column_spacing);
158
public void set_columns (int columns);
159
public void set_cursor (Gtk.TreePath path, Gtk.CellRenderer cell, bool start_editing);
160
public void set_drag_dest_item (Gtk.TreePath path, Exo.IconViewDropPosition pos);
161
public void set_enable_search (bool enable_search);
162
public void set_item_width (int item_width);
163
public void set_layout_mode (Exo.IconViewLayoutMode layout_mode);
164
public void set_margin (int margin);
165
public void set_model (Gtk.TreeModel model);
166
public void set_orientation (Gtk.Orientation orientation);
167
public void set_reorderable (bool reorderable);
168
public void set_row_spacing (int row_spacing);
169
public void set_search_column (int search_column);
170
public void set_search_equal_func (Exo.IconViewSearchEqualFunc search_equal_func, void* search_equal_data, GLib.DestroyNotify search_equal_destroy);
171
public void set_search_position_func (Exo.IconViewSearchPositionFunc search_position_func, void* search_position_data, GLib.DestroyNotify search_position_destroy);
172
public void set_selection_mode (Gtk.SelectionMode mode);
173
public void set_single_click (bool single_click);
174
public void set_single_click_timeout (uint single_click_timeout);
175
public void set_spacing (int spacing);
176
public void unselect_path (Gtk.TreePath path);
177
public void unset_model_drag_dest ();
178
public void unset_model_drag_source ();
179
public void widget_to_icon_coords (int wx, int wy, int ix, int iy);
180
[CCode (type = "GtkWidget*", has_construct_function = false)]
181
public IconView.with_model (Gtk.TreeModel model);
182
public int column_spacing { get; set; }
183
public int columns { get; set; }
184
public bool enable_search { get; set; }
185
public int item_width { get; set; }
186
public Exo.IconViewLayoutMode layout_mode { get; set; }
187
public int margin { get; set; }
189
public int markup_column { get; set; }
190
public Gtk.TreeModel model { get; set; }
191
public Gtk.Orientation orientation { get; set; }
193
public int pixbuf_column { get; set; }
194
public bool reorderable { get; set; }
195
public int row_spacing { get; set; }
196
public int search_column { get; set; }
197
public Gtk.SelectionMode selection_mode { get; set; }
198
public bool single_click { get; set; }
199
public uint single_click_timeout { get; set; }
200
public int spacing { get; set; }
202
public int text_column { get; set; }
203
public virtual signal bool activate_cursor_item ();
204
public virtual signal void item_activated (Gtk.TreePath path);
205
public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
206
public virtual signal void select_all ();
207
public virtual signal void select_cursor_item ();
208
public virtual signal void selection_changed ();
209
public virtual signal void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
210
public virtual signal bool start_interactive_search ();
211
public virtual signal void toggle_cursor_item ();
212
public virtual signal void unselect_all ();
214
[CCode (cheader_filename = "exo-1.h")]
215
public class Job : GLib.Object {
216
[CCode (has_construct_function = false)]
218
public void cancel ();
219
public void emit (uint signal_id, GLib.Quark signal_detail);
221
public virtual bool execute () throws GLib.Error;
222
public unowned GLib.Cancellable get_cancellable ();
223
public bool is_cancelled ();
224
public unowned Exo.Job launch ();
225
public bool send_to_mainloop (GLib.SourceFunc func, GLib.DestroyNotify destroy_notify);
226
public bool set_error_if_cancelled () throws GLib.Error;
227
public virtual signal void error (void* error);
228
public virtual signal void finished ();
229
public virtual signal void info_message (string message);
230
public virtual signal void percent (double percent);
233
[CCode (cheader_filename = "exo-1.h")]
234
public class MutualBinding {
235
[CCode (has_construct_function = false)]
236
public MutualBinding (GLib.Object object1, string property1, GLib.Object object2, string property2);
237
[CCode (has_construct_function = false)]
238
public MutualBinding.full (GLib.Object object1, string property1, GLib.Object object2, string property2, Exo.BindingTransform transform, Exo.BindingTransform reverse_transform, GLib.DestroyNotify destroy_notify);
239
public void unbind ();
240
[CCode (has_construct_function = false)]
241
public MutualBinding.with_negation (GLib.Object object1, string property1, GLib.Object object2, string property2);
243
[CCode (cheader_filename = "exo-1.h")]
244
public class SimpleJob : Exo.Job {
245
[CCode (has_construct_function = false)]
246
protected SimpleJob ();
247
public static unowned Exo.Job launch (Exo.SimpleJobFunc func, uint n_param_values);
250
[CCode (cheader_filename = "exo-1.h")]
251
public class SimpleJobClass {
253
[CCode (cheader_filename = "exo-1.h")]
254
public class ToolbarsEditor : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
255
[CCode (type = "GtkWidget*", has_construct_function = false)]
256
public ToolbarsEditor (Gtk.UIManager ui_manager);
257
public unowned Exo.ToolbarsModel get_model ();
258
public unowned Gtk.UIManager get_ui_manager ();
260
public virtual void reserved1 ();
262
public virtual void reserved2 ();
264
public virtual void reserved3 ();
266
public virtual void reserved4 ();
267
public void set_model (Exo.ToolbarsModel model);
268
public void set_ui_manager (Gtk.UIManager ui_manager);
269
[CCode (type = "GtkWidget*", has_construct_function = false)]
270
public ToolbarsEditor.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
271
public Exo.ToolbarsModel model { get; set; }
272
public Gtk.UIManager ui_manager { get; set; }
274
[CCode (cheader_filename = "exo-1.h")]
275
public class ToolbarsEditorDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
276
[CCode (has_construct_function = false)]
277
protected ToolbarsEditorDialog ();
279
public virtual void reserved1 ();
281
public virtual void reserved2 ();
283
public virtual void reserved3 ();
285
public virtual void reserved4 ();
286
[CCode (type = "GtkWidget*", has_construct_function = false)]
287
public ToolbarsEditorDialog.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
289
[CCode (cheader_filename = "exo-1.h")]
290
public class ToolbarsModel : GLib.Object {
291
[CCode (has_construct_function = false)]
292
public ToolbarsModel ();
293
public virtual bool add_item (int toolbar_position, int item_position, string id, string type);
294
public void add_separator (int toolbar_position, int item_position);
295
public int add_toolbar (int toolbar_position, string name);
296
public unowned string get_actions ();
297
public Exo.ToolbarsModelFlags get_flags (int toolbar_position);
298
public Gtk.ToolbarStyle get_style (int toolbar_position);
299
public void item_nth (int toolbar_position, int item_position, bool is_separator, string id, string type);
300
public bool load_from_file (string filename) throws GLib.Error;
301
public void move_item (int toolbar_position, int item_position, int new_toolbar_position, int new_item_position);
302
public int n_items (int toolbar_position);
303
public int n_toolbars ();
304
public void remove_item (int toolbar_position, int item_position);
305
public void remove_toolbar (int toolbar_position);
307
public virtual void reserved1 ();
309
public virtual void reserved2 ();
311
public virtual void reserved3 ();
313
public virtual void reserved4 ();
315
public virtual void reserved5 ();
317
public virtual void reserved6 ();
319
public virtual void reserved7 ();
321
public virtual void reserved8 ();
322
public bool save_to_file (string filename) throws GLib.Error;
323
public void set_actions (string[] actions);
324
public void set_flags (Exo.ToolbarsModelFlags flags, int toolbar_position);
325
public void set_style (Gtk.ToolbarStyle style, int toolbar_position);
326
public unowned string toolbar_nth (int toolbar_position);
327
public void unset_style (int toolbar_position);
328
public virtual signal unowned string get_item_data (string type, string id);
329
public virtual signal unowned string get_item_id (string type, string data);
330
public virtual signal unowned string get_item_type (void* dnd_type);
331
public virtual signal void item_added (int toolbar_position, int item_position);
332
public virtual signal void item_removed (int toolbar_position, int item_position);
333
public virtual signal void toolbar_added (int toolbar_position);
334
public virtual signal void toolbar_changed (int toolbar_position);
335
public virtual signal void toolbar_removed (int toolbar_position);
337
[CCode (cheader_filename = "exo-1.h")]
338
public class ToolbarsView : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
339
[CCode (type = "GtkWidget*", has_construct_function = false)]
340
public ToolbarsView (Gtk.UIManager ui_manager);
341
public bool get_editing ();
342
public unowned Exo.ToolbarsModel get_model ();
343
public unowned Gtk.UIManager get_ui_manager ();
345
public virtual void reserved1 ();
347
public virtual void reserved2 ();
349
public virtual void reserved3 ();
351
public virtual void reserved4 ();
352
public void set_editing (bool editing);
353
public void set_model (Exo.ToolbarsModel model);
354
public void set_ui_manager (Gtk.UIManager ui_manager);
355
[CCode (type = "GtkWidget*", has_construct_function = false)]
356
public ToolbarsView.with_model (Gtk.UIManager ui_manager, Exo.ToolbarsModel model);
357
public bool editing { get; set; }
358
public Exo.ToolbarsModel model { get; set; }
359
public Gtk.UIManager ui_manager { get; set; }
360
public virtual signal void action_request (string action_name);
361
public virtual signal void customize ();
363
[CCode (cheader_filename = "exo-1.h")]
364
public class TreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable {
365
[CCode (type = "GtkWidget*", has_construct_function = false)]
367
public bool get_single_click ();
368
public uint get_single_click_timeout ();
370
public virtual void reserved1 ();
372
public virtual void reserved2 ();
374
public virtual void reserved3 ();
376
public virtual void reserved4 ();
378
public virtual void reserved5 ();
380
public virtual void reserved6 ();
382
public virtual void reserved7 ();
384
public virtual void reserved8 ();
385
public void set_single_click (bool single_click);
386
public void set_single_click_timeout (uint single_click_timeout);
387
public bool single_click { get; set; }
388
public uint single_click_timeout { get; set; }
390
[CCode (cheader_filename = "exo-1.h")]
391
public class WrapTable : Gtk.Container, Atk.Implementor, Gtk.Buildable {
392
[CCode (type = "GtkWidget*", has_construct_function = false)]
393
public WrapTable (bool homogeneous);
394
public uint get_col_spacing ();
395
public bool get_homogeneous ();
396
public uint get_row_spacing ();
398
public virtual void reserved1 ();
400
public virtual void reserved2 ();
402
public virtual void reserved3 ();
404
public virtual void reserved4 ();
405
public void set_col_spacing (uint col_spacing);
406
public void set_homogeneous (bool homogeneous);
407
public void set_row_spacing (uint row_spacing);
408
public uint col_spacing { get; set; }
409
public bool homogeneous { get; set; }
410
public uint row_spacing { get; set; }
412
[CCode (cheader_filename = "exo-1.h")]
413
public class XsessionClient : GLib.Object {
414
[CCode (has_construct_function = false)]
415
protected XsessionClient ();
416
public unowned Gdk.Window get_group ();
417
public bool get_restart_command (string argv, int argc);
419
public virtual void reserved1 ();
421
public virtual void reserved2 ();
422
public void set_group (Gdk.Window leader);
423
public void set_restart_command (string argv, int argc);
424
[CCode (has_construct_function = false)]
425
public XsessionClient.with_group (Gdk.Window leader);
426
public Gdk.Window group { get; set; }
427
[CCode (array_length = false, array_null_terminated = true)]
428
public string[] restart_command { get; set; }
429
public virtual signal void save_yourself ();
431
[CCode (cprefix = "EXO_ICON_VIEW_", cheader_filename = "exo-1.h")]
432
public enum IconViewDropPosition {
440
[CCode (cprefix = "EXO_ICON_VIEW_LAYOUT_", cheader_filename = "exo-1.h")]
441
public enum IconViewLayoutMode {
445
[CCode (cprefix = "EXO_TOOLBARS_MODEL_", cheader_filename = "exo-1.h")]
447
public enum ToolbarsModelFlags {
452
[CCode (cheader_filename = "exo-1.h")]
453
public delegate bool BindingTransform (GLib.Value src_value, GLib.Value dst_value);
454
[CCode (cheader_filename = "exo-1.h")]
455
public delegate void IconViewForeachFunc (Exo.IconView icon_view, Gtk.TreePath path);
456
[CCode (cheader_filename = "exo-1.h", has_target = false)]
457
public delegate bool IconViewSearchEqualFunc (Gtk.TreeModel model, int column, string key, Gtk.TreeIter iter, void* search_data);
458
[CCode (cheader_filename = "exo-1.h")]
459
public delegate void IconViewSearchPositionFunc (Exo.IconView icon_view, Gtk.Widget search_dialog);
460
[CCode (cheader_filename = "exo-1.h", has_target = false)]
461
public delegate bool SimpleJobFunc (Exo.Job job, GLib.ValueArray param_values, GLib.Error error);
462
[CCode (cheader_filename = "exo-1.h")]
463
public const int MAJOR_VERSION;
464
[CCode (cheader_filename = "exo-1.h")]
465
public const int MICRO_VERSION;
466
[CCode (cheader_filename = "exo-1.h")]
467
public const int MINOR_VERSION;
468
[CCode (cheader_filename = "exo-1.h")]
469
public const int PARAM_READABLE;
470
[CCode (cheader_filename = "exo-1.h")]
471
public const int PARAM_READWRITE;
472
[CCode (cheader_filename = "exo-1.h")]
473
public const int PARAM_WRITABLE;
474
[CCode (cheader_filename = "exo-1.h")]
475
public const string TOOLBARS_ITEM_TYPE;
476
[CCode (cheader_filename = "exo-1.h")]
477
public static unowned string check_version (uint required_major, uint required_minor, uint required_micro);
478
[CCode (cheader_filename = "exo-1.h")]
479
public static bool execute_preferred_application (string category, string parameter, string working_directory, string envp) throws GLib.Error;
480
[CCode (cheader_filename = "exo-1.h")]
481
public static bool execute_preferred_application_on_screen (string category, string parameter, string working_directory, string envp, Gdk.Screen screen) throws GLib.Error;
482
[CCode (cheader_filename = "exo-1.h")]
483
public static bool execute_terminal_shell (string command_line, string working_directory, string envp) throws GLib.Error;
484
[CCode (cheader_filename = "exo-1.h")]
485
public static bool execute_terminal_shell_on_screen (string command_line, string working_directory, string envp, Gdk.Screen screen) throws GLib.Error;
486
[CCode (cheader_filename = "exo-1.h")]
487
public static bool g_value_transform_negate (GLib.Value src_value, GLib.Value dst_value);
488
[CCode (cheader_filename = "exo-1.h")]
489
public static unowned Gdk.Pixbuf gdk_pixbuf_colorize (Gdk.Pixbuf source, Gdk.Color color);
490
[CCode (cheader_filename = "exo-1.h")]
491
public static unowned Gdk.Pixbuf gdk_pixbuf_frame (Gdk.Pixbuf source, Gdk.Pixbuf frame, int left_offset, int top_offset, int right_offset, int bottom_offset);
492
[CCode (cheader_filename = "exo-1.h")]
493
public static unowned Gdk.Pixbuf gdk_pixbuf_lucent (Gdk.Pixbuf source, uint percent);
494
[CCode (cheader_filename = "exo-1.h")]
495
public static unowned Gdk.Pixbuf gdk_pixbuf_new_from_file_at_max_size (string filename, int max_width, int max_height, bool preserve_aspect_ratio) throws GLib.Error;
496
[CCode (cheader_filename = "exo-1.h")]
497
public static unowned Gdk.Pixbuf gdk_pixbuf_scale_down (Gdk.Pixbuf source, bool preserve_aspect_ratio, int dest_width, int dest_height);
498
[CCode (cheader_filename = "exo-1.h")]
499
public static unowned Gdk.Pixbuf gdk_pixbuf_scale_ratio (Gdk.Pixbuf source, int dest_size);
500
[CCode (cheader_filename = "exo-1.h")]
501
public static unowned Gdk.Pixbuf gdk_pixbuf_spotlight (Gdk.Pixbuf source);
502
[CCode (cheader_filename = "exo-1.h")]
503
public static void gtk_file_chooser_add_thumbnail_preview (Gtk.FileChooser chooser);
504
[CCode (cheader_filename = "exo-1.h")]
505
public static void gtk_object_destroy_later (Gtk.Object object);
506
[CCode (cheader_filename = "exo-1.h")]
507
public static void gtk_url_about_dialog_hook (Gtk.AboutDialog about_dialog, string link);
508
[CCode (cheader_filename = "exo-1.h")]
509
public static void noop ();
510
[CCode (cheader_filename = "exo-1.h")]
511
public static bool noop_false ();
512
[CCode (cheader_filename = "exo-1.h")]
513
public static void* noop_null ();
514
[CCode (cheader_filename = "exo-1.h")]
515
public static int noop_one ();
516
[CCode (cheader_filename = "exo-1.h")]
517
public static bool noop_true ();
518
[CCode (cheader_filename = "exo-1.h")]
519
public static int noop_zero ();
520
[CCode (cheader_filename = "exo-1.h")]
521
public static unowned string str_elide_underscores (string text);
522
[CCode (cheader_filename = "exo-1.h")]
523
public static bool str_is_equal (string a, string b);
524
[CCode (cheader_filename = "exo-1.h")]
525
public static bool str_looks_like_an_uri (string str);
526
[CCode (cheader_filename = "exo-1.h")]
527
public static unowned string str_replace (string str, string pattern, string replacement);
528
[CCode (cheader_filename = "exo-1.h")]
529
public static unowned string strdup_strftime (string format, void* tm);
530
[CCode (cheader_filename = "exo-1.h")]
531
public static unowned string strndupv (string strv, uint num);