Ardour  9.0-pre0-582-g084a23a80d
gdkinternals.h File Reference
#include <gio/gio.h>
#include <gdk/gdktypes.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdkprivate.h>
Include dependency graph for gdkinternals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GdkColorInfo
 
struct  _GdkEventFilter
 
struct  _GdkClientFilter
 
struct  _GdkFontPrivate
 
struct  _GdkArgContext
 
struct  _GdkArgDesc
 
struct  _GdkEventPrivate
 
struct  GdkPointerGrabInfo
 
struct  _GdkWindowObject
 
struct  _GdkPaintableIface
 
struct  GdkAppLaunchContextPrivate
 

Macros

#define GDK_NOTE(type, action)
 
#define GDK_WINDOW_TYPE(d)   (((GdkWindowObject*)(GDK_WINDOW (d)))->window_type)
 
#define GDK_WINDOW_DESTROYED(d)   (((GdkWindowObject*)(GDK_WINDOW (d)))->destroyed)
 
#define GDK_SCRATCH_IMAGE_WIDTH   256
 
#define GDK_SCRATCH_IMAGE_HEIGHT   64
 
#define GDK_WINDOW_IS_MAPPED(window)   ((((GdkWindowObject*)window)->state & GDK_WINDOW_STATE_WITHDRAWN) == 0)
 
#define GDK_TYPE_PAINTABLE   (_gdk_paintable_get_type ())
 
#define GDK_PAINTABLE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_PAINTABLE, GdkPaintable))
 
#define GDK_IS_PAINTABLE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_PAINTABLE))
 
#define GDK_PAINTABLE_GET_IFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDK_TYPE_PAINTABLE, GdkPaintableIface))
 
#define GDK_TYPE_OFFSCREEN_WINDOW   (gdk_offscreen_window_get_type())
 
#define GDK_OFFSCREEN_WINDOW(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_OFFSCREEN_WINDOW, GdkOffscreenWindow))
 
#define GDK_IS_OFFSCREEN_WINDOW(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_OFFSCREEN_WINDOW))
 

Typedefs

typedef typedefG_BEGIN_DECLS struct _GdkColorInfo GdkColorInfo
 
typedef struct _GdkEventFilter GdkEventFilter
 
typedef struct _GdkClientFilter GdkClientFilter
 
typedef struct _GdkFontPrivate GdkFontPrivate
 
typedef struct _GdkArgContext GdkArgContext
 
typedef struct _GdkArgDesc GdkArgDesc
 
typedef void(* GdkArgFunc) (const char *name, const char *arg, gpointer data)
 
typedef struct _GdkEventPrivate GdkEventPrivate
 
typedef struct _GdkInputWindow GdkInputWindow
 
typedef struct _GdkWindowPaint GdkWindowPaint
 
typedef struct _GdkPaintable GdkPaintable
 
typedef struct _GdkPaintableIface GdkPaintableIface
 
typedef struct _GdkOffscreenWindow GdkOffscreenWindow
 

Enumerations

enum  GdkColorInfoFlags { GDK_COLOR_WRITEABLE = 1 << 0 }
 
enum  GdkEventFilterFlags { GDK_EVENT_FILTER_REMOVED = 1 << 0 }
 
enum  GdkDebugFlag {
  GDK_DEBUG_MISC = 1 << 0 , GDK_DEBUG_EVENTS = 1 << 1 , GDK_DEBUG_DND = 1 << 2 , GDK_DEBUG_XIM = 1 << 3 ,
  GDK_DEBUG_NOGRABS = 1 << 4 , GDK_DEBUG_COLORMAP = 1 << 5 , GDK_DEBUG_GDKRGB = 1 << 6 , GDK_DEBUG_GC = 1 << 7 ,
  GDK_DEBUG_PIXMAP = 1 << 8 , GDK_DEBUG_IMAGE = 1 << 9 , GDK_DEBUG_INPUT = 1 <<10 , GDK_DEBUG_CURSOR = 1 <<11 ,
  GDK_DEBUG_MULTIHEAD = 1 <<12 , GDK_DEBUG_XINERAMA = 1 <<13 , GDK_DEBUG_DRAW = 1 <<14 , GDK_DEBUG_EVENTLOOP = 1 <<15 ,
  GDK_DEBUG_TOUCH = 1 <<16
}
 
enum  GdkArgType {
  GDK_ARG_STRING , GDK_ARG_INT , GDK_ARG_BOOL , GDK_ARG_NOBOOL ,
  GDK_ARG_CALLBACK
}
 
enum  GdkEventFlags { GDK_EVENT_PENDING = 1 << 0 }
 

Functions

void _gdk_events_queue (GdkDisplay *display)
 
GdkEvent_gdk_event_unqueue (GdkDisplay *display)
 
void _gdk_event_filter_unref (GdkWindow *window, GdkEventFilter *filter)
 
GList * _gdk_event_queue_find_first (GdkDisplay *display)
 
void _gdk_event_queue_remove_link (GdkDisplay *display, GList *node)
 
GList * _gdk_event_queue_prepend (GdkDisplay *display, GdkEvent *event)
 
GList * _gdk_event_queue_append (GdkDisplay *display, GdkEvent *event)
 
