D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / gdl-1.0.vapi
blob25b2813b6ca53b58e9bee1f97bc3d88a8b2e4d72
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                 [CCode (has_construct_function = false)]
128                 protected DockMaster ();
129                 public void add (Gdl.DockObject object);
130                 public void @foreach (GLib.Func function);
131                 public void foreach_toplevel (bool include_controller, GLib.Func function);
132                 public unowned Gdl.DockObject get_controller ();
133                 public unowned Gdl.DockObject get_object (string nick_name);
134                 public void remove (Gdl.DockObject object);
135                 public void set_controller (Gdl.DockObject new_controller);
136                 [NoAccessorMethod]
137                 public string default_title { owned get; set; }
138                 [NoAccessorMethod]
139                 public int locked { get; set; }
140                 [NoAccessorMethod]
141                 public Gdl.SwitcherStyle switcher_style { get; set; }
142                 public virtual signal void layout_changed ();
143         }
144         [CCode (cheader_filename = "gdl/gdl.h")]
145         public class DockObject : Gtk.Container, Atk.Implementor, Gtk.Buildable {
146                 public Gdl.DockObjectFlags flags;
147                 public int freeze_count;
148                 public bool reduce_pending;
149                 [CCode (has_construct_function = false)]
150                 protected DockObject ();
151                 public void bind (GLib.Object master);
152                 public virtual bool child_placement (Gdl.DockObject child, Gdl.DockPlacement placement);
153                 public void detach (bool recursive);
154                 public void dock (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value? other_data);
155                 public virtual bool dock_request (int x, int y, Gdl.DockRequest request);
156                 public void freeze ();
157                 public unowned Gdl.DockObject get_parent_object ();
158                 public unowned Gdl.Dock get_toplevel ();
159                 [CCode (cname = "GDL_DOCK_OBJECT_ATTACHED")]
160                 public bool is_attached ();
161                 [CCode (cname = "GDL_DOCK_OBJECT_AUTOMATIC")]
162                 public bool is_automatic ();
163                 public bool is_bound ();
164                 public bool is_compound ();
165                 [CCode (cname = "GDL_DOCK_OBJECT_FROZEN")]
166                 public bool is_frozen ();
167                 [CCode (cname = "GDL_DOCK_OBJECT_IN_DETACH")]
168                 public bool is_in_detach ();
169                 [CCode (cname = "GDL_DOCK_OBJECT_IN_REFLOW")]
170                 public bool is_in_reflow ();
171                 [CCode (cname = "GDL_DOCK_OBJECT_SET_FLAGS")]
172                 public bool is_set_flags (Gdl.DockObjectFlags flags);
173                 [CCode (cname = "GDL_DOCK_OBJECT_UNSET_FLAGS")]
174                 public bool is_unset_flags (Gdl.DockObjectFlags flags);
175                 public static unowned string nick_from_type (GLib.Type type);
176                 public virtual void present (Gdl.DockObject child);
177                 public virtual void reduce ();
178                 public virtual bool reorder (Gdl.DockObject child, Gdl.DockPlacement new_position, GLib.Value other_data);
179                 public static GLib.Type set_type_for_nick (string nick, GLib.Type type);
180                 public void thaw ();
181                 public static GLib.Type type_from_nick (string nick);
182                 public void unbind ();
183                 [NoAccessorMethod]
184                 public string long_name { owned get; set; }
185                 [NoAccessorMethod]
186                 public Gdl.DockMaster master { owned get; set construct; }
187                 [NoAccessorMethod]
188                 public string name { owned get; construct; }
189                 [NoAccessorMethod]
190                 public string stock_id { owned get; set; }
191                 public virtual signal void detached (bool recursive);
192                 public virtual signal void docked (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value other_data);
193         }
194         [CCode (cheader_filename = "gdl/gdl.h")]
195         public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
196                 [CCode (type = "GtkWidget*", has_construct_function = false)]
197                 public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
198                 public void attach (Gdl.DockObject object);
199                 [NoAccessorMethod]
200                 public bool floating { get; construct; }
201                 [NoAccessorMethod]
202                 public int floatx { get; construct; }
203                 [NoAccessorMethod]
204                 public int floaty { get; construct; }
205                 [NoAccessorMethod]
206                 public int height { get; set construct; }
207                 [NoAccessorMethod]
208                 public Gdl.DockObject host { owned get; set; }
209                 [NoAccessorMethod]
210                 public Gdl.DockPlacement next_placement { get; set; }
211                 [NoAccessorMethod]
212                 public bool sticky { get; construct; }
213                 [NoAccessorMethod]
214                 public int width { get; set construct; }
215         }
216         [Compact]
217         [CCode (cheader_filename = "gdl/gdl.h")]
218         public class DockRequest {
219                 public weak Gdl.DockObject applicant;
220                 public GLib.Value extra;
221                 public Gdl.DockPlacement position;
222                 public Gdk.Rectangle rect;
223                 public weak Gdl.DockObject target;
224         }
225         [Compact]
226         [CCode (cheader_filename = "gdl/gdl.h")]
227         public class Pixmap {
228                 public weak string fname;
229                 public weak string path;
230                 public weak string pixbuf;
231         }
232         [CCode (cprefix = "GDL_DOCK_BAR_", cheader_filename = "gdl/gdl.h")]
233         public enum DockBarStyle {
234                 ICONS,
235                 TEXT,
236                 BOTH,
237                 AUTO
238         }
239         [CCode (cprefix = "GDL_DOCK_ITEM_BEH_", cheader_filename = "gdl/gdl.h")]
240         [Flags]
241         public enum DockItemBehavior {
242                 NORMAL,
243                 NEVER_FLOATING,
244                 NEVER_VERTICAL,
245                 NEVER_HORIZONTAL,
246                 LOCKED,
247                 CANT_DOCK_TOP,
248                 CANT_DOCK_BOTTOM,
249                 CANT_DOCK_LEFT,
250                 CANT_DOCK_RIGHT,
251                 CANT_DOCK_CENTER,
252                 CANT_CLOSE,
253                 CANT_ICONIFY,
254                 NO_GRIP
255         }
256         [CCode (cprefix = "GDL_DOCK_", cheader_filename = "gdl/gdl.h")]
257         [Flags]
258         public enum DockItemFlags {
259                 IN_DRAG,
260                 IN_PREDRAG,
261                 ICONIFIED,
262                 USER_ACTION
263         }
264         [CCode (cprefix = "GDL_DOCK_", cheader_filename = "gdl/gdl.h")]
265         [Flags]
266         public enum DockObjectFlags {
267                 AUTOMATIC,
268                 ATTACHED,
269                 IN_REFLOW,
270                 IN_DETACH
271         }
272         [CCode (cprefix = "GDL_DOCK_PARAM_", cheader_filename = "gdl/gdl.h")]
273         [Flags]
274         public enum DockParamFlags {
275                 EXPORT,
276                 AFTER
277         }
278         [CCode (cprefix = "GDL_DOCK_", cheader_filename = "gdl/gdl.h")]
279         public enum DockPlacement {
280                 NONE,
281                 TOP,
282                 BOTTOM,
283                 RIGHT,
284                 LEFT,
285                 CENTER,
286                 FLOATING
287         }
288         [CCode (cprefix = "GDL_SWITCHER_STYLE_", cheader_filename = "gdl/gdl.h")]
289         public enum SwitcherStyle {
290                 TEXT,
291                 ICON,
292                 BOTH,
293                 TOOLBAR,
294                 TABS,
295                 NONE
296         }
297         [CCode (cheader_filename = "gdl/gdl.h")]
298         public const string DOCK_MASTER_PROPERTY;
299         [CCode (cheader_filename = "gdl/gdl.h")]
300         public const string DOCK_NAME_PROPERTY;
301         [CCode (cheader_filename = "gdl/gdl.h")]
302         public const int DOCK_OBJECT_FLAGS_SHIFT;