D-Bus: Add missing dbus-glib.h include for interfaces without methods
[vala-lang.git] / vapi / gdl-1.0.vapi
blob767d689fdcb4da2a34beac387ad861e54dfe24d6
1 /* gdl-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gdl", lower_case_cprefix = "gdl_")]
4 namespace Gdl {
5         [CCode (cheader_filename = "gdl/gdl.h")]
6         public class Dock : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
7                 public weak Gdl.DockObject root;
8                 [CCode (type = "GtkWidget*", has_construct_function = false)]
9                 public Dock ();
10                 public void add_floating_item (Gdl.DockItem item, int x, int y, int width, int height);
11                 public void add_item (Gdl.DockItem item, Gdl.DockPlacement place);
12                 [CCode (type = "GtkWidget*", has_construct_function = false)]
13                 public Dock.from (Gdl.Dock original, bool floating);
14                 public unowned Gdl.DockItem get_item_by_name (string name);
15                 public unowned GLib.List get_named_items ();
16                 public unowned Gdl.DockPlaceholder get_placeholder_by_name (string name);
17                 public static GLib.Type param_get_type ();
18                 public void xor_rect (Gdk.Rectangle rect);
19                 [NoAccessorMethod]
20                 public string default_title { owned get; set; }
21                 [NoAccessorMethod]
22                 public bool floating { get; construct; }
23                 [NoAccessorMethod]
24                 public int floatx { get; set construct; }
25                 [NoAccessorMethod]
26                 public int floaty { get; set construct; }
27                 [NoAccessorMethod]
28                 public int height { get; set construct; }
29                 [NoAccessorMethod]
30                 public int width { get; set construct; }
31                 public virtual signal void layout_changed ();
32         }
33         [CCode (cheader_filename = "gdl/gdl.h")]
34         public class DockBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
35                 public weak Gdl.Dock dock;
36                 [CCode (type = "GtkWidget*", has_construct_function = false)]
37                 public DockBar (Gdl.Dock dock);
38                 public Gtk.Orientation get_orientation ();
39                 public Gdl.DockBarStyle get_style ();
40                 public void set_orientation (Gtk.Orientation orientation);
41                 public void set_style (Gdl.DockBarStyle style);
42                 [NoAccessorMethod]
43                 public Gdl.DockBarStyle dockbar_style { get; set construct; }
44                 [NoAccessorMethod]
45                 public Gdl.DockMaster master { owned get; set; }
46         }
47         [CCode (cheader_filename = "gdl/gdl.h")]
48         public class DockItem : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
49                 public weak Gtk.Widget child;
50                 public int dragoff_x;
51                 public int dragoff_y;
52                 [CCode (type = "GtkWidget*", has_construct_function = false)]
53                 public DockItem (string name, string long_name, Gdl.DockItemBehavior behavior);
54                 public void bind (Gtk.Widget dock);
55                 public void dock_to (Gdl.DockItem? target, Gdl.DockPlacement position, int docking_param);
56                 public unowned Gtk.Widget get_grip ();
57                 public unowned Gtk.Widget get_tablabel ();
58                 public void hide_grip ();
59                 public void hide_item ();
60                 public void iconify_item ();
61                 public void @lock ();
62                 public void notify_selected ();
63                 public void preferred_size (Gtk.Requisition req);
64                 public void set_default_position (Gdl.DockObject reference);
65                 public virtual void set_orientation (Gtk.Orientation orientation);
66                 public void set_tablabel (Gtk.Widget tablabel);
67                 public void show_grip ();
68                 public void show_item ();
69                 public void unbind ();
70                 public void unlock ();
71                 [CCode (type = "GtkWidget*", has_construct_function = false)]
72                 public DockItem.with_stock (string name, string long_name, string stock_id, Gdl.DockItemBehavior behavior);
73                 [NoAccessorMethod]
74                 public Gdl.DockItemBehavior behavior { get; set; }
75                 [NoAccessorMethod]
76                 public bool locked { get; set; }
77                 [NoAccessorMethod]
78                 public Gtk.Orientation orientation { get; set construct; }
79                 [NoAccessorMethod]
80                 public int preferred_height { get; set; }
81                 [NoAccessorMethod]
82                 public int preferred_width { get; set; }
83                 [NoAccessorMethod]
84                 public bool resize { get; set; }
85                 public virtual signal void dock_drag_begin ();
86                 public virtual signal void dock_drag_end (bool cancelled);
87                 public virtual signal void dock_drag_motion (int x, int y);
88                 public virtual signal void selected ();
89         }
90         [CCode (cheader_filename = "gdl/gdl.h")]
91         public class DockItemGrip : Gtk.Container, Atk.Implementor, Gtk.Buildable {
92                 public weak Gdk.Window title_window;
93                 [CCode (type = "GtkWidget*", has_construct_function = false)]
94                 public DockItemGrip (Gdl.DockItem item);
95                 public void hide_handle ();
96                 public void set_label (Gtk.Widget label);
97                 public void show_handle ();
98                 public Gdl.DockItem item { construct; }
99         }
100         [CCode (cheader_filename = "gdl/gdl.h")]
101         public class DockLayout : GLib.Object {
102                 [CCode (has_construct_function = false)]
103                 public DockLayout (Gdl.Dock dock);
104                 public void attach (Gdl.DockMaster master);
105                 public void delete_layout (string name);
106                 public unowned Gtk.Widget get_items_ui ();
107                 public unowned GLib.List get_layouts (bool include_default);
108                 public unowned Gtk.Widget get_layouts_ui ();
109                 public unowned Gtk.Widget get_ui ();
110                 public bool is_dirty ();
111                 public bool load_from_file (string filename);
112                 public bool load_layout (string name);
113                 public void run_manager ();
114                 public void save_layout (string name);
115                 public bool save_to_file (string filename);
116                 [NoAccessorMethod]
117                 public bool dirty { get; }
118                 [NoAccessorMethod]
119                 public Gdl.DockMaster master { owned get; set; }
120         }
121         [CCode (cheader_filename = "gdl/gdl.h")]
122         public class DockMaster : GLib.Object {
123                 public weak Gdl.DockObject controller;
124                 public int dock_number;
125                 public weak GLib.HashTable dock_objects;
126                 public weak GLib.List toplevel_docks;
127                 public void add (Gdl.DockObject object);
128                 public void @foreach (GLib.Func function);
129                 public void foreach_toplevel (bool include_controller, GLib.Func function);
130                 public unowned Gdl.DockObject get_controller ();
131                 public unowned Gdl.DockObject get_object (string nick_name);
132                 public void remove (Gdl.DockObject object);
133                 public void set_controller (Gdl.DockObject new_controller);
134                 [NoAccessorMethod]
135                 public string default_title { owned get; set; }
136                 [NoAccessorMethod]
137                 public int locked { get; set; }
138                 [NoAccessorMethod]
139                 public Gdl.SwitcherStyle switcher_style { get; set; }
140                 public virtual signal void layout_changed ();
141         }
142         [CCode (cheader_filename = "gdl/gdl.h")]
143         public class DockObject : Gtk.Container, Atk.Implementor, Gtk.Buildable {
144                 public Gdl.DockObjectFlags flags;
145                 public int freeze_count;
146                 public bool reduce_pending;
147                 public void bind (GLib.Object master);
148                 public virtual bool child_placement (Gdl.DockObject child, Gdl.DockPlacement placement);
149                 public void detach (bool recursive);
150                 public void dock (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value? other_data);
151                 public virtual bool dock_request (int x, int y, Gdl.DockRequest request);
152                 public void freeze ();
153                 public unowned Gdl.DockObject get_parent_object ();
154                 public unowned Gdl.Dock get_toplevel ();
155                 [CCode (cname = "GDL_DOCK_OBJECT_ATTACHED")]
156                 public bool is_attached ();
157                 [CCode (cname = "GDL_DOCK_OBJECT_AUTOMATIC")]
158                 public bool is_automatic ();
159                 public bool is_bound ();
160                 public bool is_compound ();
161                 [CCode (cname = "GDL_DOCK_OBJECT_FROZEN")]
162                 public bool is_frozen ();
163                 [CCode (cname = "GDL_DOCK_OBJECT_IN_DETACH")]
164                 public bool is_in_detach ();
165                 [CCode (cname = "GDL_DOCK_OBJECT_IN_REFLOW")]
166                 public bool is_in_reflow ();
167                 [CCode (cname = "GDL_DOCK_OBJECT_SET_FLAGS")]
168                 public bool is_set_flags (Gdl.DockObjectFlags flags);
169                 [CCode (cname = "GDL_DOCK_OBJECT_UNSET_FLAGS")]
170                 public bool is_unset_flags (Gdl.DockObjectFlags flags);
171                 public static unowned string nick_from_type (GLib.Type type);
172                 public virtual void present (Gdl.DockObject child);
173                 public virtual void reduce ();
174                 public virtual bool reorder (Gdl.DockObject child, Gdl.DockPlacement new_position, GLib.Value other_data);
175                 public static GLib.Type set_type_for_nick (string nick, GLib.Type type);
176                 public void thaw ();
177                 public static GLib.Type type_from_nick (string nick);
178                 public void unbind ();
179                 [NoAccessorMethod]
180                 public string long_name { owned get; set; }
181                 [NoAccessorMethod]
182                 public Gdl.DockMaster master { owned get; set construct; }
183                 [NoAccessorMethod]
184                 public string name { owned get; construct; }
185                 [NoAccessorMethod]
186                 public string stock_id { owned get; set; }
187                 public virtual signal void detached (bool recursive);
188                 public virtual signal void docked (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value other_data);
189         }
190         [CCode (cheader_filename = "gdl/gdl.h")]
191         public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
192                 [CCode (type = "GtkWidget*", has_construct_function = false)]
193                 public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
194                 public void attach (Gdl.DockObject object);
195                 [NoAccessorMethod]
196                 public bool floating { get; construct; }
197                 [NoAccessorMethod]
198                 public int floatx { get; construct; }
199                 [NoAccessorMethod]
200                 public int floaty { get; construct; }
201                 [NoAccessorMethod]
202                 public int height { get; set construct; }
203                 [NoAccessorMethod]
204                 public Gdl.DockObject host { owned get; set; }
205                 [NoAccessorMethod]
206                 public Gdl.DockPlacement next_placement { get; set; }
207                 [NoAccessorMethod]
208                 public bool sticky { get; construct; }
209                 [NoAccessorMethod]
210                 public int width { get; set construct; }
211         }
212         [Compact]
213         [CCode (cheader_filename = "gdl/gdl.h")]
214         public class DockRequest {
215                 public weak Gdl.DockObject applicant;
216                 public GLib.Value extra;
217                 public Gdl.DockPlacement position;
218                 public Gdk.Rectangle rect;
219                 public weak Gdl.DockObject target;
220         }
221         [Compact]
222         [CCode (cheader_filename = "gdl/gdl.h")]
223         public class Pixmap {
224                 public weak string fname;
225                 public weak string path;
226                 public weak string pixbuf;
227         }
228         [CCode (cprefix = "GDL_DOCK_BAR_", cheader_filename = "gdl/gdl.h")]
229         public enum DockBarStyle {
230                 ICONS,
231                 TEXT,
232                 BOTH,
233                 AUTO
234         }
235         [CCode (cprefix = "GDL_DOCK_ITEM_BEH_", cheader_filename = "gdl/gdl.h")]
236         [Flags]
237         public enum DockItemBehavior {
238                 NORMAL,
239                 NEVER_FLOATING,
240                 NEVER_VERTICAL,
241                 NEVER_HORIZONTAL,
242                 LOCKED,
243                 CANT_DOCK_TOP,
244                 CANT_DOCK_BOTTOM,
245                 CANT_DOCK_LEFT,
246                 CANT_DOCK_RIGHT,
247                 CANT_DOCK_CENTER,
248                 CANT_CLOSE,
249                 CANT_ICONIFY,
250                 NO_GRIP
251         }
252         [CCode (cprefix = "GDL_DOCK_", cheader_filename = "gdl/gdl.h")]
253         [Flags]
254         public enum DockItemFlags {
255                 IN_DRAG,
256                 IN_PREDRAG,
257                 ICONIFIED,
258                 USER_ACTION
259         }
260         [CCode (cprefix = "GDL_DOCK_", cheader_filename = "gdl/gdl.h")]
261         [Flags]
262         public enum DockObjectFlags {
263                 AUTOMATIC,
264                 ATTACHED,
265                 IN_REFLOW,
266                 IN_DETACH
267         }
268         [CCode (cprefix = "GDL_DOCK_PARAM_", cheader_filename = "gdl/gdl.h")]
269         [Flags]
270         public enum DockParamFlags {
271                 EXPORT,
272                 AFTER
273         }
274         [CCode (cprefix = "GDL_DOCK_", cheader_filename = "gdl/gdl.h")]
275         public enum DockPlacement {
276                 NONE,
277                 TOP,
278                 BOTTOM,
279                 RIGHT,
280                 LEFT,
281                 CENTER,
282                 FLOATING
283         }
284         [CCode (cprefix = "GDL_SWITCHER_STYLE_", cheader_filename = "gdl/gdl.h")]
285         public enum SwitcherStyle {
286                 TEXT,
287                 ICON,
288                 BOTH,
289                 TOOLBAR,
290                 TABS,
291                 NONE
292         }
293         [CCode (cheader_filename = "gdl/gdl.h")]
294         public const string DOCK_MASTER_PROPERTY;
295         [CCode (cheader_filename = "gdl/gdl.h")]
296         public const string DOCK_NAME_PROPERTY;
297         [CCode (cheader_filename = "gdl/gdl.h")]
298         public const int DOCK_OBJECT_FLAGS_SHIFT;