~ubuntu-branches/ubuntu/hardy/vala/hardy

« back to all changes in this revision

Viewing changes to vapi/libwnck-1.0.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge, Marc-Andre Lureau, Sebastian Dröge
  • Date: 2007-10-15 14:37:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071015143751-zy7hqcyjutdyfkg3
Tags: 0.1.4-1
[ Marc-Andre Lureau ]
* New Upstream Version
* debian/patches:
  + Remove patch no longer needed in 0.1.4
* debian/rules
  + Add xsltproc build dependency for the Vala manual.
  + Add libenchant-dev build dependency for enchant test case.
* debian/control, debian/vala-doc.install:
  + Add a "vala-doc" documentation package.

[ Sebastian Dröge ]
* debian/control:
  + Let vala-doc suggest valac/devhelp and don't depend on libvala0.
* debian/libvala-dev.install:
  + Add the new vapicheck utility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* libwnck-1.0.vapi generated by lt-vapigen, do not modify. */
 
2
 
 
3
[CCode (cprefix = "Wnck", lower_case_cprefix = "wnck_")]
 
4
namespace Wnck {
 
5
        [CCode (cprefix = "WNCK_CLIENT_TYPE_", cheader_filename = "libwnck/libwnck.h")]
 
6
        public enum ClientType {
 
7
                APPLICATION,
 
8
                PAGER,
 
9
        }
 
10
        [CCode (cprefix = "WNCK_MOTION_", cheader_filename = "libwnck/libwnck.h")]
 
11
        public enum MotionDirection {
 
12
                UP,
 
13
                DOWN,
 
14
                LEFT,
 
15
                RIGHT,
 
16
        }
 
17
        [CCode (cprefix = "WNCK_PAGER_DISPLAY_", cheader_filename = "libwnck/libwnck.h")]
 
18
        public enum PagerDisplayMode {
 
19
                NAME,
 
20
                CONTENT,
 
21
        }
 
22
        [CCode (cprefix = "WNCK_TASKLIST_", cheader_filename = "libwnck/libwnck.h")]
 
23
        public enum TasklistGroupingType {
 
24
                NEVER_GROUP,
 
25
                AUTO_GROUP,
 
26
                ALWAYS_GROUP,
 
27
        }
 
28
        [CCode (cprefix = "WNCK_WINDOW_ACTION_", cheader_filename = "libwnck/libwnck.h")]
 
29
        public enum WindowActions {
 
30
                MOVE,
 
31
                RESIZE,
 
32
                SHADE,
 
33
                STICK,
 
34
                MAXIMIZE_HORIZONTALLY,
 
35
                MAXIMIZE_VERTICALLY,
 
36
                CHANGE_WORKSPACE,
 
37
                CLOSE,
 
38
                UNMAXIMIZE_HORIZONTALLY,
 
39
                UNMAXIMIZE_VERTICALLY,
 
40
                UNSHADE,
 
41
                UNSTICK,
 
42
                MINIMIZE,
 
43
                UNMINIMIZE,
 
44
                MAXIMIZE,
 
45
                UNMAXIMIZE,
 
46
                FULLSCREEN,
 
47
                ABOVE,
 
48
                BELOW,
 
49
        }
 
50
        [CCode (cprefix = "WNCK_WINDOW_GRAVITY_", cheader_filename = "libwnck/libwnck.h")]
 
51
        public enum WindowGravity {
 
52
                CURRENT,
 
53
                NORTHWEST,
 
54
                NORTH,
 
55
                NORTHEAST,
 
56
                WEST,
 
57
                CENTER,
 
58
                EAST,
 
59
                SOUTHWEST,
 
60
                SOUTH,
 
61
                SOUTHEAST,
 
62
                STATIC,
 
63
        }
 
64
        [CCode (cprefix = "WNCK_WINDOW_CHANGE_", cheader_filename = "libwnck/libwnck.h")]
 
65
        public enum WindowMoveResizeMask {
 
66
                X,
 
67
                Y,
 
68
                WIDTH,
 
69
                HEIGHT,
 
70
        }
 
71
        [CCode (cprefix = "WNCK_WINDOW_STATE_", cheader_filename = "libwnck/libwnck.h")]
 
72
        public enum WindowState {
 
73
                MINIMIZED,
 
74
                MAXIMIZED_HORIZONTALLY,
 
75
                MAXIMIZED_VERTICALLY,
 
76
                SHADED,
 
77
                SKIP_PAGER,
 
78
                SKIP_TASKLIST,
 
79
                STICKY,
 
80
                HIDDEN,
 
81
                FULLSCREEN,
 
82
                DEMANDS_ATTENTION,
 
83
                URGENT,
 
84
                ABOVE,
 
85
                BELOW,
 
86
        }
 
87
        [CCode (cprefix = "WNCK_WINDOW_", cheader_filename = "libwnck/libwnck.h")]
 
88
        public enum WindowType {
 
89
                NORMAL,
 
90
                DESKTOP,
 
91
                DOCK,
 
92
                DIALOG,
 
93
                TOOLBAR,
 
94
                MENU,
 
95
                UTILITY,
 
96
                SPLASHSCREEN,
 
97
        }
 
98
        [CCode (cprefix = "WNCK_LAYOUT_CORNER_", cheader_filename = "libwnck/libwnck.h")]
 
99
        public enum _WnckLayoutCorner {
 
100
                TOPLEFT,
 
101
                TOPRIGHT,
 
102
                BOTTOMRIGHT,
 
103
                BOTTOMLEFT,
 
104
        }
 
105
        [CCode (cprefix = "WNCK_LAYOUT_ORIENTATION_", cheader_filename = "libwnck/libwnck.h")]
 
106
        public enum _WnckLayoutOrientation {
 
107
                HORIZONTAL,
 
108
                VERTICAL,
 
109
        }
 
110
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
111
        public class PagerAccessible : Gtk.Accessible, Atk.Selection {
 
112
                public static GLib.Type get_type ();
 
113
                public PagerAccessible (Gtk.Widget widget);
 
114
        }
 
115
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
116
        public class Application : GLib.Object {
 
117
                public static weak Wnck.Application get (ulong xwindow);
 
118
                public weak Gdk.Pixbuf get_icon ();
 
119
                public bool get_icon_is_fallback ();
 
120
                public weak string get_icon_name ();
 
121
                public weak Gdk.Pixbuf get_mini_icon ();
 
122
                public int get_n_windows ();
 
123
                public weak string get_name ();
 
124
                public int get_pid ();
 
125
                public weak string get_startup_id ();
 
126
                public static GLib.Type get_type ();
 
127
                public weak GLib.List get_windows ();
 
128
                public ulong get_xid ();
 
129
                public signal void name_changed ();
 
130
                public signal void icon_changed ();
 
131
        }
 
132
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
133
        public class ClassGroup : GLib.Object {
 
134
                public static weak Wnck.ClassGroup get (string res_class);
 
135
                public weak Gdk.Pixbuf get_icon ();
 
136
                public weak Gdk.Pixbuf get_mini_icon ();
 
137
                public weak string get_name ();
 
138
                public weak string get_res_class ();
 
139
                public static GLib.Type get_type ();
 
140
                public weak GLib.List get_windows ();
 
141
                public signal void name_changed ();
 
142
                public signal void icon_changed ();
 
143
        }
 
144
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
145
        public class Pager : Gtk.Container {
 
146
                public static GLib.Type get_type ();
 
147
                public Pager (Wnck.Screen screen);
 
148
                public void set_display_mode (Wnck.PagerDisplayMode mode);
 
149
                public bool set_n_rows (int n_rows);
 
150
                public bool set_orientation (Gtk.Orientation orientation);
 
151
                public void set_shadow_type (Gtk.ShadowType shadow_type);
 
152
                public void set_show_all (bool show_all_workspaces);
 
153
        }
 
154
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
155
        public class pagerAccessibleFactory : GLib.Object {
 
156
        }
 
157
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
158
        public class Screen : GLib.Object {
 
159
                public void change_workspace_count (int count);
 
160
                public void force_update ();
 
161
                public static weak Wnck.Screen get (int index);
 
162
                public weak Wnck.Window get_active_window ();
 
163
                public weak Wnck.Workspace get_active_workspace ();
 
164
                public ulong get_background_pixmap ();
 
165
                public static weak Wnck.Screen get_default ();
 
166
                public static weak Wnck.Screen get_for_root (ulong root_window_id);
 
167
                public int get_height ();
 
168
                public int get_number ();
 
169
                public weak Wnck.Window get_previously_active_window ();
 
170
                public bool get_showing_desktop ();
 
171
                public static GLib.Type get_type ();
 
172
                public int get_width ();
 
173
                public weak string get_window_manager_name ();
 
174
                public weak GLib.List get_windows ();
 
175
                public weak GLib.List get_windows_stacked ();
 
176
                public weak Wnck.Workspace get_workspace (int workspace);
 
177
                public int get_workspace_count ();
 
178
                public weak GLib.List get_workspaces ();
 
179
                public void move_viewport (int x, int y);
 
180
                public bool net_wm_supports (string atom);
 
181
                public void release_workspace_layout (int current_token);
 
182
                public void toggle_showing_desktop (bool show);
 
183
                public int try_set_workspace_layout (int current_token, int rows, int columns);
 
184
                public signal void active_window_changed (Wnck.Window previous_window);
 
185
                public signal void active_workspace_changed (Wnck.Workspace previous_workspace);
 
186
                public signal void window_stacking_changed ();
 
187
                public signal void window_opened (Wnck.Window window);
 
188
                public signal void window_closed (Wnck.Window window);
 
189
                public signal void workspace_created (Wnck.Workspace space);
 
190
                public signal void workspace_destroyed (Wnck.Workspace space);
 
191
                public signal void application_opened (Wnck.Application app);
 
192
                public signal void application_closed (Wnck.Application app);
 
193
                public signal void class_group_opened (Wnck.ClassGroup class_group);
 
194
                public signal void class_group_closed (Wnck.ClassGroup class_group);
 
195
                public signal void background_changed ();
 
196
                public signal void showing_desktop_changed ();
 
197
                public signal void viewports_changed ();
 
198
                public signal void window_manager_changed ();
 
199
        }
 
200
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
201
        public class Selector : Gtk.MenuBar {
 
202
                public static GLib.Type get_type ();
 
203
                public Selector ();
 
204
        }
 
205
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
206
        public class Tasklist : Gtk.Container {
 
207
                [NoArrayLength]
 
208
                public weak int[] get_size_hint_list (int n_elements);
 
209
                public static GLib.Type get_type ();
 
210
                public Tasklist (Wnck.Screen screen);
 
211
                public void set_button_relief (Gtk.ReliefStyle relief);
 
212
                public void set_grouping (Wnck.TasklistGroupingType grouping);
 
213
                public void set_grouping_limit (int limit);
 
214
                public void set_icon_loader (Wnck.LoadIconFunction load_icon_func, pointer data, GLib.DestroyNotify free_data_func);
 
215
                public void set_include_all_workspaces (bool include_all_workspaces);
 
216
                public void set_switch_workspace_on_unminimize (bool switch_workspace_on_unminimize);
 
217
        }
 
218
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
219
        public class Window : GLib.Object {
 
220
                public void activate (uint timestamp);
 
221
                public void activate_transient (uint timestamp);
 
222
                public void close (uint timestamp);
 
223
                public static weak Wnck.Window get (ulong xwindow);
 
224
                public Wnck.WindowActions get_actions ();
 
225
                public weak Wnck.Application get_application ();
 
226
                public weak Wnck.ClassGroup get_class_group ();
 
227
                public void get_client_window_geometry (int xp, int yp, int widthp, int heightp);
 
228
                public void get_geometry (int xp, int yp, int widthp, int heightp);
 
229
                public ulong get_group_leader ();
 
230
                public weak Gdk.Pixbuf get_icon ();
 
231
                public bool get_icon_is_fallback ();
 
232
                public weak string get_icon_name ();
 
233
                public weak Gdk.Pixbuf get_mini_icon ();
 
234
                public weak string get_name ();
 
235
                public int get_pid ();
 
236
                public weak Wnck.Screen get_screen ();
 
237
                public weak string get_session_id ();
 
238
                public weak string get_session_id_utf8 ();
 
239
                public int get_sort_order ();
 
240
                public Wnck.WindowState get_state ();
 
241
                public weak Wnck.Window get_transient ();
 
242
                public static GLib.Type get_type ();
 
243
                public Wnck.WindowType get_window_type ();
 
244
                public weak Wnck.Workspace get_workspace ();
 
245
                public ulong get_xid ();
 
246
                public bool has_icon_name ();
 
247
                public bool has_name ();
 
248
                public bool is_above ();
 
249
                public bool is_active ();
 
250
                public bool is_below ();
 
251
                public bool is_fullscreen ();
 
252
                public bool is_in_viewport (Wnck.Workspace workspace);
 
253
                public bool is_maximized ();
 
254
                public bool is_maximized_horizontally ();
 
255
                public bool is_maximized_vertically ();
 
256
                public bool is_minimized ();
 
257
                public bool is_most_recently_activated ();
 
258
                public bool is_on_workspace (Wnck.Workspace workspace);
 
259
                public bool is_pinned ();
 
260
                public bool is_shaded ();
 
261
                public bool is_skip_pager ();
 
262
                public bool is_skip_tasklist ();
 
263
                public bool is_sticky ();
 
264
                public bool is_visible_on_workspace (Wnck.Workspace workspace);
 
265
                public void keyboard_move ();
 
266
                public void keyboard_size ();
 
267
                public void make_above ();
 
268
                public void make_below ();
 
269
                public void maximize ();
 
270
                public void maximize_horizontally ();
 
271
                public void maximize_vertically ();
 
272
                public void minimize ();
 
273
                public void move_to_workspace (Wnck.Workspace space);
 
274
                public bool needs_attention ();
 
275
                public bool or_transient_needs_attention ();
 
276
                public void pin ();
 
277
                public void set_fullscreen (bool fullscreen);
 
278
                public void set_geometry (Wnck.WindowGravity gravity, Wnck.WindowMoveResizeMask geometry_mask, int x, int y, int width, int height);
 
279
                public void set_icon_geometry (int x, int y, int width, int height);
 
280
                public void set_skip_pager (bool skip);
 
281
                public void set_skip_tasklist (bool skip);
 
282
                public void set_sort_order (int order);
 
283
                public void set_window_type (Wnck.WindowType wintype);
 
284
                public void shade ();
 
285
                public void stick ();
 
286
                public bool transient_is_most_recently_activated ();
 
287
                public void unmake_above ();
 
288
                public void unmake_below ();
 
289
                public void unmaximize ();
 
290
                public void unmaximize_horizontally ();
 
291
                public void unmaximize_vertically ();
 
292
                public void unminimize (uint timestamp);
 
293
                public void unpin ();
 
294
                public void unshade ();
 
295
                public void unstick ();
 
296
                public signal void name_changed ();
 
297
                public signal void state_changed (Wnck.WindowState changed_mask, Wnck.WindowState new_state);
 
298
                public signal void workspace_changed ();
 
299
                public signal void icon_changed ();
 
300
                public signal void actions_changed (Wnck.WindowActions changed_mask, Wnck.WindowActions new_actions);
 
301
                public signal void geometry_changed ();
 
302
        }
 
303
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
304
        public class Workspace : GLib.Object {
 
305
                public void activate (uint timestamp);
 
306
                public void change_name (string name);
 
307
                public int get_height ();
 
308
                public int get_layout_column ();
 
309
                public int get_layout_row ();
 
310
                public weak string get_name ();
 
311
                public weak Wnck.Workspace get_neighbor (Wnck.MotionDirection direction);
 
312
                public int get_number ();
 
313
                public weak Wnck.Screen get_screen ();
 
314
                public static GLib.Type get_type ();
 
315
                public int get_viewport_x ();
 
316
                public int get_viewport_y ();
 
317
                public int get_width ();
 
318
                public bool is_virtual ();
 
319
                public signal void name_changed ();
 
320
        }
 
321
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
322
        public class WorkspaceAccessibleFactory : Atk.ObjectFactory {
 
323
                public static GLib.Type get_type ();
 
324
                public WorkspaceAccessibleFactory ();
 
325
        }
 
326
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
327
        public class WorkspaceAccessible : Atk.GObjectAccessible, Atk.Component {
 
328
                public static GLib.Type get_type ();
 
329
                public WorkspaceAccessible (GLib.Object obj);
 
330
        }
 
331
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
332
        public class IconCache {
 
333
        }
 
334
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
335
        public class PagerAccessibleFactory {
 
336
                public weak Atk.ObjectFactory parent;
 
337
                public static GLib.Type get_type ();
 
338
                public PagerAccessibleFactory ();
 
339
        }
 
340
        [CCode (cheader_filename = "libwnck/libwnck.h")]
 
341
        public class ResourceUsage {
 
342
                public ulong total_bytes_estimate;
 
343
                public ulong pixmap_bytes;
 
344
                public uint n_pixmaps;
 
345
                public uint n_windows;
 
346
                public uint n_gcs;
 
347
                public uint n_pictures;
 
348
                public uint n_glyphsets;
 
349
                public uint n_fonts;
 
350
                public uint n_colormap_entries;
 
351
                public uint n_passive_grabs;
 
352
                public uint n_cursors;
 
353
                public uint n_other;
 
354
        }
 
355
        public static delegate weak Gdk.Pixbuf LoadIconFunction (string icon_name, int size, uint flags, pointer data);
 
356
        public const string STOCK_DELETE;
 
357
        public const string STOCK_MAXIMIZE;
 
358
        public const string STOCK_MINIMIZE;
 
359
        public static weak Gtk.Widget create_window_action_menu (Wnck.Window window);
 
360
        public static void pid_read_resource_usage (Gdk.Display gdk_display, ulong pid, Wnck.ResourceUsage usage);
 
361
        public static void set_client_type (Wnck.ClientType ewmh_sourceindication_client_type);
 
362
        public static void xid_read_resource_usage (Gdk.Display gdk_display, ulong xid, Wnck.ResourceUsage usage);
 
363
}