Ardour  9.0-pre0-384-ga76afae0e9
gdkwindow.h
Go to the documentation of this file.
1 /* GDK - The GIMP Drawing Kit
2  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19 
20 /*
21  * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
22  * file for a list of people on the GTK+ Team. See the ChangeLog
23  * files for a list of changes. These files are distributed with
24  * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
25  */
26 
27 #ifndef __GDK_WINDOW_H__
28 #define __GDK_WINDOW_H__
29 
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
31 #error "Only <gdk/gdk.h> can be included directly."
32 #endif
33 
34 #include <gdk/gdkdrawable.h>
35 #include <gdk/gdktypes.h>
36 #include <gdk/gdkevents.h>
37 
38 G_BEGIN_DECLS
39 
40 typedef struct _GdkGeometry GdkGeometry;
41 typedef struct _GdkWindowAttr GdkWindowAttr;
42 typedef struct _GdkPointerHooks GdkPointerHooks;
44 
45 /* Classes of windows.
46  * InputOutput: Almost every window should be of this type. Such windows
47  * receive events and are also displayed on screen.
48  * InputOnly: Used only in special circumstances when events need to be
49  * stolen from another window or windows. Input only windows
50  * have no visible output, so they are handy for placing over
51  * top of a group of windows in order to grab the events (or
52  * filter the events) from those windows.
53  */
54 typedef enum
55 {
59 
60 /* Types of windows.
61  * Root: There is only 1 root window and it is initialized
62  * at startup. Creating a window of type GDK_WINDOW_ROOT
63  * is an error.
64  * Toplevel: Windows which interact with the window manager.
65  * Child: Windows which are children of some other type of window.
66  * (Any other type of window). Most windows are child windows.
67  * Dialog: A special kind of toplevel window which interacts with
68  * the window manager slightly differently than a regular
69  * toplevel window. Dialog windows should be used for any
70  * transient window.
71  * Foreign: A window that actually belongs to another application
72  */
73 typedef enum
74 {
83 
84 /* Window attribute mask values.
85  * GDK_WA_TITLE: The "title" field is valid.
86  * GDK_WA_X: The "x" field is valid.
87  * GDK_WA_Y: The "y" field is valid.
88  * GDK_WA_CURSOR: The "cursor" field is valid.
89  * GDK_WA_COLORMAP: The "colormap" field is valid.
90  * GDK_WA_VISUAL: The "visual" field is valid.
91  */
92 typedef enum
93 {
94  GDK_WA_TITLE = 1 << 1,
95  GDK_WA_X = 1 << 2,
96  GDK_WA_Y = 1 << 3,
97  GDK_WA_CURSOR = 1 << 4,
98  GDK_WA_COLORMAP = 1 << 5,
99  GDK_WA_VISUAL = 1 << 6,
100  GDK_WA_WMCLASS = 1 << 7,
101  GDK_WA_NOREDIR = 1 << 8,
102  GDK_WA_TYPE_HINT = 1 << 9
104 
105 /* Size restriction enumeration.
106  */
107 typedef enum
108 {
109  GDK_HINT_POS = 1 << 0,
113  GDK_HINT_ASPECT = 1 << 4,
117  GDK_HINT_USER_SIZE = 1 << 8
119 
120 
121 /* Window type hints.
122  * These are hints for the window manager that indicate
123  * what type of function the window has. The window manager
124  * can use this when determining decoration and behaviour
125  * of the window. The hint must be set before mapping the
126  * window.
127  *
128  * Normal: Normal toplevel window
129  * Dialog: Dialog window
130  * Menu: Window used to implement a menu.
131  * Toolbar: Window used to implement toolbars.
132  */
133 typedef enum
134 {
137  GDK_WINDOW_TYPE_HINT_MENU, /* Torn off menu */
143  GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU, /* A drop down menu (from a menubar) */
144  GDK_WINDOW_TYPE_HINT_POPUP_MENU, /* A popup menu (from right-click) */
150 
151 /* The next two enumeration values current match the
152  * Motif constants. If this is changed, the implementation
153  * of gdk_window_set_decorations/gdk_window_set_functions
154  * will need to change as well.
155  */
156 typedef enum
157 {
158  GDK_DECOR_ALL = 1 << 0,
161  GDK_DECOR_TITLE = 1 << 3,
162  GDK_DECOR_MENU = 1 << 4,
164  GDK_DECOR_MAXIMIZE = 1 << 6
166 
167 typedef enum
168 {
169  GDK_FUNC_ALL = 1 << 0,
170  GDK_FUNC_RESIZE = 1 << 1,
171  GDK_FUNC_MOVE = 1 << 2,
174  GDK_FUNC_CLOSE = 1 << 5
176 
177 /* Currently, these are the same values numerically as in the
178  * X protocol. If you change that, gdkwindow-x11.c/gdk_window_set_geometry_hints()
179  * will need fixing.
180  */
181 typedef enum
182 {
194 
195 
196 typedef enum
197 {
207 
209 {
210  gchar *title;
212  gint x, y;
213  gint width;
214  gint height;
220  gchar *wmclass_name;
224 };
225 
227 {
228  gint min_width;
230  gint max_width;
234  gint width_inc;
236  gdouble min_aspect;
237  gdouble max_aspect;
239 };
240 
242 {
243  GdkWindow* (*get_pointer) (GdkWindow *window,
244  gint *x,
245  gint *y,
246  GdkModifierType *mask);
247  GdkWindow* (*window_at_pointer) (GdkScreen *screen, /* unused */
248  gint *win_x,
249  gint *win_y);
250 };
251 
252 typedef struct _GdkWindowObject GdkWindowObject;
254 
255 #define GDK_TYPE_WINDOW (gdk_window_object_get_type ())
256 #define GDK_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WINDOW, GdkWindow))
257 #define GDK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WINDOW, GdkWindowObjectClass))
258 #define GDK_IS_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WINDOW))
259 #define GDK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WINDOW))
260 #define GDK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WINDOW, GdkWindowObjectClass))
261 
262 #ifndef GDK_DISABLE_DEPRECATED
263 #define GDK_WINDOW_OBJECT(object) ((GdkWindowObject *) GDK_WINDOW (object))
264 
265 #ifndef GDK_COMPILATION
266 
267 /* We used to export all of GdkWindowObject, but we don't want to keep doing so.
268  However, there are various parts of it accessed by macros and other code,
269  so we keep the old exported version public, but in reality it is larger. */
270 
271 /**** DON'T CHANGE THIS STRUCT, the real version is in gdkinternals.h ****/
272 struct _GdkWindowObject
273 {
275 
276  GdkDrawable *GSEAL (impl); /* window-system-specific delegate object */
277 
279 
280  gpointer GSEAL (user_data);
281 
282  gint GSEAL (x);
283  gint GSEAL (y);
284 
286 
287  GList *GSEAL (filters);
288  GList *GSEAL (children);
289 
292 
293  GSList *GSEAL (paint_stack);
294 
297 
298  guint8 GSEAL (window_type);
299  guint8 GSEAL (depth);
300  guint8 GSEAL (resize_count);
301 
303 
304  guint GSEAL (guffaw_gravity) : 1;
305  guint GSEAL (input_only) : 1;
306  guint GSEAL (modal_hint) : 1;
307  guint GSEAL (composited) : 1;
308 
309  guint GSEAL (destroyed) : 2;
310 
311  guint GSEAL (accept_focus) : 1;
312  guint GSEAL (focus_on_map) : 1;
313  guint GSEAL (shaped) : 1;
314 
316 
318 
320 };
321 #endif
322 #endif
323 
325 {
327 };
328 
329 /* Windows
330  */
331 GType gdk_window_object_get_type (void) G_GNUC_CONST;
333  GdkWindowAttr *attributes,
334  gint attributes_mask);
338 
344 
346  gint *win_y);
347 void gdk_window_show (GdkWindow *window);
348 void gdk_window_hide (GdkWindow *window);
352  gint x,
353  gint y);
355  gint width,
356  gint height);
358  gint x,
359  gint y,
360  gint width,
361  gint height);
363  GdkWindow *new_parent,
364  gint x,
365  gint y);
368  gint x,
369  gint y,
370  gint width,
371  gint height);
373  gint x,
374  gint y,
375  gint width,
376  gint height);
380  GdkWindow *sibling,
381  gboolean above);
383  guint32 timestamp);
385  gpointer user_data);
387  gboolean override_redirect);
390  gboolean accept_focus);
393  gboolean focus_on_map);
395  GdkFilterFunc function,
396  gpointer data);
398  GdkFilterFunc function,
399  gpointer data);
401  gint dx,
402  gint dy);
404  const GdkRegion *region,
405  gint dx,
406  gint dy);
408 
409 /*
410  * This allows for making shaped (partially transparent) windows
411  * - cool feature, needed for Drag and Drag for example.
412  * The shape_mask can be the mask
413  * from gdk_pixmap_create_from_xpm. Stefan Wille
414  */
416  GdkBitmap *mask,
417  gint x,
418  gint y);
420  const GdkRegion *shape_region,
421  gint offset_x,
422  gint offset_y);
423 
424 /*
425  * This routine allows you to quickly take the shapes of all the child windows
426  * of a window and use their shapes as the shape mask for this window - useful
427  * for container windows that dont want to look like a big box
428  *
429  * - Raster
430  */
432 
435  gboolean composited);
436 
437 /*
438  * This routine allows you to merge (ie ADD) child shapes to your
439  * own window's shape keeping its current shape and ADDING the child
440  * shapes to it.
441  *
442  * - Raster
443  */
445 
447  GdkBitmap *mask,
448  gint x,
449  gint y);
451  const GdkRegion *shape_region,
452  gint offset_x,
453  gint offset_y);
456 
457 
458 /*
459  * Check if a window has been shown, and whether all its
460  * parents up to a toplevel have been shown, respectively.
461  * Note that a window that is_viewable below is not necessarily
462  * viewable in the X sense.
463  */
464 gboolean gdk_window_is_visible (GdkWindow *window);
467 gboolean gdk_window_is_shaped (GdkWindow *window);
468 
470 
471 /* Set static bit gravity on the parent, and static
472  * window gravity on all children.
473  */
475  gboolean use_static);
476 
477 /* Functions to create/lookup windows from their native equivalents */
478 #if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION)
479 #ifndef GDK_MULTIHEAD_SAFE
482 #endif
484  GdkNativeWindow anid);
486  GdkNativeWindow anid);
487 #endif
488 
489 
490 /* GdkWindow */
491 
492 gboolean gdk_window_has_native (GdkWindow *window);
493 #ifndef GDK_DISABLE_DEPRECATED
495  gint x,
496  gint y,
497  gint min_width,
498  gint min_height,
499  gint max_width,
500  gint max_height,
501  gint flags);
502 #endif
504  GdkWindowTypeHint hint);
506 
509  gboolean modal);
510 
511 typedef void (*GdkWindowModalNotify)(GdkWindow*,gboolean);
513 
515  gboolean skips_taskbar);
517  gboolean skips_pager);
519  gboolean urgent);
520 
522  const GdkGeometry *geometry,
523  GdkWindowHints geom_mask);
524 #if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION)
525 void gdk_set_sm_client_id (const gchar *sm_client_id);
526 #endif
527 
529  const GdkRectangle *rectangle);
531  const GdkRegion *region);
534 
536  const gchar *title);
538  const gchar *role);
540  const gchar *startup_id);
542  GdkWindow *parent);
544  const GdkColor *color);
546  GdkPixmap *pixmap,
547  gboolean parent_relative);
548 cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
549 
551  GdkCursor *cursor);
554  gpointer *data);
556  gint *x,
557  gint *y,
558  gint *width,
559  gint *height,
560  gint *depth);
562  gint *x,
563  gint *y);
565  gint *x,
566  gint *y);
568  gint x,
569  gint y,
570  gint *root_x,
571  gint *root_y);
573  gdouble x,
574  gdouble y,
575  gdouble *parent_x,
576  gdouble *parent_y);
578  gdouble parent_x,
579  gdouble parent_y,
580  gdouble *x,
581  gdouble *y);
582 
583 #if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
584 /* Used by gtk_handle_box_button_changed () */
586  gint *x,
587  gint *y);
588 #endif
589 
591  gint *x,
592  gint *y);
594  GdkRectangle *rect);
596  gint *x,
597  gint *y,
598  GdkModifierType *mask);
601 
604 
609  GdkEventMask event_mask);
610 
612  GList *pixbufs);
614  GdkWindow *icon_window,
615  GdkPixmap *pixmap,
616  GdkBitmap *mask);
618  const gchar *name);
620  GdkWindow *leader);
623  GdkWMDecoration decorations);
625  GdkWMDecoration *decorations);
627  GdkWMFunction functions);
628 #if !defined(GDK_MULTIHEAD_SAFE) && !defined(GDK_DISABLE_DEPRECATED)
630 #endif
631 
632 cairo_surface_t *
634  cairo_content_t content,
635  int width,
636  int height);
637 
638 void gdk_window_beep (GdkWindow *window);
648  gboolean setting);
650  gboolean setting);
652  gdouble opacity);
654 
656  GdkWindowEdge edge,
657  gint button,
658  gint root_x,
659  gint root_y,
660  guint32 timestamp);
662  gint button,
663  gint root_x,
664  gint root_y,
665  guint32 timestamp);
666 
667 /* Interface for dirty-region queueing */
669  const GdkRectangle *rect,
670  gboolean invalidate_children);
672  const GdkRegion *region,
673  gboolean invalidate_children);
675  const GdkRegion *region,
676  gboolean (*child_func) (GdkWindow *, gpointer),
677  gpointer user_data);
679 
682 
685 
688  gboolean update_children);
689 
690 /* Enable/disable flicker, so you can tell if your code is inefficient. */
691 void gdk_window_set_debug_updates (gboolean setting);
692 
694  guint flags,
695  gint width,
696  gint height,
697  gint *new_width,
698  gint *new_height);
699 
701  GdkDrawable **real_drawable,
702  gint *x_offset,
703  gint *y_offset);
704 
707 
709 
710 /* Offscreen redirection */
713  GdkWindow *embedder);
716 
718  GdkDrawable *drawable,
719  gint src_x,
720  gint src_y,
721  gint dest_x,
722  gint dest_y,
723  gint width,
724  gint height);
726 
727 #ifndef GDK_DISABLE_DEPRECATED
728 #ifndef GDK_MULTIHEAD_SAFE
730 #endif /* GDK_MULTIHEAD_SAFE */
731 
732 #define GDK_ROOT_PARENT() (gdk_get_default_root_window ())
733 #define gdk_window_get_size gdk_drawable_get_size
734 #define gdk_window_get_type gdk_window_get_window_type
735 #define gdk_window_get_colormap gdk_drawable_get_colormap
736 #define gdk_window_set_colormap gdk_drawable_set_colormap
737 #define gdk_window_ref g_object_ref
738 #define gdk_window_unref g_object_unref
739 
740 #define gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) \
741  gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)
742 #endif /* GDK_DISABLE_DEPRECATED */
743 
744 G_END_DECLS
745 
746 #endif /* __GDK_WINDOW_H__ */
typedefG_BEGIN_DECLS struct _GdkDrawableClass GdkDrawableClass
Definition: gdkdrawable.h:43
GdkEventMask
Definition: gdkevents.h:166
GdkFilterReturn(* GdkFilterFunc)(GdkXEvent *xevent, GdkEvent *event, gpointer data)
Definition: gdkevents.h:88
GdkWindowState
Definition: gdkevents.h:249
guint32 GdkNativeWindow
Definition: gdktypes.h:97
GdkModifierType
Definition: gdktypes.h:127
void gdk_window_freeze_toplevel_updates_libgtk_only(GdkWindow *window)
void gdk_window_set_group(GdkWindow *window, GdkWindow *leader)
void gdk_window_remove_redirection(GdkWindow *window)
void gdk_window_restack(GdkWindow *window, GdkWindow *sibling, gboolean above)
void gdk_window_set_hints(GdkWindow *window, gint x, gint y, gint min_width, gint min_height, gint max_width, gint max_height, gint flags)
void gdk_window_set_child_input_shapes(GdkWindow *window)
void gdk_window_set_functions(GdkWindow *window, GdkWMFunction functions)
void gdk_window_move_region(GdkWindow *window, const GdkRegion *region, gint dx, gint dy)
void gdk_window_set_skip_pager_hint(GdkWindow *window, gboolean skips_pager)
void gdk_window_show_unraised(GdkWindow *window)
void gdk_window_set_composited(GdkWindow *window, gboolean composited)
void gdk_window_set_focus_on_map(GdkWindow *window, gboolean focus_on_map)
GdkRegion * gdk_window_get_update_area(GdkWindow *window)
void gdk_window_get_root_coords(GdkWindow *window, gint x, gint y, gint *root_x, gint *root_y)
GdkWindowTypeHint gdk_window_get_type_hint(GdkWindow *window)
void gdk_window_show(GdkWindow *window)
void gdk_window_get_root_origin(GdkWindow *window, gint *x, gint *y)
void gdk_window_add_filter(GdkWindow *window, GdkFilterFunc function, gpointer data)
void gdk_window_set_type_hint(GdkWindow *window, GdkWindowTypeHint hint)
void gdk_set_sm_client_id(const gchar *sm_client_id)
GList * gdk_window_get_toplevels(void)
cairo_surface_t * gdk_window_create_similar_surface(GdkWindow *window, cairo_content_t content, int width, int height)
gint gdk_window_get_origin(GdkWindow *window, gint *x, gint *y)
void gdk_window_set_cursor(GdkWindow *window, GdkCursor *cursor)
void gdk_window_remove_filter(GdkWindow *window, GdkFilterFunc function, gpointer data)
void gdk_window_set_decorations(GdkWindow *window, GdkWMDecoration decorations)
void gdk_window_set_override_redirect(GdkWindow *window, gboolean override_redirect)
void gdk_window_coords_to_parent(GdkWindow *window, gdouble x, gdouble y, gdouble *parent_x, gdouble *parent_y)
void gdk_window_unmaximize(GdkWindow *window)
void gdk_window_resize(GdkWindow *window, gint width, gint height)
GdkWMDecoration
Definition: gdkwindow.h:157
@ GDK_DECOR_MENU
Definition: gdkwindow.h:162
@ GDK_DECOR_MINIMIZE
Definition: gdkwindow.h:163
@ GDK_DECOR_BORDER
Definition: gdkwindow.h:159
@ GDK_DECOR_ALL
Definition: gdkwindow.h:158
@ GDK_DECOR_TITLE
Definition: gdkwindow.h:161
@ GDK_DECOR_MAXIMIZE
Definition: gdkwindow.h:164
@ GDK_DECOR_RESIZEH
Definition: gdkwindow.h:160
gboolean gdk_window_is_input_only(GdkWindow *window)
gboolean gdk_window_is_viewable(GdkWindow *window)
void gdk_window_beep(GdkWindow *window)
GdkWindowHints
Definition: gdkwindow.h:108
@ GDK_HINT_USER_POS
Definition: gdkwindow.h:116
@ GDK_HINT_ASPECT
Definition: gdkwindow.h:113
@ GDK_HINT_WIN_GRAVITY
Definition: gdkwindow.h:115
@ GDK_HINT_RESIZE_INC
Definition: gdkwindow.h:114
@ GDK_HINT_MIN_SIZE
Definition: gdkwindow.h:110
@ GDK_HINT_USER_SIZE
Definition: gdkwindow.h:117
@ GDK_HINT_MAX_SIZE
Definition: gdkwindow.h:111
@ GDK_HINT_BASE_SIZE
Definition: gdkwindow.h:112
@ GDK_HINT_POS
Definition: gdkwindow.h:109
void gdk_window_merge_child_shapes(GdkWindow *window)
GdkWindowTypeHint
Definition: gdkwindow.h:134
@ GDK_WINDOW_TYPE_HINT_DND
Definition: gdkwindow.h:148
@ GDK_WINDOW_TYPE_HINT_TOOLBAR
Definition: gdkwindow.h:138
@ GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU
Definition: gdkwindow.h:143
@ GDK_WINDOW_TYPE_HINT_NOTIFICATION
Definition: gdkwindow.h:146
@ GDK_WINDOW_TYPE_HINT_DESKTOP
Definition: gdkwindow.h:142
@ GDK_WINDOW_TYPE_HINT_COMBO
Definition: gdkwindow.h:147
@ GDK_WINDOW_TYPE_HINT_UTILITY
Definition: gdkwindow.h:140
@ GDK_WINDOW_TYPE_HINT_NORMAL
Definition: gdkwindow.h:135
@ GDK_WINDOW_TYPE_HINT_DOCK
Definition: gdkwindow.h:141
@ GDK_WINDOW_TYPE_HINT_MENU
Definition: gdkwindow.h:137
@ GDK_WINDOW_TYPE_HINT_DIALOG
Definition: gdkwindow.h:136
@ GDK_WINDOW_TYPE_HINT_POPUP_MENU
Definition: gdkwindow.h:144
@ GDK_WINDOW_TYPE_HINT_TOOLTIP
Definition: gdkwindow.h:145
@ GDK_WINDOW_TYPE_HINT_SPLASHSCREEN
Definition: gdkwindow.h:139
typedefG_BEGIN_DECLS struct _GdkGeometry GdkGeometry
Definition: gdkwindow.h:40
GdkWindow * gdk_window_lookup(GdkNativeWindow anid)
GdkWindow * gdk_window_get_parent(GdkWindow *window)
void gdk_window_hide(GdkWindow *window)
gboolean gdk_window_has_native(GdkWindow *window)
void gdk_window_input_shape_combine_region(GdkWindow *window, const GdkRegion *shape_region, gint offset_x, gint offset_y)
GdkWindowType gdk_window_get_window_type(GdkWindow *window)
void gdk_window_set_child_shapes(GdkWindow *window)
void gdk_window_begin_move_drag(GdkWindow *window, gint button, gint root_x, gint root_y, guint32 timestamp)
void gdk_window_get_position(GdkWindow *window, gint *x, gint *y)
void gdk_window_fullscreen(GdkWindow *window)
void gdk_window_freeze_updates(GdkWindow *window)
GdkWindow * gdk_window_foreign_new(GdkNativeWindow anid)
void gdk_window_process_all_updates(void)
void gdk_window_set_urgency_hint(GdkWindow *window, gboolean urgent)
GdkWindow * gdk_window_foreign_new_for_display(GdkDisplay *display, GdkNativeWindow anid)
void gdk_window_destroy(GdkWindow *window)
void gdk_window_set_user_data(GdkWindow *window, gpointer user_data)
GdkPointerHooks * gdk_set_pointer_hooks(const GdkPointerHooks *new_hooks)
GdkWMFunction
Definition: gdkwindow.h:168
@ GDK_FUNC_ALL
Definition: gdkwindow.h:169
@ GDK_FUNC_MOVE
Definition: gdkwindow.h:171
@ GDK_FUNC_CLOSE
Definition: gdkwindow.h:174
@ GDK_FUNC_MINIMIZE
Definition: gdkwindow.h:172
@ GDK_FUNC_MAXIMIZE
Definition: gdkwindow.h:173
@ GDK_FUNC_RESIZE
Definition: gdkwindow.h:170
void gdk_window_thaw_updates(GdkWindow *window)
GdkWindowType
Definition: gdkwindow.h:74
@ GDK_WINDOW_TEMP
Definition: gdkwindow.h:79
@ GDK_WINDOW_FOREIGN
Definition: gdkwindow.h:80
@ GDK_WINDOW_TOPLEVEL
Definition: gdkwindow.h:76
@ GDK_WINDOW_OFFSCREEN
Definition: gdkwindow.h:81
@ GDK_WINDOW_ROOT
Definition: gdkwindow.h:75
@ GDK_WINDOW_DIALOG
Definition: gdkwindow.h:78
@ GDK_WINDOW_CHILD
Definition: gdkwindow.h:77
GdkGravity
Definition: gdkwindow.h:182
@ GDK_GRAVITY_NORTH
Definition: gdkwindow.h:184
@ GDK_GRAVITY_STATIC
Definition: gdkwindow.h:192
@ GDK_GRAVITY_SOUTH_WEST
Definition: gdkwindow.h:189
@ GDK_GRAVITY_NORTH_WEST
Definition: gdkwindow.h:183
@ GDK_GRAVITY_EAST
Definition: gdkwindow.h:188
@ GDK_GRAVITY_WEST
Definition: gdkwindow.h:186
@ GDK_GRAVITY_SOUTH
Definition: gdkwindow.h:190
@ GDK_GRAVITY_CENTER
Definition: gdkwindow.h:187
@ GDK_GRAVITY_SOUTH_EAST
Definition: gdkwindow.h:191
@ GDK_GRAVITY_NORTH_EAST
Definition: gdkwindow.h:185
GdkEventMask gdk_window_get_events(GdkWindow *window)
GdkWindowClass
Definition: gdkwindow.h:55
@ GDK_INPUT_ONLY
Definition: gdkwindow.h:57
@ GDK_INPUT_OUTPUT
Definition: gdkwindow.h:56
void gdk_window_set_title(GdkWindow *window, const gchar *title)
void gdk_window_begin_paint_rect(GdkWindow *window, const GdkRectangle *rectangle)
gboolean gdk_window_is_shaped(GdkWindow *window)
void gdk_window_set_events(GdkWindow *window, GdkEventMask event_mask)
void gdk_window_input_shape_combine_mask(GdkWindow *window, GdkBitmap *mask, gint x, gint y)
void gdk_window_scroll(GdkWindow *window, gint dx, gint dy)
void gdk_window_thaw_toplevel_updates_libgtk_only(GdkWindow *window)
void gdk_window_move(GdkWindow *window, gint x, gint y)
void gdk_window_set_back_pixmap(GdkWindow *window, GdkPixmap *pixmap, gboolean parent_relative)
int gdk_window_get_width(GdkWindow *window)
GdkWindow * gdk_window_get_effective_parent(GdkWindow *window)
GdkWindow * gdk_window_get_toplevel(GdkWindow *window)
void gdk_window_move_resize(GdkWindow *window, gint x, gint y, gint width, gint height)
void gdk_window_invalidate_region(GdkWindow *window, const GdkRegion *region, gboolean invalidate_children)
GdkDisplay * gdk_window_get_display(GdkWindow *window)
void gdk_window_process_updates(GdkWindow *window, gboolean update_children)
GdkCursor * gdk_window_get_cursor(GdkWindow *window)
void gdk_window_redirect_to_drawable(GdkWindow *window, GdkDrawable *drawable, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height)
void gdk_window_set_icon_list(GdkWindow *window, GList *pixbufs)
void gdk_window_clear_area(GdkWindow *window, gint x, gint y, gint width, gint height)
void gdk_window_set_geometry_hints(GdkWindow *window, const GdkGeometry *geometry, GdkWindowHints geom_mask)
gboolean gdk_window_get_composited(GdkWindow *window)
void gdk_window_flush(GdkWindow *window)
void gdk_window_shape_combine_region(GdkWindow *window, const GdkRegion *shape_region, gint offset_x, gint offset_y)
void gdk_window_invalidate_rect(GdkWindow *window, const GdkRectangle *rect, gboolean invalidate_children)
GdkPixmap * gdk_offscreen_window_get_pixmap(GdkWindow *window)
gboolean gdk_window_ensure_native(GdkWindow *window)
GdkWindow * gdk_offscreen_window_get_embedder(GdkWindow *window)
GType gdk_window_object_get_type(void) G_GNUC_CONST
void gdk_window_merge_child_input_shapes(GdkWindow *window)
void gdk_window_set_icon_name(GdkWindow *window, const gchar *name)
void gdk_window_reparent(GdkWindow *window, GdkWindow *new_parent, gint x, gint y)
void gdk_window_set_opacity(GdkWindow *window, gdouble opacity)
void gdk_window_coords_from_parent(GdkWindow *window, gdouble parent_x, gdouble parent_y, gdouble *x, gdouble *y)
void gdk_window_stick(GdkWindow *window)
void(* GdkWindowModalNotify)(GdkWindow *, gboolean)
Definition: gdkwindow.h:511
void gdk_window_set_startup_id(GdkWindow *window, const gchar *startup_id)
void gdk_window_register_dnd(GdkWindow *window)
void gdk_window_set_background(GdkWindow *window, const GdkColor *color)
void gdk_window_clear(GdkWindow *window)
void gdk_window_geometry_changed(GdkWindow *window)
void gdk_window_enable_synchronized_configure(GdkWindow *window)
GdkVisual * gdk_window_get_visual(GdkWindow *window)
void gdk_window_iconify(GdkWindow *window)
gboolean gdk_window_is_destroyed(GdkWindow *window)
void gdk_window_set_icon(GdkWindow *window, GdkWindow *icon_window, GdkPixmap *pixmap, GdkBitmap *mask)
void gdk_window_withdraw(GdkWindow *window)
GdkWindow * gdk_window_lookup_for_display(GdkDisplay *display, GdkNativeWindow anid)
gboolean gdk_window_set_static_gravities(GdkWindow *window, gboolean use_static)
void gdk_window_maximize(GdkWindow *window)
GList * gdk_window_peek_children(GdkWindow *window)
void gdk_window_get_geometry(GdkWindow *window, gint *x, gint *y, gint *width, gint *height, gint *depth)
GdkWindow * gdk_window_get_effective_toplevel(GdkWindow *window)
void gdk_window_lower(GdkWindow *window)
void gdk_window_get_frame_extents(GdkWindow *window, GdkRectangle *rect)
void gdk_window_unstick(GdkWindow *window)
GdkWindow * gdk_get_default_root_window(void)
void gdk_window_invalidate_maybe_recurse(GdkWindow *window, const GdkRegion *region, gboolean(*child_func)(GdkWindow *, gpointer), gpointer user_data)
void gdk_window_begin_resize_drag(GdkWindow *window, GdkWindowEdge edge, gint button, gint root_x, gint root_y, guint32 timestamp)
void gdk_window_set_debug_updates(gboolean setting)
int gdk_window_get_height(GdkWindow *window)
GdkWindowAttributesType
Definition: gdkwindow.h:93
@ GDK_WA_VISUAL
Definition: gdkwindow.h:99
@ GDK_WA_X
Definition: gdkwindow.h:95
@ GDK_WA_TYPE_HINT
Definition: gdkwindow.h:102
@ GDK_WA_TITLE
Definition: gdkwindow.h:94
@ GDK_WA_NOREDIR
Definition: gdkwindow.h:101
@ GDK_WA_CURSOR
Definition: gdkwindow.h:97
@ GDK_WA_COLORMAP
Definition: gdkwindow.h:98
@ GDK_WA_Y
Definition: gdkwindow.h:96
@ GDK_WA_WMCLASS
Definition: gdkwindow.h:100
void gdk_window_clear_area_e(GdkWindow *window, gint x, gint y, gint width, gint height)
void gdk_window_begin_paint_region(GdkWindow *window, const GdkRegion *region)
gboolean gdk_window_get_accept_focus(GdkWindow *window)
GdkWindow * gdk_window_get_group(GdkWindow *window)
gboolean gdk_window_get_decorations(GdkWindow *window, GdkWMDecoration *decorations)
void gdk_window_set_role(GdkWindow *window, const gchar *role)
cairo_pattern_t * gdk_window_get_background_pattern(GdkWindow *window)
void gdk_window_set_transient_for(GdkWindow *window, GdkWindow *parent)
GdkWindow * gdk_window_at_pointer(gint *win_x, gint *win_y)
void gdk_window_constrain_size(GdkGeometry *geometry, guint flags, gint width, gint height, gint *new_width, gint *new_height)
void gdk_offscreen_window_set_embedder(GdkWindow *window, GdkWindow *embedder)
gboolean gdk_window_get_focus_on_map(GdkWindow *window)
void gdk_window_set_keep_above(GdkWindow *window, gboolean setting)
void gdk_window_shape_combine_mask(GdkWindow *window, GdkBitmap *mask, gint x, gint y)
GList * gdk_window_get_children(GdkWindow *window)
GdkWindow * gdk_window_new(GdkWindow *parent, GdkWindowAttr *attributes, gint attributes_mask)
void gdk_window_set_accept_focus(GdkWindow *window, gboolean accept_focus)
GdkWindowState gdk_window_get_state(GdkWindow *window)
void gdk_window_get_user_data(GdkWindow *window, gpointer *data)
void gdk_window_focus(GdkWindow *window, guint32 timestamp)
void gdk_window_set_modal_hint(GdkWindow *window, gboolean modal)
gboolean gdk_window_is_visible(GdkWindow *window)
void gdk_window_raise(GdkWindow *window)
void gdk_window_set_modal_notify(GdkWindowModalNotify)
void gdk_window_unfullscreen(GdkWindow *window)
GdkScreen * gdk_window_get_screen(GdkWindow *window)
void gdk_window_set_keep_below(GdkWindow *window, gboolean setting)
GdkWindowEdge
Definition: gdkwindow.h:197
@ GDK_WINDOW_EDGE_NORTH_WEST
Definition: gdkwindow.h:198
@ GDK_WINDOW_EDGE_NORTH
Definition: gdkwindow.h:199
@ GDK_WINDOW_EDGE_SOUTH
Definition: gdkwindow.h:204
@ GDK_WINDOW_EDGE_SOUTH_WEST
Definition: gdkwindow.h:203
@ GDK_WINDOW_EDGE_SOUTH_EAST
Definition: gdkwindow.h:205
@ GDK_WINDOW_EDGE_WEST
Definition: gdkwindow.h:201
@ GDK_WINDOW_EDGE_NORTH_EAST
Definition: gdkwindow.h:200
@ GDK_WINDOW_EDGE_EAST
Definition: gdkwindow.h:202
void gdk_window_set_skip_taskbar_hint(GdkWindow *window, gboolean skips_taskbar)
GdkWindow * gdk_window_get_pointer(GdkWindow *window, gint *x, gint *y, GdkModifierType *mask)
gboolean gdk_window_get_modal_hint(GdkWindow *window)
void gdk_window_configure_finished(GdkWindow *window)
void gdk_window_deiconify(GdkWindow *window)
gboolean gdk_window_get_deskrelative_origin(GdkWindow *window, gint *x, gint *y)
void gdk_window_end_paint(GdkWindow *window)
void gdk_window_get_internal_paint_info(GdkWindow *window, GdkDrawable **real_drawable, gint *x_offset, gint *y_offset)
GtkImageIconNameData name
Definition: gtkimage.h:6
GtkImagePixmapData pixmap
Definition: gtkimage.h:0
PBD::PropertyDescriptor< uint32_t > color
PBD::PropertyDescriptor< bool > region
void rectangle(Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
gint width_inc
Definition: gdkwindow.h:234
gint max_width
Definition: gdkwindow.h:230
gint base_height
Definition: gdkwindow.h:233
GdkGravity win_gravity
Definition: gdkwindow.h:238
gdouble min_aspect
Definition: gdkwindow.h:236
gint height_inc
Definition: gdkwindow.h:235
gdouble max_aspect
Definition: gdkwindow.h:237
gint max_height
Definition: gdkwindow.h:231
gint base_width
Definition: gdkwindow.h:232
gint min_height
Definition: gdkwindow.h:229
gint min_width
Definition: gdkwindow.h:228
gchar * title
Definition: gdkwindow.h:210
GdkWindowType window_type
Definition: gdkwindow.h:218
GdkColormap * colormap
Definition: gdkwindow.h:217
GdkCursor * cursor
Definition: gdkwindow.h:219
gchar * wmclass_class
Definition: gdkwindow.h:221
gboolean override_redirect
Definition: gdkwindow.h:222
GdkWindowTypeHint type_hint
Definition: gdkwindow.h:223
GdkVisual * visual
Definition: gdkwindow.h:216
GdkWindowClass wclass
Definition: gdkwindow.h:215
gchar * wmclass_name
Definition: gdkwindow.h:220
GdkDrawableClass parent_class
Definition: gdkwindow.h:326
GdkRegion * update_area
Definition: gdkinternals.h:227
GdkRegion * GSEAL(update_area)
GdkPixmap * GSEAL(bg_pixmap)
GList * GSEAL(filters)
GdkDrawable * impl
Definition: gdkinternals.h:208
GdkPixmap * bg_pixmap
Definition: gdkinternals.h:223
guint update_and_descendants_freeze_count
Definition: gdkinternals.h:249
guint8 GSEAL(resize_count)
guint update_freeze_count
Definition: gdkinternals.h:228
GdkDrawable parent_instance
Definition: gdkinternals.h:206
GdkEventMask event_mask
Definition: gdkinternals.h:247
guint GSEAL(update_freeze_count)
gpointer GSEAL(user_data)
GdkColor GSEAL(bg_color)
guint8 GSEAL(window_type)
GdkWindowObject * GSEAL(parent)
guint8 GSEAL(depth)
GList * GSEAL(children)
GSList * GSEAL(paint_stack)
GdkWindowState GSEAL(state)
GdkWindowRedirect * GSEAL(redirect)
guint GSEAL(update_and_descendants_freeze_count)
GdkDrawable * GSEAL(impl)
GSList * paint_stack
Definition: gdkinternals.h:225
GdkWindowObject * parent
Definition: gdkinternals.h:210
GdkWindowRedirect * redirect
Definition: gdkinternals.h:251
GdkWindowState state
Definition: gdkinternals.h:234
guint GSEAL(guffaw_gravity) guint GSEAL(input_only) guint GSEAL(modal_hint) guint GSEAL(composited) guint GSEAL(destroyed) guint GSEAL(accept_focus) guint GSEAL(focus_on_map) guint GSEAL(shaped) GdkEventMask GSEAL(event_mask)
gint GSEAL(extension_events)
gpointer user_data
Definition: gdkinternals.h:212
gint height
Definition: xcursors.h:1
gint width
Definition: xcursors.h:1