24 #ifndef __GDK_DISPLAY_H__
25 #define __GDK_DISPLAY_H__
27 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
28 #error "Only <gdk/gdk.h> can be included directly."
39 #define GDK_TYPE_DISPLAY (gdk_display_get_type ())
40 #define GDK_DISPLAY_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY, GdkDisplay))
41 #define GDK_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DISPLAY, GdkDisplayClass))
42 #define GDK_IS_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY))
43 #define GDK_IS_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DISPLAY))
44 #define GDK_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DISPLAY, GdkDisplayClass))
84 guint32
GSEAL (button_click_time[2]);
88 guint
GSEAL (double_click_time);
93 guint
GSEAL (closed) : 1;
94 guint
GSEAL (ignore_core_events) : 1;
96 guint
GSEAL (double_click_distance);
198 #ifndef GDK_DISABLE_DEPRECATED
void gdk_display_get_pointer(GdkDisplay *display, GdkScreen **screen, gint *x, gint *y, GdkModifierType *mask)
GdkScreen * gdk_display_get_default_screen(GdkDisplay *display)
void gdk_display_set_double_click_distance(GdkDisplay *display, guint distance)
GType gdk_display_get_type(void) G_GNUC_CONST
void gdk_display_keyboard_ungrab(GdkDisplay *display, guint32 time_)
gboolean gdk_display_is_closed(GdkDisplay *display)
GdkWindow * gdk_display_get_default_group(GdkDisplay *display)
GdkWindow * gdk_display_get_window_at_pointer(GdkDisplay *display, gint *win_x, gint *win_y)
gint gdk_display_get_n_screens(GdkDisplay *display)
void gdk_display_flush(GdkDisplay *display)
void gdk_display_warp_pointer(GdkDisplay *display, GdkScreen *screen, gint x, gint y)
GdkScreen * gdk_display_get_screen(GdkDisplay *display, gint screen_num)
typedefG_BEGIN_DECLS struct _GdkDisplayClass GdkDisplayClass
gboolean gdk_display_pointer_is_grabbed(GdkDisplay *display)
guint gdk_display_get_default_cursor_size(GdkDisplay *display)
GdkEvent * gdk_display_get_event(GdkDisplay *display)
GdkDevice * gdk_display_get_core_pointer(GdkDisplay *display)
GList * gdk_display_list_devices(GdkDisplay *display)
void gdk_display_get_maximal_cursor_size(GdkDisplay *display, guint *width, guint *height)
void gdk_display_beep(GdkDisplay *display)
gboolean gdk_display_request_selection_notification(GdkDisplay *display, GdkAtom selection)
void gdk_display_close(GdkDisplay *display)
gboolean gdk_display_supports_input_shapes(GdkDisplay *display)
GdkDisplay * gdk_display_get_default(void)
gboolean gdk_display_supports_clipboard_persistence(GdkDisplay *display)
GdkDisplayPointerHooks * gdk_display_set_pointer_hooks(GdkDisplay *display, const GdkDisplayPointerHooks *new_hooks)
void gdk_display_store_clipboard(GdkDisplay *display, GdkWindow *clipboard_window, guint32 time_, const GdkAtom *targets, gint n_targets)
gboolean gdk_display_supports_selection_notification(GdkDisplay *display)
void gdk_display_pointer_ungrab(GdkDisplay *display, guint32 time_)
const gchar * gdk_display_get_name(GdkDisplay *display)
GdkDisplay * gdk_display_open(const gchar *display_name)
gboolean gdk_display_supports_cursor_alpha(GdkDisplay *display)
GdkEvent * gdk_display_peek_event(GdkDisplay *display)
gboolean gdk_display_supports_cursor_color(GdkDisplay *display)
void gdk_display_put_event(GdkDisplay *display, const GdkEvent *event)
void gdk_display_set_double_click_time(GdkDisplay *display, guint msec)
gboolean gdk_display_supports_shapes(GdkDisplay *display)
GdkDisplay * gdk_display_open_default_libgtk_only(void)
void gdk_display_add_client_message_filter(GdkDisplay *display, GdkAtom message_type, GdkFilterFunc func, gpointer data)
void gdk_display_sync(GdkDisplay *display)
gboolean gdk_display_supports_composite(GdkDisplay *display)
GdkFilterReturn(* GdkFilterFunc)(GdkXEvent *xevent, GdkEvent *event, gpointer data)
struct _GdkAtom * GdkAtom
GdkWindow * native_window
gulong motion_hint_serial
GdkWindow * toplevel_under_pointer
GdkWindow * window_under_pointer
gint(* get_n_screens)(GdkDisplay *display)
GObjectClass parent_class
void(* closed)(GdkDisplay *display, gboolean is_error)
void(* get_pointer)(GdkDisplay *display, GdkScreen **screen, gint *x, gint *y, GdkModifierType *mask)
GdkPointerWindowInfo GSEAL(pointer_info)
GList * GSEAL(queued_tail)
guint GSEAL(double_click_time)
GList * GSEAL(queued_events)
const GdkDisplayPointerHooks * GSEAL(pointer_hooks)
GList * GSEAL(pointer_grabs)
GdkKeyboardGrabInfo GSEAL(keyboard_grab)
GHashTable * GSEAL(touch_grabs)
GdkDevice * GSEAL(core_pointer)
guint32 GSEAL(last_event_time)
guint GSEAL(closed) guint GSEAL(ignore_core_events) guint GSEAL(double_click_distance)
gint GSEAL(button_number[2])
guint32 GSEAL(button_click_time[2])
GdkWindow * GSEAL(button_window[2])
link region and track selection