Commit ca810289 authored by Matthias Clasen's avatar Matthias Clasen

Add GDK_AVAILABLE_IN_ALL annotations in gdk

This is in preparation to modernizing our handing
of exported symbols.
parent 96d1a1e9
...@@ -47,6 +47,7 @@ typedef GdkCursor GdkBroadwayCursor; ...@@ -47,6 +47,7 @@ typedef GdkCursor GdkBroadwayCursor;
#endif #endif
typedef struct _GdkBroadwayCursorClass GdkBroadwayCursorClass; typedef struct _GdkBroadwayCursorClass GdkBroadwayCursorClass;
GDK_AVAILABLE_IN_ALL
GType gdk_broadway_cursor_get_type (void); GType gdk_broadway_cursor_get_type (void);
G_END_DECLS G_END_DECLS
......
/* gdkbroadwaydisplaymanager.h
*
* Copyright (C) 2005-2007 Imendio AB
* Copyright 2010 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GDK_BROADWAY_DISPLAY_MANAGER_H__
#define __GDK_BROADWAY_DISPLAY_MANAGER_H__
#if !defined(__GDKBROADWAY_H_INSIDE__) && !defined (GDK_COMPILATION)
#error "Only <gdk/gdkbroadway.h> can be included directly."
#endif
#include <gdk/gdk.h>
G_BEGIN_DECLS
#define GDK_TYPE_BROADWAY_DISPLAY_MANAGER (gdk_broadway_display_manager_get_type ())
#define GDK_BROADWAY_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_BROADWAY_DISPLAY_MANAGER, GdkBroadwayDisplayManager))
#ifdef GDK_COMPILATION
typedef struct _GdkBroadwayDisplayManager GdkBroadwayDisplayManager;
#else
typedef GdkDisplayManager _GdkBroadwayDisplayManager;
#endif
typedef struct _GdkDisplayManagerClass GdkBroadwayDisplayManagerClass;
GDK_AVAILABLE_IN_ALL
GType gdk_broadway_display_manager_get_type (void);
G_END_DECLS
#endif /* __GDK_BROADWAY_DISPLAY_MANAGER_H__ */
...@@ -38,6 +38,7 @@ typedef GdkVisual GdkBroadwayVisual; ...@@ -38,6 +38,7 @@ typedef GdkVisual GdkBroadwayVisual;
typedef struct _GdkBroadwayVisualClass GdkBroadwayVisualClass; typedef struct _GdkBroadwayVisualClass GdkBroadwayVisualClass;
GDK_AVAILABLE_IN_ALL
GType gdk_broadway_visual_get_type (void); GType gdk_broadway_visual_get_type (void);
G_END_DECLS G_END_DECLS
......
...@@ -43,8 +43,10 @@ typedef GdkWindow GdkBroadwayWindow; ...@@ -43,8 +43,10 @@ typedef GdkWindow GdkBroadwayWindow;
#endif #endif
typedef struct _GdkBroadwayWindowClass GdkBroadwayWindowClass; typedef struct _GdkBroadwayWindowClass GdkBroadwayWindowClass;
GDK_AVAILABLE_IN_ALL
GType gdk_broadway_window_get_type (void); GType gdk_broadway_window_get_type (void);
GDK_AVAILABLE_IN_ALL
guint32 gdk_broadway_get_last_seen_time (GdkWindow *window); guint32 gdk_broadway_get_last_seen_time (GdkWindow *window);
G_END_DECLS G_END_DECLS
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#define GDK_DISABLE_DEPRECATION_WARNINGS 1 #define GDK_DISABLE_DEPRECATION_WARNINGS 1
#include "gdkversionmacros.h"
#include "gdkmain.h" #include "gdkmain.h"
#include "gdkinternals.h" #include "gdkinternals.h"
......
...@@ -37,6 +37,7 @@ G_BEGIN_DECLS ...@@ -37,6 +37,7 @@ G_BEGIN_DECLS
#define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT)) #define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT))
GDK_AVAILABLE_IN_ALL
GType gdk_app_launch_context_get_type (void); GType gdk_app_launch_context_get_type (void);
GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context) GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
...@@ -44,14 +45,19 @@ GdkAppLaunchContext *gdk_app_launch_context_new (void); ...@@ -44,14 +45,19 @@ GdkAppLaunchContext *gdk_app_launch_context_new (void);
GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context) GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
void gdk_app_launch_context_set_display (GdkAppLaunchContext *context, void gdk_app_launch_context_set_display (GdkAppLaunchContext *context,
GdkDisplay *display); GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context, void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context,
GdkScreen *screen); GdkScreen *screen);
GDK_AVAILABLE_IN_ALL
void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context, void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,
gint desktop); gint desktop);
GDK_AVAILABLE_IN_ALL
void gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context, void gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context,
guint32 timestamp); guint32 timestamp);
GDK_AVAILABLE_IN_ALL
void gdk_app_launch_context_set_icon (GdkAppLaunchContext *context, void gdk_app_launch_context_set_icon (GdkAppLaunchContext *context,
GIcon *icon); GIcon *icon);
GDK_AVAILABLE_IN_ALL
void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context, void gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
const char *icon_name); const char *icon_name);
......
...@@ -30,26 +30,34 @@ ...@@ -30,26 +30,34 @@
G_BEGIN_DECLS G_BEGIN_DECLS
GDK_AVAILABLE_IN_ALL
cairo_t * gdk_cairo_create (GdkWindow *window); cairo_t * gdk_cairo_create (GdkWindow *window);
GDK_AVAILABLE_IN_ALL
gboolean gdk_cairo_get_clip_rectangle (cairo_t *cr, gboolean gdk_cairo_get_clip_rectangle (cairo_t *cr,
GdkRectangle *rect); GdkRectangle *rect);
GDK_AVAILABLE_IN_ALL
void gdk_cairo_set_source_rgba (cairo_t *cr, void gdk_cairo_set_source_rgba (cairo_t *cr,
const GdkRGBA *rgba); const GdkRGBA *rgba);
GDK_AVAILABLE_IN_ALL
void gdk_cairo_set_source_pixbuf (cairo_t *cr, void gdk_cairo_set_source_pixbuf (cairo_t *cr,
const GdkPixbuf *pixbuf, const GdkPixbuf *pixbuf,
gdouble pixbuf_x, gdouble pixbuf_x,
gdouble pixbuf_y); gdouble pixbuf_y);
GDK_AVAILABLE_IN_ALL
void gdk_cairo_set_source_window (cairo_t *cr, void gdk_cairo_set_source_window (cairo_t *cr,
GdkWindow *window, GdkWindow *window,
gdouble x, gdouble x,
gdouble y); gdouble y);
GDK_AVAILABLE_IN_ALL
void gdk_cairo_rectangle (cairo_t *cr, void gdk_cairo_rectangle (cairo_t *cr,
const GdkRectangle *rectangle); const GdkRectangle *rectangle);
GDK_AVAILABLE_IN_ALL
void gdk_cairo_region (cairo_t *cr, void gdk_cairo_region (cairo_t *cr,
const cairo_region_t *region); const cairo_region_t *region);
GDK_AVAILABLE_IN_ALL
cairo_region_t * cairo_region_t *
gdk_cairo_region_create_from_surface gdk_cairo_region_create_from_surface
(cairo_surface_t *surface); (cairo_surface_t *surface);
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <cairo.h> #include <cairo.h>
#include <gdk/gdktypes.h> #include <gdk/gdktypes.h>
#include <gdk/gdkversionmacros.h>
G_BEGIN_DECLS G_BEGIN_DECLS
...@@ -58,17 +59,24 @@ struct _GdkColor ...@@ -58,17 +59,24 @@ struct _GdkColor
#define GDK_TYPE_COLOR (gdk_color_get_type ()) #define GDK_TYPE_COLOR (gdk_color_get_type ())
GDK_AVAILABLE_IN_ALL
GType gdk_color_get_type (void) G_GNUC_CONST; GType gdk_color_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GdkColor *gdk_color_copy (const GdkColor *color); GdkColor *gdk_color_copy (const GdkColor *color);
GDK_AVAILABLE_IN_ALL
void gdk_color_free (GdkColor *color); void gdk_color_free (GdkColor *color);
GDK_AVAILABLE_IN_ALL
guint gdk_color_hash (const GdkColor *color); guint gdk_color_hash (const GdkColor *color);
GDK_AVAILABLE_IN_ALL
gboolean gdk_color_equal (const GdkColor *colora, gboolean gdk_color_equal (const GdkColor *colora,
const GdkColor *colorb); const GdkColor *colorb);
GDK_AVAILABLE_IN_ALL
gboolean gdk_color_parse (const gchar *spec, gboolean gdk_color_parse (const gchar *spec,
GdkColor *color); GdkColor *color);
GDK_AVAILABLE_IN_ALL
gchar * gdk_color_to_string (const GdkColor *color); gchar * gdk_color_to_string (const GdkColor *color);
......
...@@ -213,25 +213,33 @@ typedef enum ...@@ -213,25 +213,33 @@ typedef enum
/* Cursors /* Cursors
*/ */
GDK_AVAILABLE_IN_ALL
GType gdk_cursor_get_type (void) G_GNUC_CONST; GType gdk_cursor_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display, GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display,
GdkCursorType cursor_type); GdkCursorType cursor_type);
#ifndef GDK_MULTIHEAD_SAFE #ifndef GDK_MULTIHEAD_SAFE
GDK_AVAILABLE_IN_ALL
GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); GdkCursor* gdk_cursor_new (GdkCursorType cursor_type);
#endif #endif
GDK_AVAILABLE_IN_ALL
GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display, GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display,
GdkPixbuf *pixbuf, GdkPixbuf *pixbuf,
gint x, gint x,
gint y); gint y);
GDK_AVAILABLE_IN_ALL
GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display, GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
const gchar *name); const gchar *name);
GDK_AVAILABLE_IN_ALL
GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor); GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor);
GDK_DEPRECATED_IN_3_0_FOR(g_object_ref) GDK_DEPRECATED_IN_3_0_FOR(g_object_ref)
GdkCursor * gdk_cursor_ref (GdkCursor *cursor); GdkCursor * gdk_cursor_ref (GdkCursor *cursor);
GDK_DEPRECATED_IN_3_0_FOR(g_object_unref) GDK_DEPRECATED_IN_3_0_FOR(g_object_unref)
void gdk_cursor_unref (GdkCursor *cursor); void gdk_cursor_unref (GdkCursor *cursor);
GDK_AVAILABLE_IN_ALL
GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor); GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor);
GDK_AVAILABLE_IN_ALL
GdkCursorType gdk_cursor_get_cursor_type (GdkCursor *cursor); GdkCursorType gdk_cursor_get_cursor_type (GdkCursor *cursor);
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#error "Only <gdk/gdk.h> can be included directly." #error "Only <gdk/gdk.h> can be included directly."
#endif #endif
#include <gdk/gdkversionmacros.h>
#include <gdk/gdktypes.h> #include <gdk/gdktypes.h>
...@@ -141,75 +142,100 @@ struct _GdkTimeCoord ...@@ -141,75 +142,100 @@ struct _GdkTimeCoord
gdouble axes[GDK_MAX_TIMECOORD_AXES]; gdouble axes[GDK_MAX_TIMECOORD_AXES];
}; };
GDK_AVAILABLE_IN_ALL
GType gdk_device_get_type (void) G_GNUC_CONST; GType gdk_device_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
const gchar * gdk_device_get_name (GdkDevice *device); const gchar * gdk_device_get_name (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_has_cursor (GdkDevice *device); gboolean gdk_device_get_has_cursor (GdkDevice *device);
/* Functions to configure a device */ /* Functions to configure a device */
GDK_AVAILABLE_IN_ALL
GdkInputSource gdk_device_get_source (GdkDevice *device); GdkInputSource gdk_device_get_source (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GdkInputMode gdk_device_get_mode (GdkDevice *device); GdkInputMode gdk_device_get_mode (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_set_mode (GdkDevice *device, gboolean gdk_device_set_mode (GdkDevice *device,
GdkInputMode mode); GdkInputMode mode);
GDK_AVAILABLE_IN_ALL
gint gdk_device_get_n_keys (GdkDevice *device); gint gdk_device_get_n_keys (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_key (GdkDevice *device, gboolean gdk_device_get_key (GdkDevice *device,
guint index_, guint index_,
guint *keyval, guint *keyval,
GdkModifierType *modifiers); GdkModifierType *modifiers);
GDK_AVAILABLE_IN_ALL
void gdk_device_set_key (GdkDevice *device, void gdk_device_set_key (GdkDevice *device,
guint index_, guint index_,
guint keyval, guint keyval,
GdkModifierType modifiers); GdkModifierType modifiers);
GDK_AVAILABLE_IN_ALL
GdkAxisUse gdk_device_get_axis_use (GdkDevice *device, GdkAxisUse gdk_device_get_axis_use (GdkDevice *device,
guint index_); guint index_);
GDK_AVAILABLE_IN_ALL
void gdk_device_set_axis_use (GdkDevice *device, void gdk_device_set_axis_use (GdkDevice *device,
guint index_, guint index_,
GdkAxisUse use); GdkAxisUse use);
GDK_AVAILABLE_IN_ALL
void gdk_device_get_state (GdkDevice *device, void gdk_device_get_state (GdkDevice *device,
GdkWindow *window, GdkWindow *window,
gdouble *axes, gdouble *axes,
GdkModifierType *mask); GdkModifierType *mask);
GDK_AVAILABLE_IN_ALL
void gdk_device_get_position (GdkDevice *device, void gdk_device_get_position (GdkDevice *device,
GdkScreen **screen, GdkScreen **screen,
gint *x, gint *x,
gint *y); gint *y);
GDK_AVAILABLE_IN_ALL
GdkWindow * GdkWindow *
gdk_device_get_window_at_position gdk_device_get_window_at_position
(GdkDevice *device, (GdkDevice *device,
gint *win_x, gint *win_x,
gint *win_y); gint *win_y);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_history (GdkDevice *device, gboolean gdk_device_get_history (GdkDevice *device,
GdkWindow *window, GdkWindow *window,
guint32 start, guint32 start,
guint32 stop, guint32 stop,
GdkTimeCoord ***events, GdkTimeCoord ***events,
gint *n_events); gint *n_events);
GDK_AVAILABLE_IN_ALL
void gdk_device_free_history (GdkTimeCoord **events, void gdk_device_free_history (GdkTimeCoord **events,
gint n_events); gint n_events);
GDK_AVAILABLE_IN_ALL
gint gdk_device_get_n_axes (GdkDevice *device); gint gdk_device_get_n_axes (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GList * gdk_device_list_axes (GdkDevice *device); GList * gdk_device_list_axes (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_axis_value (GdkDevice *device, gboolean gdk_device_get_axis_value (GdkDevice *device,
gdouble *axes, gdouble *axes,
GdkAtom axis_label, GdkAtom axis_label,
gdouble *value); gdouble *value);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_get_axis (GdkDevice *device, gboolean gdk_device_get_axis (GdkDevice *device,
gdouble *axes, gdouble *axes,
GdkAxisUse use, GdkAxisUse use,
gdouble *value); gdouble *value);
GDK_AVAILABLE_IN_ALL
GdkDisplay * gdk_device_get_display (GdkDevice *device); GdkDisplay * gdk_device_get_display (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GdkDevice * gdk_device_get_associated_device (GdkDevice *device); GdkDevice * gdk_device_get_associated_device (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GList * gdk_device_list_slave_devices (GdkDevice *device); GList * gdk_device_list_slave_devices (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GdkDeviceType gdk_device_get_device_type (GdkDevice *device); GdkDeviceType gdk_device_get_device_type (GdkDevice *device);
GDK_AVAILABLE_IN_ALL
GdkGrabStatus gdk_device_grab (GdkDevice *device, GdkGrabStatus gdk_device_grab (GdkDevice *device,
GdkWindow *window, GdkWindow *window,
GdkGrabOwnership grab_ownership, GdkGrabOwnership grab_ownership,
...@@ -218,14 +244,17 @@ GdkGrabStatus gdk_device_grab (GdkDevice *device, ...@@ -218,14 +244,17 @@ GdkGrabStatus gdk_device_grab (GdkDevice *device,
GdkCursor *cursor, GdkCursor *cursor,
guint32 time_); guint32 time_);
GDK_AVAILABLE_IN_ALL
void gdk_device_ungrab (GdkDevice *device, void gdk_device_ungrab (GdkDevice *device,
guint32 time_); guint32 time_);
GDK_AVAILABLE_IN_ALL
void gdk_device_warp (GdkDevice *device, void gdk_device_warp (GdkDevice *device,
GdkScreen *screen, GdkScreen *screen,
gint x, gint x,
gint y); gint y);
GDK_AVAILABLE_IN_ALL
gboolean gdk_device_grab_info_libgtk_only (GdkDisplay *display, gboolean gdk_device_grab_info_libgtk_only (GdkDisplay *display,
GdkDevice *device, GdkDevice *device,
GdkWindow **grab_window, GdkWindow **grab_window,
......
...@@ -32,11 +32,15 @@ G_BEGIN_DECLS ...@@ -32,11 +32,15 @@ G_BEGIN_DECLS
#define GDK_IS_DEVICE_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_DEVICE_MANAGER)) #define GDK_IS_DEVICE_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_DEVICE_MANAGER))
GDK_AVAILABLE_IN_ALL
GType gdk_device_manager_get_type (void) G_GNUC_CONST; GType gdk_device_manager_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GdkDisplay * gdk_device_manager_get_display (GdkDeviceManager *device_manager); GdkDisplay * gdk_device_manager_get_display (GdkDeviceManager *device_manager);
GDK_AVAILABLE_IN_ALL
GList * gdk_device_manager_list_devices (GdkDeviceManager *device_manager, GList * gdk_device_manager_list_devices (GdkDeviceManager *device_manager,
GdkDeviceType type); GdkDeviceType type);
GDK_AVAILABLE_IN_ALL
GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager); GdkDevice * gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager);
G_END_DECLS G_END_DECLS
......
...@@ -40,15 +40,20 @@ G_BEGIN_DECLS ...@@ -40,15 +40,20 @@ G_BEGIN_DECLS
#define GDK_DISPLAY_OBJECT(object) GDK_DISPLAY(object) #define GDK_DISPLAY_OBJECT(object) GDK_DISPLAY(object)
#endif #endif
GDK_AVAILABLE_IN_ALL
GType gdk_display_get_type (void) G_GNUC_CONST; GType gdk_display_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GdkDisplay *gdk_display_open (const gchar *display_name); GdkDisplay *gdk_display_open (const gchar *display_name);
GDK_AVAILABLE_IN_ALL
const gchar * gdk_display_get_name (GdkDisplay *display); const gchar * gdk_display_get_name (GdkDisplay *display);
GDK_DEPRECATED_IN_3_10 GDK_DEPRECATED_IN_3_10
gint gdk_display_get_n_screens (GdkDisplay *display); gint gdk_display_get_n_screens (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
GdkScreen * gdk_display_get_screen (GdkDisplay *display, GdkScreen * gdk_display_get_screen (GdkDisplay *display,
gint screen_num); gint screen_num);
GDK_AVAILABLE_IN_ALL
GdkScreen * gdk_display_get_default_screen (GdkDisplay *display); GdkScreen * gdk_display_get_default_screen (GdkDisplay *display);
#ifndef GDK_MULTIDEVICE_SAFE #ifndef GDK_MULTIDEVICE_SAFE
...@@ -62,29 +67,42 @@ GDK_DEPRECATED_IN_3_0_FOR(gdk_display_device_is_grabbed) ...@@ -62,29 +67,42 @@ GDK_DEPRECATED_IN_3_0_FOR(gdk_display_device_is_grabbed)
gboolean gdk_display_pointer_is_grabbed (GdkDisplay *display); gboolean gdk_display_pointer_is_grabbed (GdkDisplay *display);
#endif /* GDK_MULTIDEVICE_SAFE */ #endif /* GDK_MULTIDEVICE_SAFE */
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_device_is_grabbed (GdkDisplay *display, gboolean gdk_display_device_is_grabbed (GdkDisplay *display,
GdkDevice *device); GdkDevice *device);
GDK_AVAILABLE_IN_ALL
void gdk_display_beep (GdkDisplay *display); void gdk_display_beep (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_sync (GdkDisplay *display); void gdk_display_sync (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_flush (GdkDisplay *display); void gdk_display_flush (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_close (GdkDisplay *display); void gdk_display_close (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_is_closed (GdkDisplay *display); gboolean gdk_display_is_closed (GdkDisplay *display);
GDK_DEPRECATED_IN_3_0_FOR(gdk_device_manager_list_devices) GDK_DEPRECATED_IN_3_0_FOR(gdk_device_manager_list_devices)
GList * gdk_display_list_devices (GdkDisplay *display); GList * gdk_display_list_devices (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
GdkEvent* gdk_display_get_event (GdkDisplay *display); GdkEvent* gdk_display_get_event (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
GdkEvent* gdk_display_peek_event (GdkDisplay *display); GdkEvent* gdk_display_peek_event (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_put_event (GdkDisplay *display, void gdk_display_put_event (GdkDisplay *display,
const GdkEvent *event); const GdkEvent *event);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_has_pending (GdkDisplay *display); gboolean gdk_display_has_pending (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_set_double_click_time (GdkDisplay *display, void gdk_display_set_double_click_time (GdkDisplay *display,
guint msec); guint msec);
GDK_AVAILABLE_IN_ALL
void gdk_display_set_double_click_distance (GdkDisplay *display, void gdk_display_set_double_click_distance (GdkDisplay *display,
guint distance); guint distance);
GDK_AVAILABLE_IN_ALL
GdkDisplay *gdk_display_get_default (void); GdkDisplay *gdk_display_get_default (void);
#ifndef GDK_MULTIDEVICE_SAFE #ifndef GDK_MULTIDEVICE_SAFE
...@@ -105,36 +123,52 @@ void gdk_display_warp_pointer (GdkDisplay *disp ...@@ -105,36 +123,52 @@ void gdk_display_warp_pointer (GdkDisplay *disp
gint y); gint y);
#endif /* GDK_MULTIDEVICE_SAFE */ #endif /* GDK_MULTIDEVICE_SAFE */
GDK_AVAILABLE_IN_ALL
GdkDisplay *gdk_display_open_default_libgtk_only (void); GdkDisplay *gdk_display_open_default_libgtk_only (void);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_cursor_alpha (GdkDisplay *display); gboolean gdk_display_supports_cursor_alpha (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_cursor_color (GdkDisplay *display); gboolean gdk_display_supports_cursor_color (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
guint gdk_display_get_default_cursor_size (GdkDisplay *display); guint gdk_display_get_default_cursor_size (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_get_maximal_cursor_size (GdkDisplay *display, void gdk_display_get_maximal_cursor_size (GdkDisplay *display,
guint *width, guint *width,
guint *height); guint *height);
GDK_AVAILABLE_IN_ALL
GdkWindow *gdk_display_get_default_group (GdkDisplay *display); GdkWindow *gdk_display_get_default_group (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_selection_notification (GdkDisplay *display); gboolean gdk_display_supports_selection_notification (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_request_selection_notification (GdkDisplay *display, gboolean gdk_display_request_selection_notification (GdkDisplay *display,
GdkAtom selection); GdkAtom selection);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_clipboard_persistence (GdkDisplay *display); gboolean gdk_display_supports_clipboard_persistence (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_store_clipboard (GdkDisplay *display, void gdk_display_store_clipboard (GdkDisplay *display,
GdkWindow *clipboard_window, GdkWindow *clipboard_window,
guint32 time_, guint32 time_,
const GdkAtom *targets, const GdkAtom *targets,
gint n_targets); gint n_targets);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_shapes (GdkDisplay *display); gboolean gdk_display_supports_shapes (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_input_shapes (GdkDisplay *display); gboolean gdk_display_supports_input_shapes (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_supports_composite (GdkDisplay *display); gboolean gdk_display_supports_composite (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
void gdk_display_notify_startup_complete (GdkDisplay *display, void gdk_display_notify_startup_complete (GdkDisplay *display,
const gchar *startup_id); const gchar *startup_id);
GDK_AVAILABLE_IN_ALL