codegen: Drop unnecessary comma expressions in member access
[vala-lang.git] / vapi / libwnck-1.0.vapi
blobc8e8905da2f86f6a7ef4146eac7b7f83685cf046
1 /* libwnck-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Wnck", lower_case_cprefix = "wnck_")]
4 namespace Wnck {
5         [CCode (cheader_filename = "libwnck/libwnck.h")]
6         public class ActionMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable {
7                 [CCode (type = "GtkWidget*", has_construct_function = false)]
8                 public ActionMenu (Wnck.Window window);
9                 [NoWrapper]
10                 public virtual void pad1 ();
11                 [NoWrapper]
12                 public virtual void pad2 ();
13                 [NoWrapper]
14                 public virtual void pad3 ();
15                 [NoWrapper]
16                 public virtual void pad4 ();
17                 [NoAccessorMethod]
18                 public void* window { get; construct; }
19         }
20         [CCode (cheader_filename = "libwnck/libwnck.h")]
21         public class Application : GLib.Object {
22                 [CCode (has_construct_function = false)]
23                 protected Application ();
24                 public static unowned Wnck.Application @get (ulong xwindow);
25                 public unowned Gdk.Pixbuf get_icon ();
26                 public bool get_icon_is_fallback ();
27                 public unowned string get_icon_name ();
28                 public unowned Gdk.Pixbuf get_mini_icon ();
29                 public int get_n_windows ();
30                 public unowned string get_name ();
31                 public int get_pid ();
32                 public unowned string get_startup_id ();
33                 public unowned GLib.List get_windows ();
34                 public ulong get_xid ();
35                 [NoWrapper]
36                 public virtual void pad1 ();
37                 [NoWrapper]
38                 public virtual void pad2 ();
39                 [NoWrapper]
40                 public virtual void pad3 ();
41                 [NoWrapper]
42                 public virtual void pad4 ();
43                 public virtual signal void icon_changed ();
44                 public virtual signal void name_changed ();
45         }
46         [CCode (cheader_filename = "libwnck/libwnck.h")]
47         public class ClassGroup : GLib.Object {
48                 [CCode (has_construct_function = false)]
49                 protected ClassGroup ();
50                 public static unowned Wnck.ClassGroup @get (string res_class);
51                 public unowned Gdk.Pixbuf get_icon ();
52                 public unowned Gdk.Pixbuf get_mini_icon ();
53                 public unowned string get_name ();
54                 public unowned string get_res_class ();
55                 public unowned GLib.List get_windows ();
56                 [NoWrapper]
57                 public virtual void pad1 ();
58                 [NoWrapper]
59                 public virtual void pad2 ();
60                 [NoWrapper]
61                 public virtual void pad3 ();
62                 [NoWrapper]
63                 public virtual void pad4 ();
64                 public virtual signal void icon_changed ();
65                 public virtual signal void name_changed ();
66         }
67         [CCode (cheader_filename = "libwnck/libwnck.h")]
68         public class Pager : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
69                 [CCode (type = "GtkWidget*", has_construct_function = false)]
70                 public Pager (Wnck.Screen screen);
71                 [NoWrapper]
72                 public virtual void pad1 ();
73                 [NoWrapper]
74                 public virtual void pad2 ();
75                 [NoWrapper]
76                 public virtual void pad3 ();
77                 [NoWrapper]
78                 public virtual void pad4 ();
79                 public void set_display_mode (Wnck.PagerDisplayMode mode);
80                 public bool set_n_rows (int n_rows);
81                 public bool set_orientation (Gtk.Orientation orientation);
82                 public void set_screen (Wnck.Screen screen);
83                 public void set_shadow_type (Gtk.ShadowType shadow_type);
84                 public void set_show_all (bool show_all_workspaces);
85         }
86         [Compact]
87         [CCode (cheader_filename = "libwnck/libwnck.h")]
88         public class ResourceUsage {
89                 public uint n_colormap_entries;
90                 public uint n_cursors;
91                 public uint n_fonts;
92                 public uint n_gcs;
93                 public uint n_glyphsets;
94                 public uint n_other;
95                 public uint n_passive_grabs;
96                 public uint n_pictures;
97                 public uint n_pixmaps;
98                 public uint n_windows;
99                 public uint pad1;
100                 public uint pad2;
101                 public uint pad3;
102                 public uint pad4;
103                 public uint pad5;
104                 public uint pad6;
105                 public uint pad7;
106                 public uint pad8;
107                 public uint pad9;
108                 public ulong pixmap_bytes;
109                 public ulong total_bytes_estimate;
110         }
111         [CCode (cheader_filename = "libwnck/libwnck.h")]
112         public class Screen : GLib.Object {
113                 [CCode (has_construct_function = false)]
114                 protected Screen ();
115                 public void calc_workspace_layout (int num_workspaces, int space_index, Wnck.WorkspaceLayout layout);
116                 public void change_workspace_count (int count);
117                 public void force_update ();
118                 public static void free_workspace_layout (Wnck.WorkspaceLayout layout);
119                 public static unowned Wnck.Screen @get (int index);
120                 public unowned Wnck.Window get_active_window ();
121                 public unowned Wnck.Workspace get_active_workspace ();
122                 public ulong get_background_pixmap ();
123                 public static unowned Wnck.Screen get_default ();
124                 public static unowned Wnck.Screen get_for_root (ulong root_window_id);
125                 public int get_height ();
126                 public int get_number ();
127                 public unowned Wnck.Window get_previously_active_window ();
128                 public bool get_showing_desktop ();
129                 public int get_width ();
130                 public unowned string get_window_manager_name ();
131                 public unowned GLib.List<Wnck.Window> get_windows ();
132                 public unowned GLib.List get_windows_stacked ();
133                 public unowned Wnck.Workspace get_workspace (int workspace);
134                 public int get_workspace_count ();
135                 public int get_workspace_index (Wnck.Workspace space);
136                 public unowned Wnck.Workspace get_workspace_neighbor (Wnck.Workspace space, Wnck.MotionDirection direction);
137                 public unowned GLib.List<Wnck.Workspace> get_workspaces ();
138                 public void move_viewport (int x, int y);
139                 public bool net_wm_supports (string atom);
140                 [NoWrapper]
141                 public virtual void pad2 ();
142                 [NoWrapper]
143                 public virtual void pad3 ();
144                 [NoWrapper]
145                 public virtual void pad4 ();
146                 [NoWrapper]
147                 public virtual void pad5 ();
148                 [NoWrapper]
149                 public virtual void pad6 ();
150                 public void release_workspace_layout (int current_token);
151                 public void toggle_showing_desktop (bool show);
152                 public int try_set_workspace_layout (int current_token, int rows, int columns);
153                 public virtual signal void active_window_changed (Wnck.Window? previous_window);
154                 public virtual signal void active_workspace_changed (Wnck.Workspace? previous_workspace);
155                 public virtual signal void application_closed (Wnck.Application app);
156                 public virtual signal void application_opened (Wnck.Application app);
157                 public virtual signal void background_changed ();
158                 public virtual signal void class_group_closed (Wnck.ClassGroup class_group);
159                 public virtual signal void class_group_opened (Wnck.ClassGroup class_group);
160                 public virtual signal void showing_desktop_changed ();
161                 public virtual signal void viewports_changed ();
162                 public virtual signal void window_closed (Wnck.Window window);
163                 public virtual signal void window_manager_changed ();
164                 public virtual signal void window_opened (Wnck.Window window);
165                 public virtual signal void window_stacking_changed ();
166                 public virtual signal void workspace_created (Wnck.Workspace space);
167                 public virtual signal void workspace_destroyed (Wnck.Workspace space);
168         }
169         [CCode (cheader_filename = "libwnck/libwnck.h")]
170         public class Selector : Gtk.MenuBar, Atk.Implementor, Gtk.Buildable {
171                 [CCode (type = "GtkWidget*", has_construct_function = false)]
172                 public Selector ();
173                 [NoWrapper]
174                 public virtual void pad1 ();
175                 [NoWrapper]
176                 public virtual void pad2 ();
177                 [NoWrapper]
178                 public virtual void pad3 ();
179                 [NoWrapper]
180                 public virtual void pad4 ();
181         }
182         [CCode (cheader_filename = "libwnck/libwnck.h")]
183         public class Tasklist : Gtk.Container, Atk.Implementor, Gtk.Buildable {
184                 [CCode (type = "GtkWidget*", has_construct_function = false)]
185                 public Tasklist (Wnck.Screen screen);
186                 public int get_minimum_height ();
187                 public int get_minimum_width ();
188                 public int get_size_hint_list (int n_elements);
189                 [NoWrapper]
190                 public virtual void pad1 ();
191                 [NoWrapper]
192                 public virtual void pad2 ();
193                 [NoWrapper]
194                 public virtual void pad3 ();
195                 [NoWrapper]
196                 public virtual void pad4 ();
197                 public void set_button_relief (Gtk.ReliefStyle relief);
198                 public void set_grouping (Wnck.TasklistGroupingType grouping);
199                 public void set_grouping_limit (int limit);
200                 public void set_icon_loader (Wnck.LoadIconFunction load_icon_func, void* data, GLib.DestroyNotify free_data_func);
201                 public void set_include_all_workspaces (bool include_all_workspaces);
202                 public void set_minimum_height (int size);
203                 public void set_minimum_width (int size);
204                 public void set_orientation (Gtk.Orientation orient);
205                 public void set_screen (Wnck.Screen screen);
206                 public void set_switch_workspace_on_unminimize (bool switch_workspace_on_unminimize);
207         }
208         [CCode (cheader_filename = "libwnck/libwnck.h")]
209         public class Window : GLib.Object {
210                 [CCode (has_construct_function = false)]
211                 protected Window ();
212                 public void activate (uint32 timestamp);
213                 public void activate_transient (uint32 timestamp);
214                 public void close (uint32 timestamp);
215                 public static unowned Wnck.Window @get (ulong xwindow);
216                 public Wnck.WindowActions get_actions ();
217                 public unowned Wnck.Application get_application ();
218                 public unowned Wnck.ClassGroup get_class_group ();
219                 public void get_client_window_geometry (int xp, int yp, int widthp, int heightp);
220                 public void get_geometry (out int xp, out int yp, out int widthp, out int heightp);
221                 public ulong get_group_leader ();
222                 public unowned Gdk.Pixbuf get_icon ();
223                 public bool get_icon_is_fallback ();
224                 public unowned string get_icon_name ();
225                 public unowned Gdk.Pixbuf get_mini_icon ();
226                 public unowned string get_name ();
227                 public int get_pid ();
228                 public unowned Wnck.Screen get_screen ();
229                 public unowned string get_session_id ();
230                 public unowned string get_session_id_utf8 ();
231                 public int get_sort_order ();
232                 public Wnck.WindowState get_state ();
233                 public unowned Wnck.Window get_transient ();
234                 public Wnck.WindowType get_window_type ();
235                 public unowned Wnck.Workspace get_workspace ();
236                 public ulong get_xid ();
237                 public bool has_icon_name ();
238                 public bool has_name ();
239                 public bool is_above ();
240                 public bool is_active ();
241                 public bool is_below ();
242                 public bool is_fullscreen ();
243                 public bool is_in_viewport (Wnck.Workspace workspace);
244                 public bool is_maximized ();
245                 public bool is_maximized_horizontally ();
246                 public bool is_maximized_vertically ();
247                 public bool is_minimized ();
248                 public bool is_most_recently_activated ();
249                 public bool is_on_workspace (Wnck.Workspace workspace);
250                 public bool is_pinned ();
251                 public bool is_shaded ();
252                 public bool is_skip_pager ();
253                 public bool is_skip_tasklist ();
254                 public bool is_sticky ();
255                 public bool is_visible_on_workspace (Wnck.Workspace workspace);
256                 public void keyboard_move ();
257                 public void keyboard_size ();
258                 public void make_above ();
259                 public void make_below ();
260                 public void maximize ();
261                 public void maximize_horizontally ();
262                 public void maximize_vertically ();
263                 public void minimize ();
264                 public void move_to_workspace (Wnck.Workspace space);
265                 public bool needs_attention ();
266                 public bool or_transient_needs_attention ();
267                 [NoWrapper]
268                 public virtual void pad1 ();
269                 [NoWrapper]
270                 public virtual void pad2 ();
271                 [NoWrapper]
272                 public virtual void pad3 ();
273                 [NoWrapper]
274                 public virtual void pad4 ();
275                 public void pin ();
276                 public void set_fullscreen (bool fullscreen);
277                 public void set_geometry (Wnck.WindowGravity gravity, Wnck.WindowMoveResizeMask geometry_mask, int x, int y, int width, int height);
278                 public void set_icon_geometry (int x, int y, int width, int height);
279                 public void set_skip_pager (bool skip);
280                 public void set_skip_tasklist (bool skip);
281                 public void set_sort_order (int order);
282                 public void set_window_type (Wnck.WindowType wintype);
283                 public void shade ();
284                 public void stick ();
285                 public bool transient_is_most_recently_activated ();
286                 public void unmake_above ();
287                 public void unmake_below ();
288                 public void unmaximize ();
289                 public void unmaximize_horizontally ();
290                 public void unmaximize_vertically ();
291                 public void unminimize (uint32 timestamp);
292                 public void unpin ();
293                 public void unshade ();
294                 public void unstick ();
295                 public virtual signal void actions_changed (Wnck.WindowActions changed_mask, Wnck.WindowActions new_actions);
296                 public virtual signal void geometry_changed ();
297                 public virtual signal void icon_changed ();
298                 public virtual signal void name_changed ();
299                 public virtual signal void state_changed (Wnck.WindowState changed_mask, Wnck.WindowState new_state);
300                 public virtual signal void workspace_changed ();
301         }
302         [CCode (cheader_filename = "libwnck/libwnck.h")]
303         public class Workspace : GLib.Object {
304                 [CCode (has_construct_function = false)]
305                 protected Workspace ();
306                 public void activate (uint32 timestamp);
307                 public void change_name (string name);
308                 public int get_height ();
309                 public int get_layout_column ();
310                 public int get_layout_row ();
311                 public unowned string get_name ();
312                 public unowned Wnck.Workspace get_neighbor (Wnck.MotionDirection direction);
313                 public int get_number ();
314                 public unowned Wnck.Screen get_screen ();
315                 public int get_viewport_x ();
316                 public int get_viewport_y ();
317                 public int get_width ();
318                 public bool is_virtual ();
319                 [NoWrapper]
320                 public virtual void pad1 ();
321                 [NoWrapper]
322                 public virtual void pad2 ();
323                 [NoWrapper]
324                 public virtual void pad3 ();
325                 [NoWrapper]
326                 public virtual void pad4 ();
327                 public virtual signal void name_changed ();
328         }
329         [Compact]
330         [CCode (cheader_filename = "libwnck/libwnck.h")]
331         public class WorkspaceLayout {
332                 public int cols;
333                 public int current_col;
334                 public int current_row;
335                 public int grid;
336                 public int grid_area;
337                 public int rows;
338         }
339         [CCode (cprefix = "WNCK_CLIENT_TYPE_", cheader_filename = "libwnck/libwnck.h")]
340         public enum ClientType {
341                 APPLICATION,
342                 PAGER
343         }
344         [CCode (cprefix = "WNCK_MOTION_", cheader_filename = "libwnck/libwnck.h")]
345         public enum MotionDirection {
346                 UP,
347                 DOWN,
348                 LEFT,
349                 RIGHT
350         }
351         [CCode (cprefix = "WNCK_PAGER_DISPLAY_", cheader_filename = "libwnck/libwnck.h")]
352         public enum PagerDisplayMode {
353                 NAME,
354                 CONTENT
355         }
356         [CCode (cprefix = "WNCK_TASKLIST_", cheader_filename = "libwnck/libwnck.h")]
357         public enum TasklistGroupingType {
358                 NEVER_GROUP,
359                 AUTO_GROUP,
360                 ALWAYS_GROUP
361         }
362         [CCode (cprefix = "WNCK_WINDOW_ACTION_", cheader_filename = "libwnck/libwnck.h")]
363         [Flags]
364         public enum WindowActions {
365                 MOVE,
366                 RESIZE,
367                 SHADE,
368                 STICK,
369                 MAXIMIZE_HORIZONTALLY,
370                 MAXIMIZE_VERTICALLY,
371                 CHANGE_WORKSPACE,
372                 CLOSE,
373                 UNMAXIMIZE_HORIZONTALLY,
374                 UNMAXIMIZE_VERTICALLY,
375                 UNSHADE,
376                 UNSTICK,
377                 MINIMIZE,
378                 UNMINIMIZE,
379                 MAXIMIZE,
380                 UNMAXIMIZE,
381                 FULLSCREEN,
382                 ABOVE,
383                 BELOW
384         }
385         [CCode (cprefix = "WNCK_WINDOW_GRAVITY_", cheader_filename = "libwnck/libwnck.h")]
386         public enum WindowGravity {
387                 CURRENT,
388                 NORTHWEST,
389                 NORTH,
390                 NORTHEAST,
391                 WEST,
392                 CENTER,
393                 EAST,
394                 SOUTHWEST,
395                 SOUTH,
396                 SOUTHEAST,
397                 STATIC
398         }
399         [CCode (cprefix = "WNCK_WINDOW_CHANGE_", cheader_filename = "libwnck/libwnck.h")]
400         [Flags]
401         public enum WindowMoveResizeMask {
402                 X,
403                 Y,
404                 WIDTH,
405                 HEIGHT
406         }
407         [CCode (cprefix = "WNCK_WINDOW_STATE_", cheader_filename = "libwnck/libwnck.h")]
408         [Flags]
409         public enum WindowState {
410                 MINIMIZED,
411                 MAXIMIZED_HORIZONTALLY,
412                 MAXIMIZED_VERTICALLY,
413                 SHADED,
414                 SKIP_PAGER,
415                 SKIP_TASKLIST,
416                 STICKY,
417                 HIDDEN,
418                 FULLSCREEN,
419                 DEMANDS_ATTENTION,
420                 URGENT,
421                 ABOVE,
422                 BELOW
423         }
424         [CCode (cprefix = "WNCK_WINDOW_", cheader_filename = "libwnck/libwnck.h")]
425         public enum WindowType {
426                 NORMAL,
427                 DESKTOP,
428                 DOCK,
429                 DIALOG,
430                 TOOLBAR,
431                 MENU,
432                 UTILITY,
433                 SPLASHSCREEN
434         }
435         [CCode (cheader_filename = "libwnck/libwnck.h")]
436         public delegate unowned Gdk.Pixbuf LoadIconFunction (string icon_name, int size, uint flags);
437         [CCode (cheader_filename = "libwnck/libwnck.h")]
438         public static unowned Gtk.Widget create_window_action_menu (Wnck.Window window);
439         [CCode (cheader_filename = "libwnck/libwnck.h")]
440         public static void gtk_window_set_dock_type (Gtk.Window window);
441         [CCode (cheader_filename = "libwnck/libwnck.h")]
442         public static void pid_read_resource_usage (Gdk.Display gdk_display, ulong pid, Wnck.ResourceUsage usage);
443         [CCode (cheader_filename = "libwnck/libwnck.h")]
444         public static void set_client_type (Wnck.ClientType ewmh_sourceindication_client_type);
445         [CCode (cheader_filename = "libwnck/libwnck.h")]
446         public static void xid_read_resource_usage (Gdk.Display gdk_display, ulong xid, Wnck.ResourceUsage usage);