GList * _gdk_event_queue_insert_after (GdkDisplay *display, GdkEvent *after_event, GdkEvent *event)
 
GList * _gdk_event_queue_insert_before (GdkDisplay *display, GdkEvent *after_event, GdkEvent *event)
 
void _gdk_event_button_generate (GdkDisplay *display, GdkEvent *event)
 
void _gdk_windowing_event_data_copy (const GdkEvent *src, GdkEvent *dst)
 
void _gdk_windowing_event_data_free (GdkEvent *event)
 
void gdk_synthesize_window_state (GdkWindow *window, GdkWindowState unset_flags, GdkWindowState set_flags)
 
GdkImage_gdk_image_new_for_depth (GdkScreen *screen, GdkImageType type, GdkVisual *visual, gint width, gint height, gint depth)
 
GdkImage_gdk_image_get_scratch (GdkScreen *screen, gint width, gint height, gint depth, gint *x, gint *y)
 
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)
 
cairo_surface_t * _gdk_drawable_ref_cairo_surface (GdkDrawable *drawable)
 
GdkDrawable_gdk_drawable_get_source_drawable (GdkDrawable *drawable)
 
cairo_surface_t * _gdk_drawable_create_cairo_surface (GdkDrawable *drawable, int width, int height)
 
GdkGC_gdk_drawable_get_scratch_gc (GdkDrawable *drawable, gboolean graphics_exposures)
 
GdkGC_gdk_drawable_get_subwindow_scratch_gc (GdkDrawable *drawable)
 
void _gdk_gc_update_context (GdkGC *gc, cairo_t *cr, const GdkColor *override_foreground, GdkBitmap *override_stipple, gboolean gc_changed, GdkDrawable *target_drawable)
 
GdkPixmap_gdk_pixmap_new (GdkDrawable *drawable, gint width, gint height, gint depth)
 
GdkPixmap_gdk_pixmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height, gint depth, const GdkColor *fg, const GdkColor *bg)
 
GdkPixmap_gdk_bitmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height)
 
void _gdk_window_impl_new (GdkWindow *window, GdkWindow *real_parent, GdkScreen *screen, GdkVisual *visual, GdkEventMask event_mask, GdkWindowAttr *attributes, gint attributes_mask)
 
void _gdk_window_destroy (GdkWindow *window, gboolean foreign_destroy)
 
void _gdk_window_clear_update_area (GdkWindow *window)
 
void _gdk_window_update_size (GdkWindow *window)
 
gboolean _gdk_window_update_viewable (GdkWindow *window)
 
void _gdk_window_process_updates_recurse (GdkWindow *window, GdkRegion *expose_region)
 
void _gdk_screen_close (GdkScreen *screen)
 
const char * _gdk_get_sm_client_id (void)
 
void _gdk_gc_init (GdkGC *gc, GdkDrawable *drawable, GdkGCValues *values, GdkGCValuesMask values_mask)
 
GdkRegion_gdk_gc_get_clip_region (GdkGC *gc)
 
GdkBitmap_gdk_gc_get_clip_mask (GdkGC *gc)
 
gboolean _gdk_gc_get_exposures (GdkGC *gc)
 
GdkFill _gdk_gc_get_fill (GdkGC *gc)
 
GdkPixmap_gdk_gc_get_tile (GdkGC *gc)
 
GdkBitmap_gdk_gc_get_stipple (GdkGC *gc)
 
guint32 _gdk_gc_get_fg_pixel (GdkGC *gc)
 
guint32 _gdk_gc_get_bg_pixel (GdkGC *gc)
 
void _gdk_gc_add_drawable_clip (GdkGC *gc, guint32 region_tag, GdkRegion *region, int offset_x, int offset_y)
 
void _gdk_gc_remove_drawable_clip (GdkGC *gc)
 
void _gdk_gc_set_clip_region_internal (GdkGC *gc, GdkRegion *region, gboolean reset_origin)
 
GdkSubwindowMode _gdk_gc_get_subwindow (GdkGC *gc)
 
GdkDrawable_gdk_drawable_begin_direct_draw (GdkDrawable *drawable, GdkGC *gc, gpointer *priv_data, gint *x_offset_out, gint *y_offset_out)
 
void _gdk_drawable_end_direct_draw (gpointer priv_data)
 
gint _gdk_font_strlen (GdkFont *font, const char *str)
 
void _gdk_font_destroy (GdkFont *font)
 
void _gdk_colormap_real_destroy (GdkColormap *colormap)
 
void _gdk_cursor_destroy (GdkCursor *cursor)
 
void _gdk_windowing_init (void)
 
void _gdk_windowing_set_default_display (GdkDisplay *display)
 
gchar * _gdk_windowing_substitute_screen_number (const gchar *display_name, gint screen_number)
 
gulong _gdk_windowing_window_get_next_serial (GdkDisplay *display)
 
void _gdk_windowing_window_get_offsets (GdkWindow *window, gint *x_offset, gint *y_offset)
 
GdkRegion_gdk_windowing_window_get_shape (GdkWindow *window)
 
GdkRegion_gdk_windowing_window_get_input_shape (GdkWindow *window)
 
