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