Release 0.36.14
[vala-gnome.git] / vapi / gdl-3.0.vapi
blob79dc6f9691a553a8a485135473f12288e4440a38
1 /* gdl-3.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gdl", gir_namespace = "Gdl", gir_version = "3", lower_case_cprefix = "gdl_")]
4 namespace Gdl {
5         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_get_type ()")]
6         public class Dock : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
7                 [CCode (has_construct_function = false, type = "GtkWidget*")]
8                 public Dock ();
9                 public void add_floating_item (Gdl.DockItem item, int x, int y, int width, int height);
10                 public void add_item (Gdl.DockItem item, Gdl.DockPlacement placement);
11                 public unowned Gdl.DockItem get_item_by_name (string name);
12                 public GLib.List<weak Gdl.DockObject> get_named_items ();
13                 [Version (deprecated = true, deprecated_since = "3.6")]
14                 public unowned Gdl.DockPlaceholder get_placeholder_by_name (string name);
15                 public unowned Gdl.DockObject? get_root ();
16                 public void hide_preview ();
17                 public Gtk.Widget new_from (bool floating);
18                 [Version (since = "3.6")]
19                 public void set_skip_taskbar (bool skip);
20                 public void show_preview (Gdk.Rectangle rect);
21                 [Version (deprecated = true, deprecated_since = "3.6")]
22                 public void xor_rect (Gdk.Rectangle rect);
23                 [Version (deprecated = true, deprecated_since = "3.6")]
24                 public void xor_rect_hide ();
25                 [NoAccessorMethod]
26                 public string default_title { owned get; set; }
27                 [NoAccessorMethod]
28                 public bool floating { get; construct; }
29                 [NoAccessorMethod]
30                 public int floatx { get; set construct; }
31                 [NoAccessorMethod]
32                 public int floaty { get; set construct; }
33                 [NoAccessorMethod]
34                 public int height { get; set construct; }
35                 [NoAccessorMethod]
36                 [Version (since = "3.6")]
37                 public bool skip_taskbar { get; set construct; }
38                 [NoAccessorMethod]
39                 public int width { get; set construct; }
40                 public virtual signal void layout_changed ();
41         }
42         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_bar_get_type ()")]
43         public class DockBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
44                 [CCode (has_construct_function = false, type = "GtkWidget*")]
45                 public DockBar (GLib.Object? master);
46                 [Version (deprecated = true, deprecated_since = "3.6")]
47                 public Gtk.Orientation get_orientation ();
48                 public Gdl.DockBarStyle get_style ();
49                 [Version (deprecated = true, deprecated_since = "3.6")]
50                 public void set_orientation (Gtk.Orientation orientation);
51                 public void set_style (Gdl.DockBarStyle style);
52                 [NoAccessorMethod]
53                 public Gdl.DockBarStyle dockbar_style { get; set construct; }
54                 [NoAccessorMethod]
55                 public GLib.Object master { owned get; set; }
56         }
57         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_item_get_type ()")]
58         public class DockItem : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
59                 [CCode (has_construct_function = false, type = "GtkWidget*")]
60                 public DockItem (string name, string long_name, Gdl.DockItemBehavior behavior);
61                 public void bind (Gtk.Widget dock);
62                 public void dock_to (Gdl.DockItem? target, Gdl.DockPlacement position, int docking_param);
63                 [Version (since = "3.6")]
64                 public Gdl.DockItemBehavior get_behavior_flags ();
65                 [Version (since = "3.6")]
66                 public unowned Gtk.Widget get_child ();
67                 [Version (since = "3.6")]
68                 public void get_drag_area (Gdk.Rectangle rect);
69                 public unowned Gtk.Widget? get_grip ();
70                 [Version (since = "3.6")]
71                 public Gtk.Orientation get_orientation ();
72                 public unowned Gtk.Widget get_tablabel ();
73                 public void hide_grip ();
74                 public void hide_item ();
75                 public void iconify_item ();
76                 [Version (since = "3.6")]
77                 public bool is_closed ();
78                 [Version (since = "3.6")]
79                 public bool is_iconified ();
80                 [Version (since = "3.6")]
81                 public bool is_placeholder ();
82                 public void @lock ();
83                 public void notify_deselected ();
84                 public void notify_selected ();
85                 [Version (since = "3.3.2")]
86                 public bool or_child_has_focus ();
87                 public void preferred_size (Gtk.Requisition req);
88                 [Version (since = "3.6")]
89                 public void set_behavior_flags (Gdl.DockItemBehavior behavior, bool clear);
90                 [Version (since = "3.6")]
91                 public void set_child (Gtk.Widget? child);
92                 public void set_default_position (Gdl.DockObject reference);
93                 [CCode (cname = "gdl_dock_item_class_set_has_grip")]
94                 [Version (since = "3.6")]
95                 public class void set_has_grip (bool has_grip);
96                 public virtual void set_orientation (Gtk.Orientation orientation);
97                 public void set_tablabel (Gtk.Widget tablabel);
98                 public void show_grip ();
99                 public void show_item ();
100                 public void unbind ();
101                 public void unlock ();
102                 [Version (since = "3.6")]
103                 public void unset_behavior_flags (Gdl.DockItemBehavior behavior);
104                 [CCode (has_construct_function = false, type = "GtkWidget*")]
105                 [Version (since = "3.3.2")]
106                 public DockItem.with_pixbuf_icon (string name, string long_name, Gdk.Pixbuf pixbuf_icon, Gdl.DockItemBehavior behavior);
107                 [CCode (has_construct_function = false, type = "GtkWidget*")]
108                 public DockItem.with_stock (string name, string long_name, string stock_id, Gdl.DockItemBehavior behavior);
109                 [NoAccessorMethod]
110                 public Gdl.DockItemBehavior behavior { get; set; }
111                 [NoAccessorMethod]
112                 [Version (since = "3.6")]
113                 public bool closed { get; set; }
114                 [NoAccessorMethod]
115                 [Version (since = "3.6")]
116                 public bool iconified { get; set; }
117                 [NoAccessorMethod]
118                 public bool locked { get; set; }
119                 public Gtk.Orientation orientation { get; set construct; }
120                 [NoAccessorMethod]
121                 public int preferred_height { get; set; }
122                 [NoAccessorMethod]
123                 public int preferred_width { get; set; }
124                 [NoAccessorMethod]
125                 public bool resize { get; set; }
126                 public signal void deselected ();
127                 public virtual signal void dock_drag_begin ();
128                 public virtual signal void dock_drag_end (bool cancelled);
129                 public virtual signal void dock_drag_motion (Gdk.Device device, int x, int y);
130                 [Version (since = "3.3.2")]
131                 public virtual signal void move_focus_child (Gtk.DirectionType direction);
132                 public signal void selected ();
133         }
134         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_item_button_image_get_type ()")]
135         public class DockItemButtonImage : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
136                 public Gdl.DockItemButtonImageType image_type;
137                 [CCode (has_construct_function = false, type = "GtkWidget*")]
138                 public DockItemButtonImage (Gdl.DockItemButtonImageType image_type);
139         }
140         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_item_grip_get_type ()")]
141         public class DockItemGrip : Gtk.Container, Atk.Implementor, Gtk.Buildable {
142                 [CCode (has_construct_function = false, type = "GtkWidget*")]
143                 public DockItemGrip (Gdl.DockItem item);
144                 public bool has_event (Gdk.Event event);
145                 public void hide_handle ();
146                 [Version (since = "3.6")]
147                 public void set_cursor (bool in_drag);
148                 public void set_label (Gtk.Widget label);
149                 public void show_handle ();
150                 [NoAccessorMethod]
151                 public Gdl.DockItem item { construct; }
152         }
153         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_layout_get_type ()")]
154         public class DockLayout : GLib.Object {
155                 [CCode (has_construct_function = false)]
156                 public DockLayout (GLib.Object master);
157                 public void attach (Gdl.DockMaster master);
158                 public void delete_layout (string name);
159                 public GLib.List<string> get_layouts (bool include_default);
160                 [Version (since = "3.6")]
161                 public unowned GLib.Object get_master ();
162                 public bool is_dirty ();
163                 public bool load_from_file (string filename);
164                 public bool load_layout (string? name);
165                 public void save_layout (string? name);
166                 public bool save_to_file (string filename);
167                 public void set_master (GLib.Object master);
168                 [NoAccessorMethod]
169                 public bool dirty { get; }
170                 public GLib.Object master { get; set; }
171         }
172         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_master_get_type ()")]
173         public class DockMaster : GLib.Object {
174                 [CCode (has_construct_function = false)]
175                 protected DockMaster ();
176                 public void add (Gdl.DockObject object);
177                 public void @foreach (GLib.Func function);
178                 public void foreach_toplevel (bool include_controller, GLib.Func function);
179                 public unowned Gdl.DockObject get_controller ();
180                 [Version (since = "3.6")]
181                 public string get_dock_name ();
182                 public unowned Gdl.DockObject? get_object (string nick_name);
183                 public void remove (Gdl.DockObject object);
184                 public void set_controller (Gdl.DockObject new_controller);
185                 [NoAccessorMethod]
186                 public string default_title { owned get; set; }
187                 [NoAccessorMethod]
188                 public int locked { get; set; }
189                 [NoAccessorMethod]
190                 public Gdl.SwitcherStyle switcher_style { get; set; }
191                 [NoAccessorMethod]
192                 public Gtk.PositionType tab_pos { get; set; }
193                 [NoAccessorMethod]
194                 public bool tab_reorderable { get; set; }
195                 public virtual signal void layout_changed ();
196         }
197         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_notebook_get_type ()")]
198         public class DockNotebook : Gdl.DockItem, Atk.Implementor, Gtk.Buildable {
199                 [CCode (has_construct_function = false, type = "GtkWidget*")]
200                 public DockNotebook ();
201                 [NoAccessorMethod]
202                 public int page { get; set; }
203         }
204         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_object_get_type ()")]
205         public class DockObject : Gtk.Container, Atk.Implementor, Gtk.Buildable {
206                 public Gdl.DockObjectFlags deprecated_flags;
207                 public weak GLib.Object deprecated_master;
208                 [CCode (has_construct_function = false)]
209                 protected DockObject ();
210                 public void bind (GLib.Object master);
211                 public virtual bool child_placement (Gdl.DockObject child, Gdl.DockPlacement? placement);
212                 public virtual bool dock_request (int x, int y, Gdl.DockRequest request);
213                 public void freeze ();
214                 [Version (since = "3.6")]
215                 public unowned Gdl.DockObject get_controller ();
216                 [Version (since = "3.6")]
217                 public unowned string get_long_name ();
218                 [Version (since = "3.6")]
219                 public unowned GLib.Object get_master ();
220                 public unowned Gdl.DockObject? get_parent_object ();
221                 [Version (since = "3.6")]
222                 public unowned Gdk.Pixbuf get_pixbuf ();
223                 [Version (since = "3.6")]
224                 public unowned string get_stock_id ();
225                 public unowned Gdl.Dock? get_toplevel ();
226                 [Version (since = "3.6")]
227                 public bool is_automatic ();
228                 public bool is_bound ();
229                 [Version (since = "3.6")]
230                 public bool is_closed ();
231                 public bool is_compound ();
232                 [Version (since = "3.6")]
233                 public bool is_frozen ();
234                 [Version (since = "3.6")]
235                 public void layout_changed_notify ();
236                 public static unowned string nick_from_type (GLib.Type type);
237                 public virtual void present (Gdl.DockObject? child);
238                 public virtual void reduce ();
239                 public virtual bool reorder (Gdl.DockObject child, Gdl.DockPlacement new_position, GLib.Value? other_data);
240                 [Version (since = "3.6")]
241                 public void set_long_name (string name);
242                 [Version (since = "3.6")]
243                 public void set_manual ();
244                 [Version (since = "3.6")]
245                 public void set_pixbuf (Gdk.Pixbuf? icon);
246                 [Version (since = "3.6")]
247                 public void set_stock_id (string stock_id);
248                 public static GLib.Type set_type_for_nick (string nick, GLib.Type type);
249                 public void thaw ();
250                 public static GLib.Type type_from_nick (string nick);
251                 public void unbind ();
252                 public string long_name { get; set construct; }
253                 [NoAccessorMethod]
254                 public Gdl.DockMaster master { owned get; set construct; }
255                 public string name { get; construct; }
256                 [NoAccessorMethod]
257                 [Version (since = "3.3.2")]
258                 public void* pixbuf_icon { get; set; }
259                 public string stock_id { get; set construct; }
260                 [HasEmitter]
261                 public virtual signal void detach (bool recursive);
262                 [HasEmitter]
263                 public virtual signal void dock (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value other_data);
264         }
265         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_paned_get_type ()")]
266         public class DockPaned : Gdl.DockItem, Atk.Implementor, Gtk.Buildable {
267                 [CCode (has_construct_function = false, type = "GtkWidget*")]
268                 public DockPaned (Gtk.Orientation orientation);
269                 [NoAccessorMethod]
270                 public uint position { get; set; }
271         }
272         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_param_get_type ()")]
273         public class DockParam {
274                 [CCode (has_construct_function = false)]
275                 protected DockParam ();
276         }
277         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_placeholder_get_type ()")]
278         public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
279                 [CCode (has_construct_function = false, type = "GtkWidget*")]
280                 [Version (deprecated = true, deprecated_since = "3.6")]
281                 public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
282                 [Version (deprecated = true, deprecated_since = "3.6")]
283                 public void attach (Gdl.DockObject object);
284                 [NoAccessorMethod]
285                 public bool floating { get; construct; }
286                 [NoAccessorMethod]
287                 public int floatx { get; construct; }
288                 [NoAccessorMethod]
289                 public int floaty { get; construct; }
290                 [NoAccessorMethod]
291                 public int height { get; set construct; }
292                 [NoAccessorMethod]
293                 public Gdl.DockObject host { owned get; set; }
294                 [NoAccessorMethod]
295                 public Gdl.DockPlacement next_placement { get; set; }
296                 [NoAccessorMethod]
297                 public bool sticky { get; construct; }
298                 [NoAccessorMethod]
299                 public int width { get; set construct; }
300         }
301         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_dock_tablabel_get_type ()")]
302         public class DockTablabel : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
303                 public bool active;
304                 public uint drag_handle_size;
305                 public weak Gdk.EventButton drag_start_event;
306                 public weak Gdk.Window event_window;
307                 public bool pre_drag;
308                 [CCode (has_construct_function = false, type = "GtkWidget*")]
309                 [Version (deprecated = true, deprecated_since = "3.6")]
310                 public DockTablabel (Gdl.DockItem item);
311                 [Version (deprecated = true, deprecated_since = "3.6")]
312                 public void activate ();
313                 [Version (deprecated = true, deprecated_since = "3.6")]
314                 public void deactivate ();
315                 [NoAccessorMethod]
316                 public Gdl.DockItem item { owned get; set; }
317                 public virtual signal void button_pressed_handle (Gdk.Event event);
318         }
319         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_preview_window_get_type ()")]
320         public class PreviewWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
321                 [CCode (has_construct_function = false, type = "GtkWidget*")]
322                 public PreviewWindow ();
323                 public void update (Gdk.Rectangle rect);
324         }
325         [CCode (cheader_filename = "gdl/gdl.h", type_id = "gdl_switcher_get_type ()")]
326         public class Switcher : Gtk.Notebook, Atk.Implementor, Gtk.Buildable {
327                 [CCode (has_construct_function = false, type = "GtkWidget*")]
328                 public Switcher ();
329                 public int insert_page (Gtk.Widget page, Gtk.Widget tab_widget, string label, string tooltips, string stock_id, Gdk.Pixbuf pixbuf_icon, int position);
330                 [NoAccessorMethod]
331                 public Gdl.SwitcherStyle switcher_style { get; set; }
332                 [NoAccessorMethod]
333                 public Gtk.PositionType tab_pos { get; set; }
334                 [NoAccessorMethod]
335                 public bool tab_reorderable { get; set; }
336         }
337         [CCode (cheader_filename = "gdl/gdl.h", has_type_id = false)]
338         public struct DockRequest {
339                 public weak Gdl.DockObject applicant;
340                 public weak Gdl.DockObject target;
341                 public Gdl.DockPlacement position;
342                 public Cairo.RectangleInt rect;
343                 public GLib.Value extra;
344         }
345         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_BAR_", type_id = "gdl_dock_bar_style_get_type ()")]
346         public enum DockBarStyle {
347                 ICONS,
348                 TEXT,
349                 BOTH,
350                 AUTO
351         }
352         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_ITEM_BEH_", type_id = "gdl_dock_item_behavior_get_type ()")]
353         [Flags]
354         public enum DockItemBehavior {
355                 NORMAL,
356                 NEVER_FLOATING,
357                 NEVER_VERTICAL,
358                 NEVER_HORIZONTAL,
359                 LOCKED,
360                 CANT_DOCK_TOP,
361                 CANT_DOCK_BOTTOM,
362                 CANT_DOCK_LEFT,
363                 CANT_DOCK_RIGHT,
364                 CANT_DOCK_CENTER,
365                 CANT_CLOSE,
366                 CANT_ICONIFY,
367                 NO_GRIP
368         }
369         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_ITEM_BUTTON_IMAGE_", has_type_id = false)]
370         public enum DockItemButtonImageType {
371                 CLOSE,
372                 ICONIFY
373         }
374         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_", type_id = "gdl_dock_item_flags_get_type ()")]
375         [Flags]
376         [Version (deprecated = true, deprecated_since = "3.6")]
377         public enum DockItemFlags {
378                 IN_DRAG,
379                 IN_PREDRAG,
380                 ICONIFIED,
381                 USER_ACTION
382         }
383         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_", type_id = "gdl_dock_object_flags_get_type ()")]
384         [Flags]
385         public enum DockObjectFlags {
386                 AUTOMATIC,
387                 ATTACHED,
388                 IN_REFLOW,
389                 IN_DETACH
390         }
391         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_PARAM_", type_id = "gdl_dock_param_flags_get_type ()")]
392         [Flags]
393         public enum DockParamFlags {
394                 EXPORT,
395                 AFTER
396         }
397         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_DOCK_", type_id = "gdl_dock_placement_get_type ()")]
398         public enum DockPlacement {
399                 NONE,
400                 TOP,
401                 BOTTOM,
402                 RIGHT,
403                 LEFT,
404                 CENTER,
405                 FLOATING
406         }
407         [CCode (cheader_filename = "gdl/gdl.h", cprefix = "GDL_SWITCHER_STYLE_", type_id = "gdl_switcher_style_get_type ()")]
408         public enum SwitcherStyle {
409                 TEXT,
410                 ICON,
411                 BOTH,
412                 TOOLBAR,
413                 TABS,
414                 NONE
415         }
416         [CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_MASTER_PROPERTY")]
417         public const string DOCK_MASTER_PROPERTY;
418         [CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_NAME_PROPERTY")]
419         public const string DOCK_NAME_PROPERTY;
420         [CCode (cheader_filename = "gdl/gdl.h", cname = "GDL_DOCK_OBJECT_FLAGS_SHIFT")]
421         [Version (deprecated = true, deprecated_since = "3.6")]
422         public const int DOCK_OBJECT_FLAGS_SHIFT;
423         [CCode (cheader_filename = "gdl/gdl.h")]
424         public static void marshal_VOID__OBJECT_ENUM_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
425         [CCode (cheader_filename = "gdl/gdl.h")]
426         public static void marshal_VOID__OBJECT_INT_INT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
427         [CCode (cheader_filename = "gdl/gdl.h")]
428         public static void marshal_VOID__UINT_UINT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);