GdkRegion_gdk_windowing_get_shape_for_mask (GdkBitmap *mask)
 
void _gdk_windowing_window_beep (GdkWindow *window)
 
void _gdk_windowing_get_pointer (GdkDisplay *display, GdkScreen **screen, gint *x, gint *y, GdkModifierType *mask)
 
GdkWindow_gdk_windowing_window_at_pointer (GdkDisplay *display, gint *win_x, gint *win_y, GdkModifierType *mask, gboolean get_toplevel)
 
GdkGrabStatus _gdk_windowing_pointer_grab (GdkWindow *window, GdkWindow *native, gboolean owner_events, GdkEventMask event_mask, GdkWindow *confine_to, GdkCursor *cursor, guint32 time)
 
void _gdk_windowing_got_event (GdkDisplay *display, GList *event_link, GdkEvent *event, gulong serial)
 
void _gdk_windowing_window_process_updates_recurse (GdkWindow *window, GdkRegion *expose_region)
 
void _gdk_windowing_before_process_all_updates (void)
 
void _gdk_windowing_after_process_all_updates (void)
 
gint _gdk_windowing_get_bits_for_depth (GdkDisplay *display, gint depth)
 
void _gdk_windowing_window_destroy_foreign (GdkWindow *window)
 
void _gdk_windowing_display_set_sm_client_id (GdkDisplay *display, const gchar *sm_client_id)
 
void _gdk_windowing_window_set_composited (GdkWindow *window, gboolean composited)
 
GType _gdk_paintable_get_type (void) G_GNUC_CONST
 
GType _gdk_window_impl_get_type (void) G_GNUC_CONST
 
GType _gdk_pixmap_impl_get_type (void) G_GNUC_CONST
 
void _gdk_windowing_gc_set_clip_region (GdkGC *gc, const GdkRegion *region, gboolean reset_origin)
 
void _gdk_windowing_gc_copy (GdkGC *dst_gc, GdkGC *src_gc)
 
void _gdk_windowing_gc_get_foreground (GdkGC *gc, GdkColor *color)
 
void _gdk_windowing_gc_get_background (GdkGC *gc, GdkColor *color)
 
char * _gdk_windowing_get_startup_notify_id (GAppLaunchContext *context, GAppInfo *info, GList *files)
 
void _gdk_windowing_launch_failed (GAppLaunchContext *context, const char *startup_notify_id)
 
GdkPointerGrabInfo_gdk_display_get_active_pointer_grab (GdkDisplay *display)
 
void _gdk_display_pointer_grab_update (GdkDisplay *display, gulong current_serial)
 
GdkPointerGrabInfo_gdk_display_get_last_pointer_grab (GdkDisplay *display)
 
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)
 
GdkPointerGrabInfo_gdk_display_has_pointer_grab (GdkDisplay *display, gulong serial)
 
gboolean _gdk_display_end_pointer_grab (GdkDisplay *display, gulong serial, GdkWindow *if_child, gboolean implicit)
 
void _gdk_display_set_has_keyboard_grab (GdkDisplay *display, GdkWindow *window, GdkWindow *native_window, gboolean owner_events, unsigned long serial, guint32 time)
 
void _gdk_display_unset_has_keyboard_grab (GdkDisplay *display, gboolean implicit)
 
void _gdk_display_enable_motion_hints (GdkDisplay *display)
 
void _gdk_window_invalidate_for_expose (GdkWindow *window, GdkRegion *region)
 
void _gdk_windowing_set_cairo_surface_size (cairo_surface_t *surface, int width, int height)
 
cairo_surface_t * _gdk_windowing_create_cairo_surface (GdkDrawable *drawable, int width, int height)
 
GdkWindow_gdk_window_find_child_at (GdkWindow *window, int x, int y)
 
GdkWindow_gdk_window_find_descendant_at (GdkWindow *toplevel, double x, double y, double *found_x, double *found_y)
 
void _gdk_window_add_damage (GdkWindow *toplevel, GdkRegion *damaged_region)
 
GdkEvent_gdk_make_event (GdkWindow *window, GdkEventType type, GdkEvent *event_in_queue, gboolean before_event)
 
gboolean _gdk_window_event_parent_of (GdkWindow *parent, GdkWindow *child)
 
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)
 
void _gdk_display_set_window_under_pointer (GdkDisplay *display, GdkWindow *window)
 
void _gdk_synthesize_crossing_events_for_geometry_change (GdkWindow *changed_window)
 
GdkRegion_gdk_window_calculate_full_clip_region (GdkWindow *window, GdkWindow *base_window, gboolean do_children, gint *base_x_offset, gint *base_y_offset)
 
gboolean _gdk_window_has_impl (GdkWindow *window)
 
GdkWindow_gdk_window_get_impl_window (GdkWindow *window)
 
GdkWindow_gdk_window_get_input_window_for_event (GdkWindow *native_window, GdkEventType event_type, GdkModifierType mask, int x, int y, gulong serial)
 
GdkRegion_gdk_region_new_from_yxbanded_rects (GdkRectangle *rects, int n_rects)
 
GType gdk_offscreen_window_get_type (void)
 
