1
/* libwnck-1.0.vapi generated by lt-vapigen, do not modify. */
3
[CCode (cprefix = "Wnck", lower_case_cprefix = "wnck_")]
5
[CCode (cprefix = "WNCK_CLIENT_TYPE_", cheader_filename = "libwnck/libwnck.h")]
6
public enum ClientType {
10
[CCode (cprefix = "WNCK_MOTION_", cheader_filename = "libwnck/libwnck.h")]
11
public enum MotionDirection {
17
[CCode (cprefix = "WNCK_PAGER_DISPLAY_", cheader_filename = "libwnck/libwnck.h")]
18
public enum PagerDisplayMode {
22
[CCode (cprefix = "WNCK_TASKLIST_", cheader_filename = "libwnck/libwnck.h")]
23
public enum TasklistGroupingType {
28
[CCode (cprefix = "WNCK_WINDOW_ACTION_", cheader_filename = "libwnck/libwnck.h")]
29
public enum WindowActions {
34
MAXIMIZE_HORIZONTALLY,
38
UNMAXIMIZE_HORIZONTALLY,
39
UNMAXIMIZE_VERTICALLY,
50
[CCode (cprefix = "WNCK_WINDOW_GRAVITY_", cheader_filename = "libwnck/libwnck.h")]
51
public enum WindowGravity {
64
[CCode (cprefix = "WNCK_WINDOW_CHANGE_", cheader_filename = "libwnck/libwnck.h")]
65
public enum WindowMoveResizeMask {
71
[CCode (cprefix = "WNCK_WINDOW_STATE_", cheader_filename = "libwnck/libwnck.h")]
72
public enum WindowState {
74
MAXIMIZED_HORIZONTALLY,
87
[CCode (cprefix = "WNCK_WINDOW_", cheader_filename = "libwnck/libwnck.h")]
88
public enum WindowType {
98
[CCode (cprefix = "WNCK_LAYOUT_CORNER_", cheader_filename = "libwnck/libwnck.h")]
99
public enum _WnckLayoutCorner {
105
[CCode (cprefix = "WNCK_LAYOUT_ORIENTATION_", cheader_filename = "libwnck/libwnck.h")]
106
public enum _WnckLayoutOrientation {
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);
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 ();
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 ();
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);
154
[CCode (cheader_filename = "libwnck/libwnck.h")]
155
public class pagerAccessibleFactory : GLib.Object {
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 ();
200
[CCode (cheader_filename = "libwnck/libwnck.h")]
201
public class Selector : Gtk.MenuBar {
202
public static GLib.Type get_type ();
205
[CCode (cheader_filename = "libwnck/libwnck.h")]
206
public class Tasklist : Gtk.Container {
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);
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 ();
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 ();
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 ();
321
[CCode (cheader_filename = "libwnck/libwnck.h")]
322
public class WorkspaceAccessibleFactory : Atk.ObjectFactory {
323
public static GLib.Type get_type ();
324
public WorkspaceAccessibleFactory ();
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);
331
[CCode (cheader_filename = "libwnck/libwnck.h")]
332
public class IconCache {
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 ();
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;
347
public uint n_pictures;
348
public uint n_glyphsets;
350
public uint n_colormap_entries;
351
public uint n_passive_grabs;
352
public uint n_cursors;
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);