Ardour  9.0-pre0-350-gf17a656217
gdkinternals.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 /* Uninstalled header defining types and functions internal to GDK */
28 
29 #ifndef __GDK_INTERNALS_H__
30 #define __GDK_INTERNALS_H__
31 
32 #include <gio/gio.h>
33 #include <gdk/gdktypes.h>
34 #include <gdk/gdkwindow.h>
35 #include <gdk/gdkprivate.h>
36 #ifdef USE_MEDIALIB
37 #include <gdk/gdkmedialib.h>
38 #endif
39 
40 G_BEGIN_DECLS
41 
42 /**********************
43  * General Facilities *
44  **********************/
45 
46 /* Debugging support */
47 
48 typedef struct _GdkColorInfo GdkColorInfo;
49 typedef struct _GdkEventFilter GdkEventFilter;
50 typedef struct _GdkClientFilter GdkClientFilter;
51 
52 typedef enum {
53  GDK_COLOR_WRITEABLE = 1 << 0
55 
57 {
59  guint ref_count;
60 };
61 
62 typedef enum {
65 
67  GdkFilterFunc function;
68  gpointer data;
70  guint ref_count;
71 };
72 
75  GdkFilterFunc function;
76  gpointer data;
77 };
78 
79 typedef enum {
80  GDK_DEBUG_MISC = 1 << 0,
81  GDK_DEBUG_EVENTS = 1 << 1,
82  GDK_DEBUG_DND = 1 << 2,
83  GDK_DEBUG_XIM = 1 << 3,
86  GDK_DEBUG_GDKRGB = 1 << 6,
87  GDK_DEBUG_GC = 1 << 7,
88  GDK_DEBUG_PIXMAP = 1 << 8,
89  GDK_DEBUG_IMAGE = 1 << 9,
90  GDK_DEBUG_INPUT = 1 <<10,
91  GDK_DEBUG_CURSOR = 1 <<11,
94  GDK_DEBUG_DRAW = 1 <<14,
95  GDK_DEBUG_EVENTLOOP = 1 <<15
97 
98 #ifndef GDK_DISABLE_DEPRECATED
99 
100 typedef struct _GdkFontPrivate GdkFontPrivate;
101 
103 {
105  guint ref_count;
106 };
107 
108 #endif /* GDK_DISABLE_DEPRECATED */
109 
110 extern GList *_gdk_default_filters;
112 extern gint _gdk_error_code;
113 extern gint _gdk_error_warnings;
114 
115 extern guint _gdk_debug_flags;
116 extern gboolean _gdk_native_windows;
117 
118 #ifdef G_ENABLE_DEBUG
119 
120 #define GDK_NOTE(type,action) G_STMT_START { \
121  if (_gdk_debug_flags & GDK_DEBUG_##type) \
122  { action; }; } G_STMT_END
123 
124 #else /* !G_ENABLE_DEBUG */
125 
126 #define GDK_NOTE(type,action)
127 
128 #endif /* G_ENABLE_DEBUG */
129 
130 /* Arg parsing */
131 
132 typedef enum
133 {
140 
141 typedef struct _GdkArgContext GdkArgContext;
142 typedef struct _GdkArgDesc GdkArgDesc;
143 
144 typedef void (*GdkArgFunc) (const char *name, const char *arg, gpointer data);
145 
147 {
148  GPtrArray *tables;
149  gpointer cb_data;
150 };
151 
153 {
154  const char *name;
156  gpointer location;
158 };
159 
160 /* Event handling */
161 
162 typedef struct _GdkEventPrivate GdkEventPrivate;
163 
164 typedef enum
165 {
166  /* Following flag is set for events on the event queue during
167  * translation and cleared afterwards.
168  */
169  GDK_EVENT_PENDING = 1 << 0
171 
173 {
175  guint flags;
177  gpointer windowing_data;
178 };
179 
180 /* Tracks information about the pointer grab on this display */
181 typedef struct
182 {
185  gulong serial_start;
186  gulong serial_end; /* exclusive, i.e. not active on serial_end */
187  gboolean owner_events;
188  guint event_mask;
189  gboolean implicit;
190  guint32 time;
191 
192  gboolean activated;
193  gboolean implicit_ungrab;
195 
196 typedef struct _GdkInputWindow GdkInputWindow;
197 
198 /* Private version of GdkWindowObject. The initial part of this strucuture
199  is public for historical reasons. Don't change that part */
200 typedef struct _GdkWindowPaint GdkWindowPaint;
201 
203 {
204  /* vvvvvvv THIS PART IS PUBLIC. DON'T CHANGE vvvvvvvvvvvvvv */
206 
207  GdkDrawable *impl; /* window-system-specific delegate object */
208 
210 
211  gpointer user_data;
212 
213  gint x;
214  gint y;
215 
217 
218  GList *filters;
219  GList *children;
220 
223 
224  GSList *paint_stack;
225 
228 
229  guint8 window_type;
230  guint8 depth;
231  guint8 resize_count;
232 
234 
235  guint guffaw_gravity : 1;
236  guint input_only : 1;
237  guint modal_hint : 1;
238  guint composited : 1;
239 
240  guint destroyed : 2;
241 
242  guint accept_focus : 1;
243  guint focus_on_map : 1;
244  guint shaped : 1;
245 
247 
249 
251 
252  /* ^^^^^^^^^^ THIS PART IS PUBLIC. DON'T CHANGE ^^^^^^^^^^ */
253 
254  /* The GdkWindowObject that has the impl, ref:ed if another window.
255  * This ref is required to keep the wrapper of the impl window alive
256  * for as long as any GdkWindow references the impl. */
258  int abs_x, abs_y; /* Absolute offset in impl */
259  gint width, height;
260  guint32 clip_tag;
261  GdkRegion *clip_region; /* Clip region (wrt toplevel) in window coords */
262  GdkRegion *clip_region_with_children; /* Clip region in window coords */
267  guint visibility : 2; /* The visibility wrt the toplevel (i.e. based on clip_region) */
268  guint native_visibility : 2; /* the native visibility of a impl windows */
269  guint viewable : 1; /* mapped and all parents mapped */
270  guint applied_shape : 1;
271 
274  GdkInputWindow *input_window; /* only set for impl windows */
275 
277 
280 
281  cairo_surface_t *cairo_surface;
282  guint outstanding_surfaces; /* only set on impl window */
283 
284  cairo_pattern_t *background;
285 };
286 
287 #define GDK_WINDOW_TYPE(d) (((GdkWindowObject*)(GDK_WINDOW (d)))->window_type)
288 #define GDK_WINDOW_DESTROYED(d) (((GdkWindowObject*)(GDK_WINDOW (d)))->destroyed)
289 
290 extern GdkEventFunc _gdk_event_func; /* Callback for events */
291 extern gpointer _gdk_event_data;
292 extern GDestroyNotify _gdk_event_notify;
293 
294 extern GSList *_gdk_displays;
295 extern gchar *_gdk_display_name;
296 extern gint _gdk_screen_number;
297 extern gchar *_gdk_display_arg_name;
298 
301 
303  GdkEventFilter *filter);
304 
307  GList *node);
309  GdkEvent *event);
311  GdkEvent *event);
313  GdkEvent *after_event,
314  GdkEvent *event);
316  GdkEvent *after_event,
317  GdkEvent *event);
319  GdkEvent *event);
320 
322  GdkEvent *dst);
324 
326  GdkWindowState unset_flags,
327  GdkWindowState set_flags);
328 
329 #define GDK_SCRATCH_IMAGE_WIDTH 256
330 #define GDK_SCRATCH_IMAGE_HEIGHT 64
331 
333  GdkImageType type,
334  GdkVisual *visual,
335  gint width,
336  gint height,
337  gint depth);
339  gint width,
340  gint height,
341  gint depth,
342  gint *x,
343  gint *y);
344 
346  GdkImage *image,
347  gint src_x,
348  gint src_y,
349  gint dest_x,
350  gint dest_y,
351  gint width,
352  gint height);
353 
354 cairo_surface_t *_gdk_drawable_ref_cairo_surface (GdkDrawable *drawable);
355 
357 cairo_surface_t * _gdk_drawable_create_cairo_surface (GdkDrawable *drawable,
358  int width,
359  int height);
360 
361 /* GC caching */
363  gboolean graphics_exposures);
365 
367  cairo_t *cr,
368  const GdkColor *override_foreground,
369  GdkBitmap *override_stipple,
370  gboolean gc_changed,
371  GdkDrawable *target_drawable);
372 
373 /*************************************
374  * Interfaces used by windowing code *
375  *************************************/
376 
378  gint width,
379  gint height,
380  gint depth);
382  const gchar *data,
383  gint width,
384  gint height,
385  gint depth,
386  const GdkColor *fg,
387  const GdkColor *bg);
389  const gchar *data,
390  gint width,
391  gint height);
392 
394  GdkWindow *real_parent,
395  GdkScreen *screen,
396  GdkVisual *visual,
397  GdkEventMask event_mask,
398  GdkWindowAttr *attributes,
399  gint attributes_mask);
401  gboolean foreign_destroy);
405 
407  GdkRegion *expose_region);
408 
410 
411 const char *_gdk_get_sm_client_id (void);
412 
413 void _gdk_gc_init (GdkGC *gc,
414  GdkDrawable *drawable,
415  GdkGCValues *values,
416  GdkGCValuesMask values_mask);
417 
427  guint32 region_tag,
428  GdkRegion *region,
429  int offset_x,
430  int offset_y);
433  GdkRegion *region,
434  gboolean reset_origin);
436 
438  GdkGC *gc,
439  gpointer *priv_data,
440  gint *x_offset_out,
441  gint *y_offset_out);
442 void _gdk_drawable_end_direct_draw (gpointer priv_data);
443 
444 
445 /*****************************************
446  * Interfaces provided by windowing code *
447  *****************************************/
448 
449 /* Font/string functions implemented in module-specific code */
450 gint _gdk_font_strlen (GdkFont *font, const char *str);
452 
454 
456 
458 
459 extern const GOptionEntry _gdk_windowing_args[];
461 
462 gchar *_gdk_windowing_substitute_screen_number (const gchar *display_name,
463  gint screen_number);
464 
467  gint *x_offset,
468  gint *y_offset);
473 
474 
476  GdkScreen **screen,
477  gint *x,
478  gint *y,
479  GdkModifierType *mask);
481  gint *win_x,
482  gint *win_y,
483  GdkModifierType *mask,
484  gboolean get_toplevel);
486  GdkWindow *native,
487  gboolean owner_events,
488  GdkEventMask event_mask,
489  GdkWindow *confine_to,
490  GdkCursor *cursor,
491  guint32 time);
493  GList *event_link,
494  GdkEvent *event,
495  gulong serial);
496 
498  GdkRegion *expose_region);
501 
502 /* Return the number of bits-per-pixel for images of the specified depth. */
504  gint depth);
505 
506 
507 #define GDK_WINDOW_IS_MAPPED(window) ((((GdkWindowObject*)window)->state & GDK_WINDOW_STATE_WITHDRAWN) == 0)
508 
509 
510 /* Called when gdk_window_destroy() is called on a foreign window
511  * or an ancestor of the foreign window. It should generally reparent
512  * the window out of it's current heirarchy, hide it, and then
513  * send a message to the owner requesting that the window be destroyed.
514  */
516 
518  const gchar *sm_client_id);
519 
521  gboolean composited);
522 
523 #define GDK_TYPE_PAINTABLE (_gdk_paintable_get_type ())
524 #define GDK_PAINTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_PAINTABLE, GdkPaintable))
525 #define GDK_IS_PAINTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_PAINTABLE))
526 #define GDK_PAINTABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDK_TYPE_PAINTABLE, GdkPaintableIface))
527 
528 typedef struct _GdkPaintable GdkPaintable;
530 
532 {
533  GTypeInterface g_iface;
534 
535  void (* begin_paint_region) (GdkPaintable *paintable,
536  GdkWindow *window,
537  const GdkRegion *region);
538  void (* end_paint) (GdkPaintable *paintable);
539 };
540 
541 GType _gdk_paintable_get_type (void) G_GNUC_CONST;
542 
543 /* Implementation types */
544 GType _gdk_window_impl_get_type (void) G_GNUC_CONST;
545 GType _gdk_pixmap_impl_get_type (void) G_GNUC_CONST;
546 
547 
564  const GdkRegion *region,
565  gboolean reset_origin);
566 
577  GdkGC *src_gc);
578 
579 /* Queries the current foreground color of a GdkGC */
581  GdkColor *color);
582 /* Queries the current background color of a GdkGC */
584  GdkColor *color);
585 
587 {
590  gint workspace;
591  guint32 timestamp;
592  GIcon *icon;
593  char *icon_name;
594 };
595 
596 char *_gdk_windowing_get_startup_notify_id (GAppLaunchContext *context,
597  GAppInfo *info,
598  GList *files);
599 void _gdk_windowing_launch_failed (GAppLaunchContext *context,
600  const char *startup_notify_id);
601 
604  gulong current_serial);
607  GdkWindow *window,
608  GdkWindow *native_window,
609  gboolean owner_events,
610  GdkEventMask event_mask,
611  unsigned long serial_start,
612  guint32 time,
613  gboolean implicit);
615  gulong serial);
617  gulong serial,
618  GdkWindow *if_child,
619  gboolean implicit);
621  GdkWindow *window,
622  GdkWindow *native_window,
623  gboolean owner_events,
624  unsigned long serial,
625  guint32 time);
627  gboolean implicit);
629 
630 
632  GdkRegion *region);
633 
634 void _gdk_windowing_set_cairo_surface_size (cairo_surface_t *surface,
635  int width,
636  int height);
637 
639  int width,
640  int height);
642  int x, int y);
644  double x, double y,
645  double *found_x,
646  double *found_y);
647 
649  GdkRegion *damaged_region);
650 
652  GdkEventType type,
653  GdkEvent *event_in_queue,
654  gboolean before_event);
656  GdkWindow *child);
657 
659  GdkWindow *src,
660  GdkWindow *dest,
661  GdkCrossingMode mode,
662  gint toplevel_x,
663  gint toplevel_y,
664  GdkModifierType mask,
665  guint32 time_,
666  GdkEvent *event_in_queue,
667  gulong serial,
668  gboolean non_linear);
670  GdkWindow *window);
671 
672 
674 
676  GdkWindow *base_window,
677  gboolean do_children,
678  gint *base_x_offset,
679  gint *base_y_offset);
680 gboolean _gdk_window_has_impl (GdkWindow *window);
683  GdkEventType event_type,
684  GdkModifierType mask,
685  int x, int y,
686  gulong serial);
688 
689 /*****************************
690  * offscreen window routines *
691  *****************************/
692 typedef struct _GdkOffscreenWindow GdkOffscreenWindow;
693 #define GDK_TYPE_OFFSCREEN_WINDOW (gdk_offscreen_window_get_type())
694 #define GDK_OFFSCREEN_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_OFFSCREEN_WINDOW, GdkOffscreenWindow))
695 #define GDK_IS_OFFSCREEN_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_OFFSCREEN_WINDOW))
699  GdkScreen *screen,
700  GdkVisual *visual,
701  GdkWindowAttr *attributes,
702  gint attributes_mask);
703 
704 
705 /************************************
706  * Initialization and exit routines *
707  ************************************/
708 
709 void _gdk_image_exit (void);
711 
712 extern void (*_gdk_modal_notify)(GdkWindow*, gboolean);
713 
714 G_END_DECLS
715 
716 #endif /* __GDK_INTERNALS_H__ */
GdkEventMask
Definition: gdkevents.h:166
GdkEventType
Definition: gdkevents.h:117
GdkFilterReturn(* GdkFilterFunc)(GdkXEvent *xevent, GdkEvent *event, gpointer data)
Definition: gdkevents.h:88
GdkCrossingMode
Definition: gdkevents.h:233
void(* GdkEventFunc)(GdkEvent *event, gpointer data)
Definition: gdkevents.h:71
GdkWindowState
Definition: gdkevents.h:249
typedefG_BEGIN_DECLS struct _GdkGCValues GdkGCValues
Definition: gdkgc.h:39
GdkFill
Definition: gdkgc.h:63
GdkSubwindowMode
Definition: gdkgc.h:133
GdkGCValuesMask
Definition: gdkgc.h:139
GdkImageType
Definition: gdkimage.h:50
GDestroyNotify _gdk_event_notify
GList * _gdk_event_queue_insert_before(GdkDisplay *display, GdkEvent *after_event, GdkEvent *event)
void _gdk_windowing_gc_copy(GdkGC *dst_gc, GdkGC *src_gc)
void _gdk_synthesize_crossing_events_for_geometry_change(GdkWindow *changed_window)
GdkRegion * _gdk_windowing_get_shape_for_mask(GdkBitmap *mask)
void _gdk_windowing_set_default_display(GdkDisplay *display)
GdkEventFilterFlags
Definition: gdkinternals.h:62
@ GDK_EVENT_FILTER_REMOVED
Definition: gdkinternals.h:63
gulong _gdk_windowing_window_get_next_serial(GdkDisplay *display)
gboolean _gdk_window_update_viewable(GdkWindow *window)
gint _gdk_screen_number
GdkDrawable * _gdk_drawable_begin_direct_draw(GdkDrawable *drawable, GdkGC *gc, gpointer *priv_data, gint *x_offset_out, gint *y_offset_out)
gint _gdk_windowing_get_bits_for_depth(GdkDisplay *display, gint depth)
GdkPixmap * _gdk_bitmap_create_from_data(GdkDrawable *drawable, const gchar *data, gint width, gint height)
gchar * _gdk_windowing_substitute_screen_number(const gchar *display_name, gint screen_number)
void(* GdkArgFunc)(const char *name, const char *arg, gpointer data)
Definition: gdkinternals.h:144
void _gdk_windowing_get_pointer(GdkDisplay *display, GdkScreen **screen, gint *x, gint *y, GdkModifierType *mask)
void _gdk_event_button_generate(GdkDisplay *display, GdkEvent *event)
GList * _gdk_event_queue_append(GdkDisplay *display, GdkEvent *event)
gboolean _gdk_gc_get_exposures(GdkGC *gc)
GdkSubwindowMode _gdk_gc_get_subwindow(GdkGC *gc)
GdkArgType
Definition: gdkinternals.h:133
@ GDK_ARG_NOBOOL
Definition: gdkinternals.h:137
@ GDK_ARG_CALLBACK
Definition: gdkinternals.h:138
@ GDK_ARG_BOOL
Definition: gdkinternals.h:136
@ GDK_ARG_INT
Definition: gdkinternals.h:135
@ GDK_ARG_STRING
Definition: gdkinternals.h:134
void gdk_synthesize_window_state(GdkWindow *window, GdkWindowState unset_flags, GdkWindowState set_flags)
gpointer _gdk_event_data
GdkPointerGrabInfo * _gdk_display_get_last_pointer_grab(GdkDisplay *display)
GdkPixmap * _gdk_gc_get_tile(GdkGC *gc)
GdkDebugFlag
Definition: gdkinternals.h:79
@ GDK_DEBUG_COLORMAP
Definition: gdkinternals.h:85
@ GDK_DEBUG_GC
Definition: gdkinternals.h:87
@ GDK_DEBUG_DND
Definition: gdkinternals.h:82
@ GDK_DEBUG_GDKRGB
Definition: gdkinternals.h:86
@ GDK_DEBUG_DRAW
Definition: gdkinternals.h:94
@ GDK_DEBUG_CURSOR
Definition: gdkinternals.h:91
@ GDK_DEBUG_EVENTS
Definition: gdkinternals.h:81
@ GDK_DEBUG_INPUT
Definition: gdkinternals.h:90
@ GDK_DEBUG_XINERAMA
Definition: gdkinternals.h:93
@ GDK_DEBUG_PIXMAP
Definition: gdkinternals.h:88
@ GDK_DEBUG_EVENTLOOP
Definition: gdkinternals.h:95
@ GDK_DEBUG_MISC
Definition: gdkinternals.h:80
@ GDK_DEBUG_MULTIHEAD
Definition: gdkinternals.h:92
@ GDK_DEBUG_NOGRABS
Definition: gdkinternals.h:84
@ GDK_DEBUG_IMAGE
Definition: gdkinternals.h:89
@ GDK_DEBUG_XIM
Definition: gdkinternals.h:83
void _gdk_windowing_before_process_all_updates(void)
void _gdk_windowing_after_process_all_updates(void)
GdkWindow * _gdk_window_get_impl_window(GdkWindow *window)
void _gdk_windowing_display_set_sm_client_id(GdkDisplay *display, const gchar *sm_client_id)
char * _gdk_windowing_get_startup_notify_id(GAppLaunchContext *context, GAppInfo *info, GList *files)
void _gdk_offscreen_window_new(GdkWindow *window, GdkScreen *screen, GdkVisual *visual, GdkWindowAttr *attributes, gint attributes_mask)
void _gdk_windowing_window_beep(GdkWindow *window)
GdkRegion * _gdk_windowing_window_get_input_shape(GdkWindow *window)
void _gdk_display_unset_has_keyboard_grab(GdkDisplay *display, gboolean implicit)
guint32 _gdk_gc_get_bg_pixel(GdkGC *gc)
GdkRegion * _gdk_windowing_window_get_shape(GdkWindow *window)
gboolean _gdk_native_windows
GdkRegion * _gdk_window_calculate_full_clip_region(GdkWindow *window, GdkWindow *base_window, gboolean do_children, gint *base_x_offset, gint *base_y_offset)
void _gdk_cursor_destroy(GdkCursor *cursor)
void _gdk_window_destroy(GdkWindow *window, gboolean foreign_destroy)
GList * _gdk_default_filters
GdkImage * _gdk_drawable_copy_to_image(GdkDrawable *drawable, GdkImage *image, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height)
void _gdk_windowing_gc_set_clip_region(GdkGC *gc, const GdkRegion *region, gboolean reset_origin)
GdkWindow * _gdk_window_get_input_window_for_event(GdkWindow *native_window, GdkEventType event_type, GdkModifierType mask, int x, int y, gulong serial)
cairo_surface_t * _gdk_drawable_ref_cairo_surface(GdkDrawable *drawable)
typedefG_BEGIN_DECLS struct _GdkColorInfo GdkColorInfo
Definition: gdkinternals.h:48
GdkRegion * _gdk_region_new_from_yxbanded_rects(GdkRectangle *rects, int n_rects)
gchar * _gdk_display_arg_name
GdkEvent * _gdk_event_unqueue(GdkDisplay *display)
gchar * _gdk_display_name
struct _GdkOffscreenWindow GdkOffscreenWindow
Definition: gdkinternals.h:692
void _gdk_window_process_updates_recurse(GdkWindow *window, GdkRegion *expose_region)
void _gdk_windowing_gc_get_background(GdkGC *gc, GdkColor *color)
const GOptionEntry _gdk_windowing_args[]
GdkEvent * _gdk_make_event(GdkWindow *window, GdkEventType type, GdkEvent *event_in_queue, gboolean before_event)
GdkWindow * _gdk_parent_root
cairo_surface_t * _gdk_windowing_create_cairo_surface(GdkDrawable *drawable, int width, int height)
const char * _gdk_get_sm_client_id(void)
void _gdk_window_clear_update_area(GdkWindow *window)
GdkWindow * _gdk_windowing_window_at_pointer(GdkDisplay *display, gint *win_x, gint *win_y, GdkModifierType *mask, gboolean get_toplevel)
GdkBitmap * _gdk_gc_get_clip_mask(GdkGC *gc)
void _gdk_window_invalidate_for_expose(GdkWindow *window, GdkRegion *region)
GdkGrabStatus _gdk_windowing_pointer_grab(GdkWindow *window, GdkWindow *native, gboolean owner_events, GdkEventMask event_mask, GdkWindow *confine_to, GdkCursor *cursor, guint32 time)
guint _gdk_debug_flags
gint _gdk_font_strlen(GdkFont *font, const char *str)
GdkGC * _gdk_drawable_get_scratch_gc(GdkDrawable *drawable, gboolean graphics_exposures)
gboolean _gdk_window_has_impl(GdkWindow *window)
GdkPointerGrabInfo * _gdk_display_get_active_pointer_grab(GdkDisplay *display)
void _gdk_window_add_damage(GdkWindow *toplevel, GdkRegion *damaged_region)
void _gdk_gc_remove_drawable_clip(GdkGC *gc)
void _gdk_windowing_launch_failed(GAppLaunchContext *context, const char *startup_notify_id)
void _gdk_event_queue_remove_link(GdkDisplay *display, GList *node)
GdkColorInfoFlags
Definition: gdkinternals.h:52
@ GDK_COLOR_WRITEABLE
Definition: gdkinternals.h:53
void _gdk_display_set_has_keyboard_grab(GdkDisplay *display, GdkWindow *window, GdkWindow *native_window, gboolean owner_events, unsigned long serial, guint32 time)
GList * _gdk_event_queue_prepend(GdkDisplay *display, GdkEvent *event)
GdkRegion * _gdk_gc_get_clip_region(GdkGC *gc)
void _gdk_window_impl_new(GdkWindow *window, GdkWindow *real_parent, GdkScreen *screen, GdkVisual *visual, GdkEventMask event_mask, GdkWindowAttr *attributes, gint attributes_mask)
GdkDrawable * _gdk_drawable_get_source_drawable(GdkDrawable *drawable)
void _gdk_image_exit(void)
GdkFill _gdk_gc_get_fill(GdkGC *gc)
void _gdk_gc_add_drawable_clip(GdkGC *gc, guint32 region_tag, GdkRegion *region, int offset_x, int offset_y)
GdkPixmap * _gdk_pixmap_create_from_data(GdkDrawable *drawable, const gchar *data, gint width, gint height, gint depth, const GdkColor *fg, const GdkColor *bg)
void _gdk_colormap_real_destroy(GdkColormap *colormap)
GdkBitmap * _gdk_gc_get_stipple(GdkGC *gc)
void _gdk_display_set_window_under_pointer(GdkDisplay *display, GdkWindow *window)
void _gdk_windowing_set_cairo_surface_size(cairo_surface_t *surface, int width, int height)
GdkGC * _gdk_drawable_get_subwindow_scratch_gc(GdkDrawable *drawable)
void _gdk_synthesize_crossing_events(GdkDisplay *display, GdkWindow *src, GdkWindow *dest, GdkCrossingMode mode, gint toplevel_x, gint toplevel_y, GdkModifierType mask, guint32 time_, GdkEvent *event_in_queue, gulong serial, gboolean non_linear)
GType _gdk_pixmap_impl_get_type(void) G_GNUC_CONST
struct _GdkPaintable GdkPaintable
Definition: gdkinternals.h:528
void _gdk_font_destroy(GdkFont *font)
void _gdk_display_pointer_grab_update(GdkDisplay *display, gulong current_serial)
GdkImage * _gdk_image_get_scratch(GdkScreen *screen, gint width, gint height, gint depth, gint *x, gint *y)
void _gdk_drawable_end_direct_draw(gpointer priv_data)
GdkWindow * _gdk_window_find_child_at(GdkWindow *window, int x, int y)
GType _gdk_paintable_get_type(void) G_GNUC_CONST
void _gdk_windowing_init(void)
gboolean _gdk_display_end_pointer_grab(GdkDisplay *display, gulong serial, GdkWindow *if_child, gboolean implicit)
void _gdk_events_queue(GdkDisplay *display)
void _gdk_event_filter_unref(GdkWindow *window, GdkEventFilter *filter)
void _gdk_windowing_window_get_offsets(GdkWindow *window, gint *x_offset, gint *y_offset)
GdkDrawable * _gdk_offscreen_window_get_real_drawable(GdkOffscreenWindow *window)
GdkImage * _gdk_image_new_for_depth(GdkScreen *screen, GdkImageType type, GdkVisual *visual, gint width, gint height, gint depth)
void _gdk_window_update_size(GdkWindow *window)
gboolean _gdk_window_event_parent_of(GdkWindow *parent, GdkWindow *child)
GdkPointerGrabInfo * _gdk_display_has_pointer_grab(GdkDisplay *display, gulong serial)
gint _gdk_error_warnings
void _gdk_gc_update_context(GdkGC *gc, cairo_t *cr, const GdkColor *override_foreground, GdkBitmap *override_stipple, gboolean gc_changed, GdkDrawable *target_drawable)
void _gdk_gc_set_clip_region_internal(GdkGC *gc, GdkRegion *region, gboolean reset_origin)
GdkEventFlags
Definition: gdkinternals.h:165
@ GDK_EVENT_PENDING
Definition: gdkinternals.h:169
GType _gdk_window_impl_get_type(void) G_GNUC_CONST
GSList * _gdk_displays
GType gdk_offscreen_window_get_type(void)
void _gdk_screen_close(GdkScreen *screen)
void _gdk_gc_init(GdkGC *gc, GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask)
void _gdk_windowing_event_data_free(GdkEvent *event)
void _gdk_windowing_got_event(GdkDisplay *display, GList *event_link, GdkEvent *event, gulong serial)
void _gdk_display_enable_motion_hints(GdkDisplay *display)
guint32 _gdk_gc_get_fg_pixel(GdkGC *gc)
GdkPixmap * _gdk_pixmap_new(GdkDrawable *drawable, gint width, gint height, gint depth)
void _gdk_windowing_window_process_updates_recurse(GdkWindow *window, GdkRegion *expose_region)
void _gdk_windowing_gc_get_foreground(GdkGC *gc, GdkColor *color)
GdkPointerGrabInfo * _gdk_display_add_pointer_grab(GdkDisplay *display, GdkWindow *window, GdkWindow *native_window, gboolean owner_events, GdkEventMask event_mask, unsigned long serial_start, guint32 time, gboolean implicit)
struct _GdkWindowPaint GdkWindowPaint
Definition: gdkinternals.h:200
void _gdk_windowing_exit(void)
GdkWindow * _gdk_window_find_descendant_at(GdkWindow *toplevel, double x, double y, double *found_x, double *found_y)
void _gdk_windowing_window_set_composited(GdkWindow *window, gboolean composited)
gint _gdk_error_code
cairo_surface_t * _gdk_drawable_create_cairo_surface(GdkDrawable *drawable, int width, int height)
void(* _gdk_modal_notify)(GdkWindow *, gboolean)
GList * _gdk_event_queue_find_first(GdkDisplay *display)
GdkEventFunc _gdk_event_func
void _gdk_windowing_window_destroy_foreign(GdkWindow *window)
void _gdk_windowing_event_data_copy(const GdkEvent *src, GdkEvent *dst)
GList * _gdk_event_queue_insert_after(GdkDisplay *display, GdkEvent *after_event, GdkEvent *event)
struct _GdkAtom * GdkAtom
Definition: gdktypes.h:80
GdkGrabStatus
Definition: gdktypes.h:176
GdkModifierType
Definition: gdktypes.h:127
GtkImageIconNameData name
Definition: gtkimage.h:6
GtkImageImageData image
Definition: gtkimage.h:1
PBD::PropertyDescriptor< uint32_t > color
PBD::PropertyDescriptor< bool > region
Transmitter info
GdkWindow * window
Definition: gdkinternals.h:183
gboolean implicit_ungrab
Definition: gdkinternals.h:193
GdkWindow * native_window
Definition: gdkinternals.h:184
GPtrArray * tables
Definition: gdkinternals.h:148
gpointer cb_data
Definition: gdkinternals.h:149
gpointer location
Definition: gdkinternals.h:156
GdkArgFunc callback
Definition: gdkinternals.h:157
const char * name
Definition: gdkinternals.h:154
GdkArgType type
Definition: gdkinternals.h:155
GdkColorInfoFlags flags
Definition: gdkinternals.h:58
GdkEventFilterFlags flags
Definition: gdkinternals.h:69
gpointer windowing_data
Definition: gdkinternals.h:177
GdkScreen * screen
Definition: gdkinternals.h:176
Definition: gdkgc.h:190
void(* end_paint)(GdkPaintable *paintable)
Definition: gdkinternals.h:538
GTypeInterface g_iface
Definition: gdkinternals.h:533
void(* begin_paint_region)(GdkPaintable *paintable, GdkWindow *window, const GdkRegion *region)
Definition: gdkinternals.h:535
GdkRegion * update_area
Definition: gdkinternals.h:226
GdkCursor * cursor
Definition: gdkinternals.h:263
cairo_surface_t * cairo_surface
Definition: gdkinternals.h:281
GdkDrawable * impl
Definition: gdkinternals.h:207
GdkPixmap * bg_pixmap
Definition: gdkinternals.h:222
guint update_and_descendants_freeze_count
Definition: gdkinternals.h:248
gint8 toplevel_window_type
Definition: gdkinternals.h:264
GdkRegion * input_shape
Definition: gdkinternals.h:279
guint update_freeze_count
Definition: gdkinternals.h:227
guint num_offscreen_children
Definition: gdkinternals.h:272
GdkRegion * clip_region
Definition: gdkinternals.h:261
GdkDrawable parent_instance
Definition: gdkinternals.h:205
GdkEventMask event_mask
Definition: gdkinternals.h:246
guint outstanding_surfaces
Definition: gdkinternals.h:282
guint synthesize_crossing_event_queued
Definition: gdkinternals.h:265
GdkWindowPaint * implicit_paint
Definition: gdkinternals.h:273
GdkInputWindow * input_window
Definition: gdkinternals.h:274
GSList * paint_stack
Definition: gdkinternals.h:224
GdkWindowObject * parent
Definition: gdkinternals.h:209
GdkWindowObject * impl_window
Definition: gdkinternals.h:257
GList * outstanding_moves
Definition: gdkinternals.h:276
GdkWindowRedirect * redirect
Definition: gdkinternals.h:250
GdkRegion * shape
Definition: gdkinternals.h:278
guint effective_visibility
Definition: gdkinternals.h:266
GdkWindowState state
Definition: gdkinternals.h:233
cairo_pattern_t * background
Definition: gdkinternals.h:284
gpointer user_data
Definition: gdkinternals.h:211
GdkRegion * clip_region_with_children
Definition: gdkinternals.h:262
gint height
Definition: xcursors.h:1
gint width
Definition: xcursors.h:1