GdkDrawable_gdk_offscreen_window_get_real_drawable (GdkOffscreenWindow *window)
 
void _gdk_offscreen_window_new (GdkWindow *window, GdkScreen *screen, GdkVisual *visual, GdkWindowAttr *attributes, gint attributes_mask)
 
void _gdk_image_exit (void)
 
void _gdk_windowing_exit (void)
 

Variables

GList * _gdk_default_filters
 
GdkWindow_gdk_parent_root
 
gint _gdk_error_code
 
gint _gdk_error_warnings
 
guint _gdk_debug_flags
 
gboolean _gdk_native_windows
 
GdkEventFunc _gdk_event_func
 
gpointer _gdk_event_data
 
GDestroyNotify _gdk_event_notify
 
GSList * _gdk_displays
 
gchar * _gdk_display_name
 
gint _gdk_screen_number
 
gchar * _gdk_display_arg_name
 
const GOptionEntry _gdk_windowing_args []
 
void(* _gdk_modal_notify )(GdkWindow *, gboolean)
 

Macro Definition Documentation

◆ GDK_IS_OFFSCREEN_WINDOW

#define GDK_IS_OFFSCREEN_WINDOW (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_OFFSCREEN_WINDOW))

Definition at line 696 of file gdkinternals.h.

◆ GDK_IS_PAINTABLE

#define GDK_IS_PAINTABLE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_PAINTABLE))

Definition at line 526 of file gdkinternals.h.

◆ GDK_NOTE

#define GDK_NOTE (   type,
  action 
)

Definition at line 127 of file gdkinternals.h.

◆ GDK_OFFSCREEN_WINDOW

#define GDK_OFFSCREEN_WINDOW (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_OFFSCREEN_WINDOW, GdkOffscreenWindow))

Definition at line 695 of file gdkinternals.h.

◆ GDK_PAINTABLE

#define GDK_PAINTABLE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_PAINTABLE, GdkPaintable))

Definition at line 525 of file gdkinternals.h.

◆ GDK_PAINTABLE_GET_IFACE

#define GDK_PAINTABLE_GET_IFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDK_TYPE_PAINTABLE, GdkPaintableIface))

Definition at line 527 of file gdkinternals.h.

◆ GDK_SCRATCH_IMAGE_HEIGHT

#define GDK_SCRATCH_IMAGE_HEIGHT   64

Definition at line 331 of file gdkinternals.h.

◆ GDK_SCRATCH_IMAGE_WIDTH

#define GDK_SCRATCH_IMAGE_WIDTH   256

Definition at line 330 of file gdkinternals.h.

◆ GDK_TYPE_OFFSCREEN_WINDOW

#define GDK_TYPE_OFFSCREEN_WINDOW   (gdk_offscreen_window_get_type())

Definition at line 694 of file gdkinternals.h.

◆ GDK_TYPE_PAINTABLE

#define GDK_TYPE_PAINTABLE   (_gdk_paintable_get_type ())

Definition at line 524 of file gdkinternals.h.

◆ GDK_WINDOW_DESTROYED

#define GDK_WINDOW_DESTROYED (   d)    (((GdkWindowObject*)(GDK_WINDOW (d)))->destroyed)

Definition at line 289 of file gdkinternals.h.

◆ GDK_WINDOW_IS_MAPPED

#define GDK_WINDOW_IS_MAPPED (   window)    ((((GdkWindowObject*)window)->state & GDK_WINDOW_STATE_WITHDRAWN) == 0)

Definition at line 508 of file gdkinternals.h.

◆ GDK_WINDOW_TYPE

#define GDK_WINDOW_TYPE (   d)    (((GdkWindowObject*)(GDK_WINDOW (d)))->window_type)

Definition at line 288 of file gdkinternals.h.

Typedef Documentation

◆ GdkArgContext

typedef struct _GdkArgContext GdkArgContext

Definition at line 117 of file gdkinternals.h.

◆ GdkArgDesc

typedef struct _GdkArgDesc GdkArgDesc

Definition at line 117 of file gdkinternals.h.

◆ GdkArgFunc

typedef void(* GdkArgFunc) (const char *name, const char *arg, gpointer data)

Definition at line 145 of file gdkinternals.h.

◆ GdkClientFilter

Definition at line 40 of file gdkinternals.h.

◆ GdkColorInfo

typedef typedefG_BEGIN_DECLS struct _GdkColorInfo GdkColorInfo

Definition at line 40 of file gdkinternals.h.

◆ GdkEventFilter

Definition at line 40 of file gdkinternals.h.

◆ GdkEventPrivate

Definition at line 145 of file gdkinternals.h.

◆ GdkFontPrivate

Definition at line 40 of file gdkinternals.h.

◆ GdkInputWindow

Definition at line 145 of file gdkinternals.h.

◆ GdkOffscreenWindow

typedef struct _GdkOffscreenWindow GdkOffscreenWindow

Definition at line 688 of file gdkinternals.h.

◆ GdkPaintable

typedef struct _GdkPaintable GdkPaintable

Definition at line 521 of file gdkinternals.h.

◆ GdkPaintableIface

Definition at line 521 of file gdkinternals.h.

◆ GdkWindowPaint

typedef struct _GdkWindowPaint GdkWindowPaint

Definition at line 145 of file gdkinternals.h.

Enumeration Type Documentation

◆ GdkArgType

enum GdkArgType
Enumerator
GDK_ARG_STRING 
GDK_ARG_INT 
GDK_ARG_BOOL 
GDK_ARG_NOBOOL 
GDK_ARG_CALLBACK 

Definition at line 133 of file gdkinternals.h.

◆ GdkColorInfoFlags

Enumerator
GDK_COLOR_WRITEABLE 

Definition at line 52 of file gdkinternals.h.

◆ GdkDebugFlag

Enumerator
GDK_DEBUG_MISC 
GDK_DEBUG_EVENTS 
GDK_DEBUG_DND 
GDK_DEBUG_XIM 
GDK_DEBUG_NOGRABS 
GDK_DEBUG_COLORMAP 
GDK_DEBUG_GDKRGB 
GDK_DEBUG_GC 
GDK_DEBUG_PIXMAP 
GDK_DEBUG_IMAGE 
GDK_DEBUG_INPUT 
GDK_DEBUG_CURSOR 
GDK_DEBUG_MULTIHEAD 
GDK_DEBUG_XINERAMA 
GDK_DEBUG_DRAW 
GDK_DEBUG_EVENTLOOP 
GDK_DEBUG_TOUCH 

Definition at line 79 of file gdkinternals.h.

◆ GdkEventFilterFlags

Enumerator
GDK_EVENT_FILTER_REMOVED 

Definition at line 62 of file gdkinternals.h.

◆ GdkEventFlags

Enumerator
GDK_EVENT_PENDING 

Definition at line 165 of file gdkinternals.h.

Function Documentation

◆ _gdk_bitmap_create_from_data()

GdkPixmap* _gdk_bitmap_create_from_data ( GdkDrawable drawable,
const gchar *  data,
gint  width,
gint  height 
)

◆ _gdk_colormap_real_destroy()

void _gdk_colormap_real_destroy ( GdkColormap colormap)

◆ _gdk_cursor_destroy()

void _gdk_cursor_destroy ( GdkCursor cursor)

◆ _gdk_display_add_pointer_grab()

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 
)

◆ _gdk_display_enable_motion_hints()

void _gdk_display_enable_motion_hints ( GdkDisplay display)

◆ _gdk_display_end_pointer_grab()

gboolean _gdk_display_end_pointer_grab ( GdkDisplay display,
gulong  serial,
GdkWindow if_child,
gboolean  implicit 
)

◆ _gdk_display_get_active_pointer_grab()

GdkPointerGrabInfo* _gdk_display_get_active_pointer_grab ( GdkDisplay display)

◆ _gdk_display_get_last_pointer_grab()

GdkPointerGrabInfo* _gdk_display_get_last_pointer_grab ( GdkDisplay display)

◆ _gdk_display_has_pointer_grab()

GdkPointerGrabInfo* _gdk_display_has_pointer_grab ( GdkDisplay display,
gulong  serial 
)

◆ _gdk_display_pointer_grab_update()

void _gdk_display_pointer_grab_update ( GdkDisplay display,
gulong  current_serial 
)

◆ _gdk_display_set_has_keyboard_grab()

void _gdk_display_set_has_keyboard_grab ( GdkDisplay display,
GdkWindow window,
GdkWindow native_window,
gboolean  owner_events,
unsigned long  serial,
guint32  time 
)

◆ _gdk_display_set_window_under_pointer()

void _gdk_display_set_window_under_pointer ( GdkDisplay display,
GdkWindow window 
)

◆ _gdk_display_unset_has_keyboard_grab()

void _gdk_display_unset_has_keyboard_grab ( GdkDisplay display,
gboolean  implicit 
)

◆ _gdk_drawable_begin_direct_draw()

GdkDrawable* _gdk_drawable_begin_direct_draw ( GdkDrawable drawable,
GdkGC gc,
gpointer *  priv_data,
gint *  x_offset_out,
gint *  y_offset_out 
)

◆ _gdk_drawable_copy_to_image()

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 
)

◆ _gdk_drawable_create_cairo_surface()

cairo_surface_t* _gdk_drawable_create_cairo_surface ( GdkDrawable drawable,
int  width,
int  height 
)

◆ _gdk_drawable_end_direct_draw()

void _gdk_drawable_end_direct_draw ( gpointer  priv_data)

◆ _gdk_drawable_get_scratch_gc()

GdkGC* _gdk_drawable_get_scratch_gc ( GdkDrawable drawable,
gboolean  graphics_exposures 
)

◆ _gdk_drawable_get_source_drawable()

GdkDrawable* _gdk_drawable_get_source_drawable ( GdkDrawable drawable)

◆ _gdk_drawable_get_subwindow_scratch_gc()

GdkGC* _gdk_drawable_get_subwindow_scratch_gc ( GdkDrawable drawable)

◆ _gdk_drawable_ref_cairo_surface()

cairo_surface_t* _gdk_drawable_ref_cairo_surface ( GdkDrawable drawable)

◆ _gdk_event_button_generate()

void _gdk_event_button_generate ( GdkDisplay display,
GdkEvent event 
)

◆ _gdk_event_filter_unref()

void _gdk_event_filter_unref ( GdkWindow window,
GdkEventFilter filter 
)

◆ _gdk_event_queue_append()

GList* _gdk_event_queue_append ( GdkDisplay display,
GdkEvent event 
)

◆ _gdk_event_queue_find_first()

GList* _gdk_event_queue_find_first ( GdkDisplay display)

◆ _gdk_event_queue_insert_after()

GList* _gdk_event_queue_insert_after ( GdkDisplay display,
GdkEvent after_event,
GdkEvent event 
)

◆ _gdk_event_queue_insert_before()

GList* _gdk_event_queue_insert_before ( GdkDisplay display,
GdkEvent after_event,
GdkEvent event 
)

◆ _gdk_event_queue_prepend()

GList* _gdk_event_queue_prepend ( GdkDisplay display,
GdkEvent event 
)

◆ _gdk_event_queue_remove_link()

void _gdk_event_queue_remove_link ( GdkDisplay display,
GList *  node 
)

◆ _gdk_event_unqueue()

GdkEvent* _gdk_event_unqueue ( GdkDisplay display)

◆ _gdk_events_queue()

void _gdk_events_queue ( GdkDisplay display)

◆ _gdk_font_destroy()

void _gdk_font_destroy ( GdkFont font)

◆ _gdk_font_strlen()

gint _gdk_font_strlen ( GdkFont font,
const char *  str 
)

◆ _gdk_gc_add_drawable_clip()

void _gdk_gc_add_drawable_clip ( GdkGC gc,
guint32  region_tag,
GdkRegion region,
int  offset_x,
int  offset_y 
)

◆ _gdk_gc_get_bg_pixel()

guint32 _gdk_gc_get_bg_pixel ( GdkGC gc)

◆ _gdk_gc_get_clip_mask()

GdkBitmap* _gdk_gc_get_clip_mask ( GdkGC gc)

◆ _gdk_gc_get_clip_region()

GdkRegion* _gdk_gc_get_clip_region ( GdkGC gc)

◆ _gdk_gc_get_exposures()

gboolean _gdk_gc_get_exposures ( GdkGC gc)

◆ _gdk_gc_get_fg_pixel()

guint32 _gdk_gc_get_fg_pixel ( GdkGC gc)

◆ _gdk_gc_get_fill()

GdkFill _gdk_gc_get_fill ( GdkGC gc)

◆ _gdk_gc_get_stipple()

GdkBitmap* _gdk_gc_get_stipple ( GdkGC gc)

◆ _gdk_gc_get_subwindow()

GdkSubwindowMode _gdk_gc_get_subwindow ( GdkGC gc)

◆ _gdk_gc_get_tile()

GdkPixmap* _gdk_gc_get_tile ( GdkGC gc)

◆ _gdk_gc_init()

void _gdk_gc_init ( GdkGC gc,
GdkDrawable drawable,
GdkGCValues values,
GdkGCValuesMask  values_mask 
)

◆ _gdk_gc_remove_drawable_clip()

void _gdk_gc_remove_drawable_clip ( GdkGC gc)

◆ _gdk_gc_set_clip_region_internal()

void _gdk_gc_set_clip_region_internal ( GdkGC gc,
GdkRegion region,
gboolean  reset_origin 
)

◆ _gdk_gc_update_context()

void _gdk_gc_update_context ( GdkGC gc,
cairo_t *  cr,
const GdkColor override_foreground,
GdkBitmap override_stipple,
gboolean  gc_changed,
GdkDrawable target_drawable 
)

◆ _gdk_get_sm_client_id()

const char* _gdk_get_sm_client_id ( void  )

◆ _gdk_image_exit()

void _gdk_image_exit ( void  )

◆ _gdk_image_get_scratch()

GdkImage* _gdk_image_get_scratch ( GdkScreen screen,
gint  width,
gint  height,
gint  depth,
gint *  x,
gint *  y 
)

◆ _gdk_image_new_for_depth()

GdkImage* _gdk_image_new_for_depth ( GdkScreen screen,
GdkImageType  type,
GdkVisual visual,
gint  width,
gint  height,
gint  depth 
)

◆ _gdk_make_event()

GdkEvent* _gdk_make_event ( GdkWindow window,
GdkEventType  type,
GdkEvent event_in_queue,
gboolean  before_event 
)

◆ _gdk_offscreen_window_get_real_drawable()

GdkDrawable* _gdk_offscreen_window_get_real_drawable ( GdkOffscreenWindow window)

◆ _gdk_offscreen_window_new()

void _gdk_offscreen_window_new ( GdkWindow window,
GdkScreen screen,
GdkVisual visual,
GdkWindowAttr attributes,
gint  attributes_mask 
)

◆ _gdk_paintable_get_type()

GType _gdk_paintable_get_type ( void  )

◆ _gdk_pixmap_create_from_data()

GdkPixmap* _gdk_pixmap_create_from_data ( GdkDrawable drawable,
const gchar *  data,
gint  width,
gint  height,
gint  depth,
const GdkColor fg,
const GdkColor bg 
)

◆ _gdk_pixmap_impl_get_type()

GType _gdk_pixmap_impl_get_type ( void  )

◆ _gdk_pixmap_new()

GdkPixmap* _gdk_pixmap_new ( GdkDrawable drawable,
gint  width,
gint  height,
gint  depth 
)

◆ _gdk_region_new_from_yxbanded_rects()

GdkRegion* _gdk_region_new_from_yxbanded_rects ( GdkRectangle rects,
int  n_rects 
)

◆ _gdk_screen_close()

void _gdk_screen_close ( GdkScreen screen)

◆ _gdk_synthesize_crossing_events()

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 
)

◆ _gdk_synthesize_crossing_events_for_geometry_change()

void _gdk_synthesize_crossing_events_for_geometry_change ( GdkWindow changed_window)

◆ _gdk_window_add_damage()

void _gdk_window_add_damage ( GdkWindow toplevel,
GdkRegion damaged_region 
)

◆ _gdk_window_calculate_full_clip_region()

GdkRegion* _gdk_window_calculate_full_clip_region ( GdkWindow window,
GdkWindow base_window,
gboolean  do_children,
gint *  base_x_offset,
gint *  base_y_offset 
)

◆ _gdk_window_clear_update_area()

void _gdk_window_clear_update_area ( GdkWindow window)

◆ _gdk_window_destroy()

void _gdk_window_destroy ( GdkWindow window,
gboolean  foreign_destroy 
)

◆ _gdk_window_event_parent_of()

gboolean _gdk_window_event_parent_of ( GdkWindow parent,
GdkWindow child 
)

◆ _gdk_window_find_child_at()

GdkWindow* _gdk_window_find_child_at ( GdkWindow window,
int  x,
int  y 
)

◆ _gdk_window_find_descendant_at()

GdkWindow* _gdk_window_find_descendant_at ( GdkWindow toplevel,
double  x,
double  y,
double *  found_x,
double *  found_y 
)

◆ _gdk_window_get_impl_window()

GdkWindow* _gdk_window_get_impl_window ( GdkWindow window)

◆ _gdk_window_get_input_window_for_event()

GdkWindow* _gdk_window_get_input_window_for_event ( GdkWindow native_window,
GdkEventType  event_type,
GdkModifierType  mask,
int  x,
int  y,
gulong  serial 
)

◆ _gdk_window_has_impl()

gboolean _gdk_window_has_impl ( GdkWindow window)

◆ _gdk_window_impl_get_type()

GType _gdk_window_impl_get_type ( void  )

◆ _gdk_window_impl_new()

void _gdk_window_impl_new ( GdkWindow window,
GdkWindow real_parent,
GdkScreen screen,
GdkVisual visual,
GdkEventMask  event_mask,
GdkWindowAttr attributes,
gint  attributes_mask 
)

◆ _gdk_window_invalidate_for_expose()

void _gdk_window_invalidate_for_expose ( GdkWindow window,
GdkRegion region 
)

◆ _gdk_window_process_updates_recurse()

void _gdk_window_process_updates_recurse ( GdkWindow window,
GdkRegion expose_region 
)

◆ _gdk_window_update_size()

void _gdk_window_update_size ( GdkWindow window)

◆ _gdk_window_update_viewable()

gboolean _gdk_window_update_viewable ( GdkWindow window)

◆ _gdk_windowing_after_process_all_updates()

void _gdk_windowing_after_process_all_updates ( void  )

◆ _gdk_windowing_before_process_all_updates()

void _gdk_windowing_before_process_all_updates ( void  )

◆ _gdk_windowing_create_cairo_surface()

cairo_surface_t* _gdk_windowing_create_cairo_surface ( GdkDrawable drawable,
int  width,
int  height 
)

◆ _gdk_windowing_display_set_sm_client_id()

void _gdk_windowing_display_set_sm_client_id ( GdkDisplay display,
const gchar *  sm_client_id 
)

◆ _gdk_windowing_event_data_copy()

void _gdk_windowing_event_data_copy ( const GdkEvent src,
GdkEvent dst 
)

◆ _gdk_windowing_event_data_free()

void _gdk_windowing_event_data_free ( GdkEvent event)

◆ _gdk_windowing_exit()

void _gdk_windowing_exit ( void  )

◆ _gdk_windowing_gc_copy()

void _gdk_windowing_gc_copy ( GdkGC dst_gc,
GdkGC src_gc 
)

_gdk_windowing_gc_copy:

Parameters
dst_gca GdkGC from the GDK backend
src_gca GdkGC from the GDK backend

Copies backend specific state from src_gc to dst_gc. This is called before the generic state is copied, so the old generic state is still available from dst_gc

◆ _gdk_windowing_gc_get_background()

void _gdk_windowing_gc_get_background ( GdkGC gc,
GdkColor color 
)

◆ _gdk_windowing_gc_get_foreground()

void _gdk_windowing_gc_get_foreground ( GdkGC gc,
GdkColor color 
)

◆ _gdk_windowing_gc_set_clip_region()

void _gdk_windowing_gc_set_clip_region ( GdkGC gc,
const GdkRegion region,
gboolean  reset_origin 
)

_gdk_windowing_gc_set_clip_region:

Parameters
gca GdkGC
regionthe new clip region
reset_originif TRUE, reset the clip_x/y_origin values to 0

Do any window-system specific processing necessary for a change in clip region. Since the clip origin will likely change before the GC is used with the new clip, frequently this function will only set a flag and do the real processing later.

When this function is called, _gdk_gc_get_clip_region will already return the new region.

◆ _gdk_windowing_get_bits_for_depth()

gint _gdk_windowing_get_bits_for_depth ( GdkDisplay display,
gint  depth 
)

◆ _gdk_windowing_get_pointer()

void _gdk_windowing_get_pointer ( GdkDisplay display,
GdkScreen **  screen,
gint *  x,
gint *  y,
GdkModifierType mask 
)

◆ _gdk_windowing_get_shape_for_mask()

GdkRegion* _gdk_windowing_get_shape_for_mask ( GdkBitmap mask)

◆ _gdk_windowing_get_startup_notify_id()

char* _gdk_windowing_get_startup_notify_id ( GAppLaunchContext *  context,
GAppInfo *  info,
GList *  files 
)

◆ _gdk_windowing_got_event()

void _gdk_windowing_got_event ( GdkDisplay display,
GList *  event_link,
GdkEvent event,
gulong  serial 
)

◆ _gdk_windowing_init()

void _gdk_windowing_init ( void  )

◆ _gdk_windowing_launch_failed()

void _gdk_windowing_launch_failed ( GAppLaunchContext *  context,
const char *  startup_notify_id 
)

◆ _gdk_windowing_pointer_grab()

GdkGrabStatus _gdk_windowing_pointer_grab ( GdkWindow window,
GdkWindow native,
gboolean  owner_events,
GdkEventMask  event_mask,
GdkWindow confine_to,
GdkCursor cursor,
guint32  time 
)

◆ _gdk_windowing_set_cairo_surface_size()

void _gdk_windowing_set_cairo_surface_size ( cairo_surface_t *  surface,
int  width,
int  height 
)

◆ _gdk_windowing_set_default_display()

void _gdk_windowing_set_default_display ( GdkDisplay display)

◆ _gdk_windowing_substitute_screen_number()

gchar* _gdk_windowing_substitute_screen_number ( const gchar *  display_name,
gint  screen_number 
)

◆ _gdk_windowing_window_at_pointer()

GdkWindow* _gdk_windowing_window_at_pointer ( GdkDisplay display,
gint *  win_x,
gint *  win_y,
GdkModifierType mask,
gboolean  get_toplevel 
)

◆ _gdk_windowing_window_beep()

void _gdk_windowing_window_beep ( GdkWindow window)

◆ _gdk_windowing_window_destroy_foreign()

void _gdk_windowing_window_destroy_foreign ( GdkWindow window)

◆ _gdk_windowing_window_get_input_shape()

GdkRegion* _gdk_windowing_window_get_input_shape ( GdkWindow window)

◆ _gdk_windowing_window_get_next_serial()

gulong _gdk_windowing_window_get_next_serial ( GdkDisplay display)

◆ _gdk_windowing_window_get_offsets()

void _gdk_windowing_window_get_offsets ( GdkWindow window,
gint *  x_offset,
gint *  y_offset 
)

◆ _gdk_windowing_window_get_shape()

GdkRegion* _gdk_windowing_window_get_shape ( GdkWindow window)

◆ _gdk_windowing_window_process_updates_recurse()

void _gdk_windowing_window_process_updates_recurse ( GdkWindow window,
GdkRegion expose_region 
)

◆ _gdk_windowing_window_set_composited()

void _gdk_windowing_window_set_composited ( GdkWindow window,
gboolean  composited 
)

◆ gdk_offscreen_window_get_type()

GType gdk_offscreen_window_get_type ( void  )

◆ gdk_synthesize_window_state()

void gdk_synthesize_window_state ( GdkWindow window,
GdkWindowState  unset_flags,
GdkWindowState  set_flags 
)

Variable Documentation

◆ _gdk_debug_flags

guint _gdk_debug_flags
extern

◆ _gdk_default_filters

GList* _gdk_default_filters
extern

◆ _gdk_display_arg_name

gchar* _gdk_display_arg_name
extern

◆ _gdk_display_name

gchar* _gdk_display_name
extern

◆ _gdk_displays

GSList* _gdk_displays
extern

◆ _gdk_error_code

gint _gdk_error_code
extern

◆ _gdk_error_warnings

gint _gdk_error_warnings
extern

◆ _gdk_event_data

gpointer _gdk_event_data
extern

◆ _gdk_event_func

GdkEventFunc _gdk_event_func
extern

◆ _gdk_event_notify

GDestroyNotify _gdk_event_notify
extern

◆ _gdk_modal_notify

void(* _gdk_modal_notify) (GdkWindow *, gboolean) ( GdkWindow ,
gboolean   
)
extern

◆ _gdk_native_windows

gboolean _gdk_native_windows
extern

◆ _gdk_parent_root

GdkWindow* _gdk_parent_root
extern

◆ _gdk_screen_number

gint _gdk_screen_number
extern

◆ _gdk_windowing_args

const GOptionEntry _gdk_windowing_args[]
extern