forked from AuroraMiddleware/gtk
Add GDK_AVAILABLE_IN_ALL annotations in gdk
This is in preparation to modernizing our handing of exported symbols.
This commit is contained in:
parent
96d1a1e9c5
commit
ca81028901
@ -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
|
||||||
|
46
gdk/broadway/gdkbroadwaydisplaymanager.h
Normal file
46
gdk/broadway/gdkbroadwaydisplaymanager.h
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
/* 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;
|
|||||||
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;
|
|||||||
#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 @@
|
|||||||
|
|
||||||
#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
|
|||||||
#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);
|
|||||||
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 @@
|
|||||||
|
|
||||||
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 @@
|
|||||||
|
|
||||||
#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
|
|||||||
|
|
||||||
#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
|
|||||||
/* 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 @@
|
|||||||
#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
|
|||||||
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,
|
|||||||
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
|
|||||||
#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
|
|||||||
#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)
|
|||||||
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
|
|||||||
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
|
||||||
GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
|
GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAppLaunchContext *gdk_display_get_app_launch_context (GdkDisplay *display);
|
GdkAppLaunchContext *gdk_display_get_app_launch_context (GdkDisplay *display);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,13 +40,19 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY_MANAGER))
|
#define GDK_IS_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY_MANAGER))
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_display_manager_get_type (void) G_GNUC_CONST;
|
GType gdk_display_manager_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplayManager *gdk_display_manager_get (void);
|
GdkDisplayManager *gdk_display_manager_get (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *manager);
|
GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *manager);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_display_manager_set_default_display (GdkDisplayManager *manager,
|
void gdk_display_manager_set_default_display (GdkDisplayManager *manager,
|
||||||
GdkDisplay *display);
|
GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList * gdk_display_manager_list_displays (GdkDisplayManager *manager);
|
GSList * gdk_display_manager_list_displays (GdkDisplayManager *manager);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay * gdk_display_manager_open_display (GdkDisplayManager *manager,
|
GdkDisplay * gdk_display_manager_open_display (GdkDisplayManager *manager,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
|
21
gdk/gdkdnd.h
21
gdk/gdkdnd.h
@ -89,43 +89,60 @@ typedef enum
|
|||||||
} GdkDragProtocol;
|
} GdkDragProtocol;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
|
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drag_context_set_device (GdkDragContext *context,
|
void gdk_drag_context_set_device (GdkDragContext *context,
|
||||||
GdkDevice *device);
|
GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDevice * gdk_drag_context_get_device (GdkDragContext *context);
|
GdkDevice * gdk_drag_context_get_device (GdkDragContext *context);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList *gdk_drag_context_list_targets (GdkDragContext *context);
|
GList *gdk_drag_context_list_targets (GdkDragContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context);
|
GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragAction gdk_drag_context_get_suggested_action (GdkDragContext *context);
|
GdkDragAction gdk_drag_context_get_suggested_action (GdkDragContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragAction gdk_drag_context_get_selected_action (GdkDragContext *context);
|
GdkDragAction gdk_drag_context_get_selected_action (GdkDragContext *context);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_drag_context_get_source_window (GdkDragContext *context);
|
GdkWindow *gdk_drag_context_get_source_window (GdkDragContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_drag_context_get_dest_window (GdkDragContext *context);
|
GdkWindow *gdk_drag_context_get_dest_window (GdkDragContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragProtocol gdk_drag_context_get_protocol (GdkDragContext *context);
|
GdkDragProtocol gdk_drag_context_get_protocol (GdkDragContext *context);
|
||||||
|
|
||||||
/* Destination side */
|
/* Destination side */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drag_status (GdkDragContext *context,
|
void gdk_drag_status (GdkDragContext *context,
|
||||||
GdkDragAction action,
|
GdkDragAction action,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drop_reply (GdkDragContext *context,
|
void gdk_drop_reply (GdkDragContext *context,
|
||||||
gboolean accepted,
|
gboolean accepted,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drop_finish (GdkDragContext *context,
|
void gdk_drop_finish (GdkDragContext *context,
|
||||||
gboolean success,
|
gboolean success,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAtom gdk_drag_get_selection (GdkDragContext *context);
|
GdkAtom gdk_drag_get_selection (GdkDragContext *context);
|
||||||
|
|
||||||
/* Source side */
|
/* Source side */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragContext * gdk_drag_begin (GdkWindow *window,
|
GdkDragContext * gdk_drag_begin (GdkWindow *window,
|
||||||
GList *targets);
|
GList *targets);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragContext * gdk_drag_begin_for_device (GdkWindow *window,
|
GdkDragContext * gdk_drag_begin_for_device (GdkWindow *window,
|
||||||
GdkDevice *device,
|
GdkDevice *device,
|
||||||
GList *targets);
|
GList *targets);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drag_find_window_for_screen (GdkDragContext *context,
|
void gdk_drag_find_window_for_screen (GdkDragContext *context,
|
||||||
GdkWindow *drag_window,
|
GdkWindow *drag_window,
|
||||||
GdkScreen *screen,
|
GdkScreen *screen,
|
||||||
@ -134,6 +151,7 @@ void gdk_drag_find_window_for_screen (GdkDragContext *context,
|
|||||||
GdkWindow **dest_window,
|
GdkWindow **dest_window,
|
||||||
GdkDragProtocol *protocol);
|
GdkDragProtocol *protocol);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_drag_motion (GdkDragContext *context,
|
gboolean gdk_drag_motion (GdkDragContext *context,
|
||||||
GdkWindow *dest_window,
|
GdkWindow *dest_window,
|
||||||
GdkDragProtocol protocol,
|
GdkDragProtocol protocol,
|
||||||
@ -142,10 +160,13 @@ gboolean gdk_drag_motion (GdkDragContext *context,
|
|||||||
GdkDragAction suggested_action,
|
GdkDragAction suggested_action,
|
||||||
GdkDragAction possible_actions,
|
GdkDragAction possible_actions,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drag_drop (GdkDragContext *context,
|
void gdk_drag_drop (GdkDragContext *context,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_drag_abort (GdkDragContext *context,
|
void gdk_drag_abort (GdkDragContext *context,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
|
gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -1186,24 +1186,36 @@ union _GdkEvent
|
|||||||
GdkEventGrabBroken grab_broken;
|
GdkEventGrabBroken grab_broken;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_event_get_type (void) G_GNUC_CONST;
|
GType gdk_event_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_events_pending (void);
|
gboolean gdk_events_pending (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEvent* gdk_event_get (void);
|
GdkEvent* gdk_event_get (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEvent* gdk_event_peek (void);
|
GdkEvent* gdk_event_peek (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_put (const GdkEvent *event);
|
void gdk_event_put (const GdkEvent *event);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEvent* gdk_event_new (GdkEventType type);
|
GdkEvent* gdk_event_new (GdkEventType type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEvent* gdk_event_copy (const GdkEvent *event);
|
GdkEvent* gdk_event_copy (const GdkEvent *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_free (GdkEvent *event);
|
void gdk_event_free (GdkEvent *event);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint32 gdk_event_get_time (const GdkEvent *event);
|
guint32 gdk_event_get_time (const GdkEvent *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_event_get_state (const GdkEvent *event,
|
gboolean gdk_event_get_state (const GdkEvent *event,
|
||||||
GdkModifierType *state);
|
GdkModifierType *state);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_event_get_coords (const GdkEvent *event,
|
gboolean gdk_event_get_coords (const GdkEvent *event,
|
||||||
gdouble *x_win,
|
gdouble *x_win,
|
||||||
gdouble *y_win);
|
gdouble *y_win);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_event_get_root_coords (const GdkEvent *event,
|
gboolean gdk_event_get_root_coords (const GdkEvent *event,
|
||||||
gdouble *x_root,
|
gdouble *x_root,
|
||||||
gdouble *y_root);
|
gdouble *y_root);
|
||||||
@ -1227,46 +1239,61 @@ gboolean gdk_event_get_scroll_deltas (const GdkEvent *event,
|
|||||||
gdouble *delta_x,
|
gdouble *delta_x,
|
||||||
gdouble *delta_y);
|
gdouble *delta_y);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_event_get_axis (const GdkEvent *event,
|
gboolean gdk_event_get_axis (const GdkEvent *event,
|
||||||
GdkAxisUse axis_use,
|
GdkAxisUse axis_use,
|
||||||
gdouble *value);
|
gdouble *value);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_set_device (GdkEvent *event,
|
void gdk_event_set_device (GdkEvent *event,
|
||||||
GdkDevice *device);
|
GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDevice* gdk_event_get_device (const GdkEvent *event);
|
GdkDevice* gdk_event_get_device (const GdkEvent *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_set_source_device (GdkEvent *event,
|
void gdk_event_set_source_device (GdkEvent *event,
|
||||||
GdkDevice *device);
|
GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDevice* gdk_event_get_source_device (const GdkEvent *event);
|
GdkDevice* gdk_event_get_source_device (const GdkEvent *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_request_motions (const GdkEventMotion *event);
|
void gdk_event_request_motions (const GdkEventMotion *event);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
gboolean gdk_event_triggers_context_menu (const GdkEvent *event);
|
gboolean gdk_event_triggers_context_menu (const GdkEvent *event);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_events_get_distance (GdkEvent *event1,
|
gboolean gdk_events_get_distance (GdkEvent *event1,
|
||||||
GdkEvent *event2,
|
GdkEvent *event2,
|
||||||
gdouble *distance);
|
gdouble *distance);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_events_get_angle (GdkEvent *event1,
|
gboolean gdk_events_get_angle (GdkEvent *event1,
|
||||||
GdkEvent *event2,
|
GdkEvent *event2,
|
||||||
gdouble *angle);
|
gdouble *angle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_events_get_center (GdkEvent *event1,
|
gboolean gdk_events_get_center (GdkEvent *event1,
|
||||||
GdkEvent *event2,
|
GdkEvent *event2,
|
||||||
gdouble *x,
|
gdouble *x,
|
||||||
gdouble *y);
|
gdouble *y);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_handler_set (GdkEventFunc func,
|
void gdk_event_handler_set (GdkEventFunc func,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_event_set_screen (GdkEvent *event,
|
void gdk_event_set_screen (GdkEvent *event,
|
||||||
GdkScreen *screen);
|
GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkScreen *gdk_event_get_screen (const GdkEvent *event);
|
GdkScreen *gdk_event_get_screen (const GdkEvent *event);
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
GdkEventSequence *gdk_event_get_event_sequence (const GdkEvent *event);
|
GdkEventSequence *gdk_event_get_event_sequence (const GdkEvent *event);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_set_show_events (gboolean show_events);
|
void gdk_set_show_events (gboolean show_events);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_get_show_events (void);
|
gboolean gdk_get_show_events (void);
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_setting_get (const gchar *name,
|
gboolean gdk_setting_get (const gchar *name,
|
||||||
GValue *value);
|
GValue *value);
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ typedef enum {
|
|||||||
GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 6
|
GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 6
|
||||||
} GdkFrameClockPhase;
|
} GdkFrameClockPhase;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_3_8
|
||||||
GType gdk_frame_clock_get_type (void) G_GNUC_CONST;
|
GType gdk_frame_clock_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_8
|
GDK_AVAILABLE_IN_3_8
|
||||||
|
@ -77,16 +77,20 @@ struct _GdkKeymapKey
|
|||||||
* in the keymap and see what keyval it corresponds to.
|
* in the keymap and see what keyval it corresponds to.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_keymap_get_type (void) G_GNUC_CONST;
|
GType gdk_keymap_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkKeymap* gdk_keymap_get_default (void);
|
GdkKeymap* gdk_keymap_get_default (void);
|
||||||
#endif
|
#endif
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
|
GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_keymap_lookup_key (GdkKeymap *keymap,
|
guint gdk_keymap_lookup_key (GdkKeymap *keymap,
|
||||||
const GdkKeymapKey *key);
|
const GdkKeymapKey *key);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
|
gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
|
||||||
guint hardware_keycode,
|
guint hardware_keycode,
|
||||||
GdkModifierType state,
|
GdkModifierType state,
|
||||||
@ -95,24 +99,32 @@ gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
|
|||||||
gint *effective_group,
|
gint *effective_group,
|
||||||
gint *level,
|
gint *level,
|
||||||
GdkModifierType *consumed_modifiers);
|
GdkModifierType *consumed_modifiers);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
|
gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkKeymapKey **keys,
|
GdkKeymapKey **keys,
|
||||||
gint *n_keys);
|
gint *n_keys);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
|
gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
|
||||||
guint hardware_keycode,
|
guint hardware_keycode,
|
||||||
GdkKeymapKey **keys,
|
GdkKeymapKey **keys,
|
||||||
guint **keyvals,
|
guint **keyvals,
|
||||||
gint *n_entries);
|
gint *n_entries);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap);
|
PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap);
|
gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_get_caps_lock_state (GdkKeymap *keymap);
|
gboolean gdk_keymap_get_caps_lock_state (GdkKeymap *keymap);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_get_num_lock_state (GdkKeymap *keymap);
|
gboolean gdk_keymap_get_num_lock_state (GdkKeymap *keymap);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
guint gdk_keymap_get_modifier_state (GdkKeymap *keymap);
|
guint gdk_keymap_get_modifier_state (GdkKeymap *keymap);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
void gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
||||||
GdkModifierType *state);
|
GdkModifierType *state);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
|
gboolean gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
|
||||||
GdkModifierType *state);
|
GdkModifierType *state);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
@ -122,18 +134,27 @@ GdkModifierType gdk_keymap_get_modifier_mask (GdkKeymap *keymap,
|
|||||||
|
|
||||||
/* Key values
|
/* Key values
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar* gdk_keyval_name (guint keyval) G_GNUC_CONST;
|
gchar* gdk_keyval_name (guint keyval) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_keyval_from_name (const gchar *keyval_name);
|
guint gdk_keyval_from_name (const gchar *keyval_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_keyval_convert_case (guint symbol,
|
void gdk_keyval_convert_case (guint symbol,
|
||||||
guint *lower,
|
guint *lower,
|
||||||
guint *upper);
|
guint *upper);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_keyval_to_upper (guint keyval) G_GNUC_CONST;
|
guint gdk_keyval_to_upper (guint keyval) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_keyval_to_lower (guint keyval) G_GNUC_CONST;
|
guint gdk_keyval_to_lower (guint keyval) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keyval_is_upper (guint keyval) G_GNUC_CONST;
|
gboolean gdk_keyval_is_upper (guint keyval) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_keyval_is_lower (guint keyval) G_GNUC_CONST;
|
gboolean gdk_keyval_is_lower (guint keyval) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST;
|
guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST;
|
guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,29 +40,42 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT)
|
#define GDK_PRIORITY_EVENTS (G_PRIORITY_DEFAULT)
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_parse_args (gint *argc,
|
void gdk_parse_args (gint *argc,
|
||||||
gchar ***argv);
|
gchar ***argv);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_init (gint *argc,
|
void gdk_init (gint *argc,
|
||||||
gchar ***argv);
|
gchar ***argv);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_init_check (gint *argc,
|
gboolean gdk_init_check (gint *argc,
|
||||||
gchar ***argv);
|
gchar ***argv);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_add_option_entries_libgtk_only (GOptionGroup *group);
|
void gdk_add_option_entries_libgtk_only (GOptionGroup *group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_pre_parse_libgtk_only (void);
|
void gdk_pre_parse_libgtk_only (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gdk_get_program_class (void);
|
const gchar * gdk_get_program_class (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_set_program_class (const gchar *program_class);
|
void gdk_set_program_class (const gchar *program_class);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_notify_startup_complete (void);
|
void gdk_notify_startup_complete (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_notify_startup_complete_with_id (const gchar* startup_id);
|
void gdk_notify_startup_complete_with_id (const gchar* startup_id);
|
||||||
|
|
||||||
/* Push and pop error handlers for X errors
|
/* Push and pop error handlers for X errors
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_error_trap_push (void);
|
void gdk_error_trap_push (void);
|
||||||
/* warn unused because you could use pop_ignored otherwise */
|
/* warn unused because you could use pop_ignored otherwise */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void);
|
G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_error_trap_pop_ignored (void);
|
void gdk_error_trap_pop_ignored (void);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gdk_get_display_arg_name (void);
|
const gchar * gdk_get_display_arg_name (void);
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_8_FOR(gdk_display_get_name (gdk_display_get_default ()))
|
GDK_DEPRECATED_IN_3_8_FOR(gdk_display_get_name (gdk_display_get_default ()))
|
||||||
@ -93,20 +106,28 @@ GDK_DEPRECATED_IN_3_0_FOR(gdk_display_device_is_grabbed)
|
|||||||
gboolean gdk_pointer_is_grabbed (void);
|
gboolean gdk_pointer_is_grabbed (void);
|
||||||
#endif /* GDK_MULTIDEVICE_SAFE */
|
#endif /* GDK_MULTIDEVICE_SAFE */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_width (void) G_GNUC_CONST;
|
gint gdk_screen_width (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_height (void) G_GNUC_CONST;
|
gint gdk_screen_height (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_width_mm (void) G_GNUC_CONST;
|
gint gdk_screen_width_mm (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_height_mm (void) G_GNUC_CONST;
|
gint gdk_screen_height_mm (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_set_double_click_time (guint msec);
|
void gdk_set_double_click_time (guint msec);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_beep (void);
|
void gdk_beep (void);
|
||||||
|
|
||||||
#endif /* GDK_MULTIHEAD_SAFE */
|
#endif /* GDK_MULTIHEAD_SAFE */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_flush (void);
|
void gdk_flush (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_disable_multidevice (void);
|
void gdk_disable_multidevice (void);
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_10
|
GDK_AVAILABLE_IN_3_10
|
||||||
|
@ -23,13 +23,16 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen);
|
PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen);
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
PangoContext *gdk_pango_context_get (void);
|
PangoContext *gdk_pango_context_get (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -40,11 +43,13 @@ PangoContext *gdk_pango_context_get (void);
|
|||||||
* draw with the region as clip, only the given ranges are drawn.
|
* draw with the region as clip, only the given ranges are drawn.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_region_t *gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line,
|
cairo_region_t *gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line,
|
||||||
gint x_origin,
|
gint x_origin,
|
||||||
gint y_origin,
|
gint y_origin,
|
||||||
const gint *index_ranges,
|
const gint *index_ranges,
|
||||||
gint n_ranges);
|
gint n_ranges);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_region_t *gdk_pango_layout_get_clip_region (PangoLayout *layout,
|
cairo_region_t *gdk_pango_layout_get_clip_region (PangoLayout *layout,
|
||||||
gint x_origin,
|
gint x_origin,
|
||||||
gint y_origin,
|
gint y_origin,
|
||||||
|
@ -30,17 +30,20 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <gdk/gdktypes.h>
|
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||||
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf *gdk_pixbuf_get_from_window (GdkWindow *window,
|
GdkPixbuf *gdk_pixbuf_get_from_window (GdkWindow *window,
|
||||||
gint src_x,
|
gint src_x,
|
||||||
gint src_y,
|
gint src_y,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf *gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
|
GdkPixbuf *gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
|
||||||
gint src_x,
|
gint src_x,
|
||||||
gint src_y,
|
gint src_y,
|
||||||
|
@ -31,8 +31,10 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
const char * _gdk_atom_name_const (GdkAtom atom);
|
const char * _gdk_atom_name_const (GdkAtom atom);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_destroy_notify (GdkWindow *window);
|
void gdk_window_destroy_notify (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_synthesize_window_state (GdkWindow *window,
|
void gdk_synthesize_window_state (GdkWindow *window,
|
||||||
GdkWindowState unset_flags,
|
GdkWindowState unset_flags,
|
||||||
GdkWindowState set_flags);
|
GdkWindowState set_flags);
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -51,12 +52,16 @@ typedef enum
|
|||||||
} GdkPropMode;
|
} GdkPropMode;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAtom gdk_atom_intern (const gchar *atom_name,
|
GdkAtom gdk_atom_intern (const gchar *atom_name,
|
||||||
gboolean only_if_exists);
|
gboolean only_if_exists);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAtom gdk_atom_intern_static_string (const gchar *atom_name);
|
GdkAtom gdk_atom_intern_static_string (const gchar *atom_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar* gdk_atom_name (GdkAtom atom);
|
gchar* gdk_atom_name (GdkAtom atom);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_property_get (GdkWindow *window,
|
gboolean gdk_property_get (GdkWindow *window,
|
||||||
GdkAtom property,
|
GdkAtom property,
|
||||||
GdkAtom type,
|
GdkAtom type,
|
||||||
@ -67,6 +72,7 @@ gboolean gdk_property_get (GdkWindow *window,
|
|||||||
gint *actual_format,
|
gint *actual_format,
|
||||||
gint *actual_length,
|
gint *actual_length,
|
||||||
guchar **data);
|
guchar **data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_property_change (GdkWindow *window,
|
void gdk_property_change (GdkWindow *window,
|
||||||
GdkAtom property,
|
GdkAtom property,
|
||||||
GdkAtom type,
|
GdkAtom type,
|
||||||
@ -74,9 +80,11 @@ void gdk_property_change (GdkWindow *window,
|
|||||||
GdkPropMode mode,
|
GdkPropMode mode,
|
||||||
const guchar *data,
|
const guchar *data,
|
||||||
gint nelements);
|
gint nelements);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_property_delete (GdkWindow *window,
|
void gdk_property_delete (GdkWindow *window,
|
||||||
GdkAtom property);
|
GdkAtom property);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
|
gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
|
||||||
GdkAtom encoding,
|
GdkAtom encoding,
|
||||||
gint format,
|
gint format,
|
||||||
@ -84,6 +92,7 @@ gint gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
|
|||||||
gint length,
|
gint length,
|
||||||
gchar ***list);
|
gchar ***list);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar *gdk_utf8_to_string_target (const gchar *str);
|
gchar *gdk_utf8_to_string_target (const gchar *str);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -30,18 +30,22 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* Rectangle utilities
|
/* Rectangle utilities
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_rectangle_intersect (const GdkRectangle *src1,
|
gboolean gdk_rectangle_intersect (const GdkRectangle *src1,
|
||||||
const GdkRectangle *src2,
|
const GdkRectangle *src2,
|
||||||
GdkRectangle *dest);
|
GdkRectangle *dest);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_rectangle_union (const GdkRectangle *src1,
|
void gdk_rectangle_union (const GdkRectangle *src1,
|
||||||
const GdkRectangle *src2,
|
const GdkRectangle *src2,
|
||||||
GdkRectangle *dest);
|
GdkRectangle *dest);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_rectangle_get_type (void) G_GNUC_CONST;
|
GType gdk_rectangle_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
#define GDK_TYPE_RECTANGLE (gdk_rectangle_get_type ())
|
#define GDK_TYPE_RECTANGLE (gdk_rectangle_get_type ())
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -43,17 +44,24 @@ struct _GdkRGBA
|
|||||||
|
|
||||||
#define GDK_TYPE_RGBA (gdk_rgba_get_type ())
|
#define GDK_TYPE_RGBA (gdk_rgba_get_type ())
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_rgba_get_type (void) G_GNUC_CONST;
|
GType gdk_rgba_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkRGBA * gdk_rgba_copy (const GdkRGBA *rgba);
|
GdkRGBA * gdk_rgba_copy (const GdkRGBA *rgba);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_rgba_free (GdkRGBA *rgba);
|
void gdk_rgba_free (GdkRGBA *rgba);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_rgba_hash (gconstpointer p);
|
guint gdk_rgba_hash (gconstpointer p);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_rgba_equal (gconstpointer p1,
|
gboolean gdk_rgba_equal (gconstpointer p1,
|
||||||
gconstpointer p2);
|
gconstpointer p2);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_rgba_parse (GdkRGBA *rgba,
|
gboolean gdk_rgba_parse (GdkRGBA *rgba,
|
||||||
const gchar *spec);
|
const gchar *spec);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gdk_rgba_to_string (const GdkRGBA *rgba);
|
gchar * gdk_rgba_to_string (const GdkRGBA *rgba);
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,26 +38,43 @@ G_BEGIN_DECLS
|
|||||||
#define GDK_IS_SCREEN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_SCREEN))
|
#define GDK_IS_SCREEN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_SCREEN))
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_screen_get_type (void) G_GNUC_CONST;
|
GType gdk_screen_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual * gdk_screen_get_system_visual (GdkScreen *screen);
|
GdkVisual * gdk_screen_get_system_visual (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual * gdk_screen_get_rgba_visual (GdkScreen *screen);
|
GdkVisual * gdk_screen_get_rgba_visual (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_screen_is_composited (GdkScreen *screen);
|
gboolean gdk_screen_is_composited (GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_screen_get_root_window (GdkScreen *screen);
|
GdkWindow * gdk_screen_get_root_window (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay * gdk_screen_get_display (GdkScreen *screen);
|
GdkDisplay * gdk_screen_get_display (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_number (GdkScreen *screen);
|
gint gdk_screen_get_number (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_width (GdkScreen *screen);
|
gint gdk_screen_get_width (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_height (GdkScreen *screen);
|
gint gdk_screen_get_height (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_width_mm (GdkScreen *screen);
|
gint gdk_screen_get_width_mm (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_height_mm (GdkScreen *screen);
|
gint gdk_screen_get_height_mm (GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gdk_screen_list_visuals (GdkScreen *screen);
|
GList * gdk_screen_list_visuals (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gdk_screen_get_toplevel_windows (GdkScreen *screen);
|
GList * gdk_screen_get_toplevel_windows (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gdk_screen_make_display_name (GdkScreen *screen);
|
gchar * gdk_screen_make_display_name (GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_n_monitors (GdkScreen *screen);
|
gint gdk_screen_get_n_monitors (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_primary_monitor (GdkScreen *screen);
|
gint gdk_screen_get_primary_monitor (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_screen_get_monitor_geometry (GdkScreen *screen,
|
void gdk_screen_get_monitor_geometry (GdkScreen *screen,
|
||||||
gint monitor_num,
|
gint monitor_num,
|
||||||
GdkRectangle *dest);
|
GdkRectangle *dest);
|
||||||
@ -66,33 +83,46 @@ void gdk_screen_get_monitor_workarea (GdkScreen *screen,
|
|||||||
gint monitor_num,
|
gint monitor_num,
|
||||||
GdkRectangle *dest);
|
GdkRectangle *dest);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_monitor_at_point (GdkScreen *screen,
|
gint gdk_screen_get_monitor_at_point (GdkScreen *screen,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_monitor_at_window (GdkScreen *screen,
|
gint gdk_screen_get_monitor_at_window (GdkScreen *screen,
|
||||||
GdkWindow *window);
|
GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_monitor_width_mm (GdkScreen *screen,
|
gint gdk_screen_get_monitor_width_mm (GdkScreen *screen,
|
||||||
gint monitor_num);
|
gint monitor_num);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_screen_get_monitor_height_mm (GdkScreen *screen,
|
gint gdk_screen_get_monitor_height_mm (GdkScreen *screen,
|
||||||
gint monitor_num);
|
gint monitor_num);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gdk_screen_get_monitor_plug_name (GdkScreen *screen,
|
gchar * gdk_screen_get_monitor_plug_name (GdkScreen *screen,
|
||||||
gint monitor_num);
|
gint monitor_num);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkScreen *gdk_screen_get_default (void);
|
GdkScreen *gdk_screen_get_default (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_screen_get_setting (GdkScreen *screen,
|
gboolean gdk_screen_get_setting (GdkScreen *screen,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
GValue *value);
|
GValue *value);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_screen_set_font_options (GdkScreen *screen,
|
void gdk_screen_set_font_options (GdkScreen *screen,
|
||||||
const cairo_font_options_t *options);
|
const cairo_font_options_t *options);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const cairo_font_options_t *gdk_screen_get_font_options (GdkScreen *screen);
|
const cairo_font_options_t *gdk_screen_get_font_options (GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_screen_set_resolution (GdkScreen *screen,
|
void gdk_screen_set_resolution (GdkScreen *screen,
|
||||||
gdouble dpi);
|
gdouble dpi);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gdk_screen_get_resolution (GdkScreen *screen);
|
gdouble gdk_screen_get_resolution (GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_screen_get_active_window (GdkScreen *screen);
|
GdkWindow *gdk_screen_get_active_window (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList *gdk_screen_get_window_stack (GdkScreen *screen);
|
GList *gdk_screen_get_window_stack (GdkScreen *screen);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -152,18 +153,22 @@ G_BEGIN_DECLS
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_selection_owner_set (GdkWindow *owner,
|
gboolean gdk_selection_owner_set (GdkWindow *owner,
|
||||||
GdkAtom selection,
|
GdkAtom selection,
|
||||||
guint32 time_,
|
guint32 time_,
|
||||||
gboolean send_event);
|
gboolean send_event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow* gdk_selection_owner_get (GdkAtom selection);
|
GdkWindow* gdk_selection_owner_get (GdkAtom selection);
|
||||||
#endif/* GDK_MULTIHEAD_SAFE */
|
#endif/* GDK_MULTIHEAD_SAFE */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_selection_owner_set_for_display (GdkDisplay *display,
|
gboolean gdk_selection_owner_set_for_display (GdkDisplay *display,
|
||||||
GdkWindow *owner,
|
GdkWindow *owner,
|
||||||
GdkAtom selection,
|
GdkAtom selection,
|
||||||
guint32 time_,
|
guint32 time_,
|
||||||
gboolean send_event);
|
gboolean send_event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
|
GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
|
||||||
GdkAtom selection);
|
GdkAtom selection);
|
||||||
|
|
||||||
@ -181,21 +186,25 @@ GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
|
|||||||
* Retrieves the contents of a selection in a given
|
* Retrieves the contents of a selection in a given
|
||||||
* form.
|
* form.
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_selection_convert (GdkWindow *requestor,
|
void gdk_selection_convert (GdkWindow *requestor,
|
||||||
GdkAtom selection,
|
GdkAtom selection,
|
||||||
GdkAtom target,
|
GdkAtom target,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_selection_property_get (GdkWindow *requestor,
|
gint gdk_selection_property_get (GdkWindow *requestor,
|
||||||
guchar **data,
|
guchar **data,
|
||||||
GdkAtom *prop_type,
|
GdkAtom *prop_type,
|
||||||
gint *prop_format);
|
gint *prop_format);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_selection_send_notify (GdkWindow *requestor,
|
void gdk_selection_send_notify (GdkWindow *requestor,
|
||||||
GdkAtom selection,
|
GdkAtom selection,
|
||||||
GdkAtom target,
|
GdkAtom target,
|
||||||
GdkAtom property,
|
GdkAtom property,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_selection_send_notify_for_display (GdkDisplay *display,
|
void gdk_selection_send_notify_for_display (GdkDisplay *display,
|
||||||
GdkWindow *requestor,
|
GdkWindow *requestor,
|
||||||
GdkAtom selection,
|
GdkAtom selection,
|
||||||
|
@ -39,13 +39,16 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
|
|
||||||
/* --- Gdk Test Utility API --- */
|
/* --- Gdk Test Utility API --- */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_test_render_sync (GdkWindow *window);
|
void gdk_test_render_sync (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_test_simulate_key (GdkWindow *window,
|
gboolean gdk_test_simulate_key (GdkWindow *window,
|
||||||
gint x,
|
gint x,
|
||||||
gint y,
|
gint y,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers,
|
GdkModifierType modifiers,
|
||||||
GdkEventType key_pressrelease);
|
GdkEventType key_pressrelease);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_test_simulate_button (GdkWindow *window,
|
gboolean gdk_test_simulate_button (GdkWindow *window,
|
||||||
gint x,
|
gint x,
|
||||||
gint y,
|
gint y,
|
||||||
|
@ -30,11 +30,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#if defined(GDK_COMPILATION) || defined(GTK_COMPILATION)
|
#if defined(GDK_COMPILATION) || defined(GTK_COMPILATION)
|
||||||
#define GDK_THREADS_DEPRECATED
|
#define GDK_THREADS_DEPRECATED _GDK_EXTERN
|
||||||
#else
|
#else
|
||||||
#define GDK_THREADS_DEPRECATED GDK_DEPRECATED_IN_3_6
|
#define GDK_THREADS_DEPRECATED GDK_DEPRECATED_IN_3_6
|
||||||
#endif
|
#endif
|
||||||
@ -49,25 +50,31 @@ GDK_THREADS_DEPRECATED
|
|||||||
void gdk_threads_set_lock_functions (GCallback enter_fn,
|
void gdk_threads_set_lock_functions (GCallback enter_fn,
|
||||||
GCallback leave_fn);
|
GCallback leave_fn);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_threads_add_idle_full (gint priority,
|
guint gdk_threads_add_idle_full (gint priority,
|
||||||
GSourceFunc function,
|
GSourceFunc function,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_threads_add_idle (GSourceFunc function,
|
guint gdk_threads_add_idle (GSourceFunc function,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_threads_add_timeout_full (gint priority,
|
guint gdk_threads_add_timeout_full (gint priority,
|
||||||
guint interval,
|
guint interval,
|
||||||
GSourceFunc function,
|
GSourceFunc function,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_threads_add_timeout (guint interval,
|
guint gdk_threads_add_timeout (guint interval,
|
||||||
GSourceFunc function,
|
GSourceFunc function,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_threads_add_timeout_seconds_full (gint priority,
|
guint gdk_threads_add_timeout_seconds_full (gint priority,
|
||||||
guint interval,
|
guint interval,
|
||||||
GSourceFunc function,
|
GSourceFunc function,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gdk_threads_add_timeout_seconds (guint interval,
|
guint gdk_threads_add_timeout_seconds (guint interval,
|
||||||
GSourceFunc function,
|
GSourceFunc function,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gdk/gdktypes.h>
|
#include <gdk/gdktypes.h>
|
||||||
|
#include <gdk/gdkversionmacros.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -78,41 +79,61 @@ typedef enum
|
|||||||
* a particular visual.
|
* a particular visual.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_visual_get_type (void) G_GNUC_CONST;
|
GType gdk_visual_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_visual_get_best_depth (void);
|
gint gdk_visual_get_best_depth (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisualType gdk_visual_get_best_type (void);
|
GdkVisualType gdk_visual_get_best_type (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual* gdk_visual_get_system (void);
|
GdkVisual* gdk_visual_get_system (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual* gdk_visual_get_best (void);
|
GdkVisual* gdk_visual_get_best (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual* gdk_visual_get_best_with_depth (gint depth);
|
GdkVisual* gdk_visual_get_best_with_depth (gint depth);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
|
GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual* gdk_visual_get_best_with_both (gint depth,
|
GdkVisual* gdk_visual_get_best_with_both (gint depth,
|
||||||
GdkVisualType visual_type);
|
GdkVisualType visual_type);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_query_depths (gint **depths,
|
void gdk_query_depths (gint **depths,
|
||||||
gint *count);
|
gint *count);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_query_visual_types (GdkVisualType **visual_types,
|
void gdk_query_visual_types (GdkVisualType **visual_types,
|
||||||
gint *count);
|
gint *count);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList* gdk_list_visuals (void);
|
GList* gdk_list_visuals (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkScreen *gdk_visual_get_screen (GdkVisual *visual);
|
GdkScreen *gdk_visual_get_screen (GdkVisual *visual);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisualType gdk_visual_get_visual_type (GdkVisual *visual);
|
GdkVisualType gdk_visual_get_visual_type (GdkVisual *visual);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_visual_get_depth (GdkVisual *visual);
|
gint gdk_visual_get_depth (GdkVisual *visual);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkByteOrder gdk_visual_get_byte_order (GdkVisual *visual);
|
GdkByteOrder gdk_visual_get_byte_order (GdkVisual *visual);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_visual_get_colormap_size (GdkVisual *visual);
|
gint gdk_visual_get_colormap_size (GdkVisual *visual);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_visual_get_bits_per_rgb (GdkVisual *visual);
|
gint gdk_visual_get_bits_per_rgb (GdkVisual *visual);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_visual_get_red_pixel_details (GdkVisual *visual,
|
void gdk_visual_get_red_pixel_details (GdkVisual *visual,
|
||||||
guint32 *mask,
|
guint32 *mask,
|
||||||
gint *shift,
|
gint *shift,
|
||||||
gint *precision);
|
gint *precision);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_visual_get_green_pixel_details (GdkVisual *visual,
|
void gdk_visual_get_green_pixel_details (GdkVisual *visual,
|
||||||
guint32 *mask,
|
guint32 *mask,
|
||||||
gint *shift,
|
gint *shift,
|
||||||
gint *precision);
|
gint *precision);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_visual_get_blue_pixel_details (GdkVisual *visual,
|
void gdk_visual_get_blue_pixel_details (GdkVisual *visual,
|
||||||
guint32 *mask,
|
guint32 *mask,
|
||||||
gint *shift,
|
gint *shift,
|
||||||
|
138
gdk/gdkwindow.h
138
gdk/gdkwindow.h
@ -507,77 +507,109 @@ struct _GdkWindowClass
|
|||||||
|
|
||||||
/* Windows
|
/* Windows
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_window_get_type (void) G_GNUC_CONST;
|
GType gdk_window_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow* gdk_window_new (GdkWindow *parent,
|
GdkWindow* gdk_window_new (GdkWindow *parent,
|
||||||
GdkWindowAttr *attributes,
|
GdkWindowAttr *attributes,
|
||||||
gint attributes_mask);
|
gint attributes_mask);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_destroy (GdkWindow *window);
|
void gdk_window_destroy (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindowType gdk_window_get_window_type (GdkWindow *window);
|
GdkWindowType gdk_window_get_window_type (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_is_destroyed (GdkWindow *window);
|
gboolean gdk_window_is_destroyed (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual * gdk_window_get_visual (GdkWindow *window);
|
GdkVisual * gdk_window_get_visual (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkScreen * gdk_window_get_screen (GdkWindow *window);
|
GdkScreen * gdk_window_get_screen (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay * gdk_window_get_display (GdkWindow *window);
|
GdkDisplay * gdk_window_get_display (GdkWindow *window);
|
||||||
#ifndef GDK_MULTIDEVICE_SAFE
|
#ifndef GDK_MULTIDEVICE_SAFE
|
||||||
GDK_DEPRECATED_IN_3_0_FOR(gdk_device_get_window_at_position)
|
GDK_DEPRECATED_IN_3_0_FOR(gdk_device_get_window_at_position)
|
||||||
GdkWindow* gdk_window_at_pointer (gint *win_x,
|
GdkWindow* gdk_window_at_pointer (gint *win_x,
|
||||||
gint *win_y);
|
gint *win_y);
|
||||||
#endif /* GDK_MULTIDEVICE_SAFE */
|
#endif /* GDK_MULTIDEVICE_SAFE */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_show (GdkWindow *window);
|
void gdk_window_show (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_hide (GdkWindow *window);
|
void gdk_window_hide (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_withdraw (GdkWindow *window);
|
void gdk_window_withdraw (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_show_unraised (GdkWindow *window);
|
void gdk_window_show_unraised (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_move (GdkWindow *window,
|
void gdk_window_move (GdkWindow *window,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_resize (GdkWindow *window,
|
void gdk_window_resize (GdkWindow *window,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_move_resize (GdkWindow *window,
|
void gdk_window_move_resize (GdkWindow *window,
|
||||||
gint x,
|
gint x,
|
||||||
gint y,
|
gint y,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_reparent (GdkWindow *window,
|
void gdk_window_reparent (GdkWindow *window,
|
||||||
GdkWindow *new_parent,
|
GdkWindow *new_parent,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_raise (GdkWindow *window);
|
void gdk_window_raise (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_lower (GdkWindow *window);
|
void gdk_window_lower (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_restack (GdkWindow *window,
|
void gdk_window_restack (GdkWindow *window,
|
||||||
GdkWindow *sibling,
|
GdkWindow *sibling,
|
||||||
gboolean above);
|
gboolean above);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_focus (GdkWindow *window,
|
void gdk_window_focus (GdkWindow *window,
|
||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_user_data (GdkWindow *window,
|
void gdk_window_set_user_data (GdkWindow *window,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_override_redirect (GdkWindow *window,
|
void gdk_window_set_override_redirect (GdkWindow *window,
|
||||||
gboolean override_redirect);
|
gboolean override_redirect);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_get_accept_focus (GdkWindow *window);
|
gboolean gdk_window_get_accept_focus (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_accept_focus (GdkWindow *window,
|
void gdk_window_set_accept_focus (GdkWindow *window,
|
||||||
gboolean accept_focus);
|
gboolean accept_focus);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_get_focus_on_map (GdkWindow *window);
|
gboolean gdk_window_get_focus_on_map (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_focus_on_map (GdkWindow *window,
|
void gdk_window_set_focus_on_map (GdkWindow *window,
|
||||||
gboolean focus_on_map);
|
gboolean focus_on_map);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_add_filter (GdkWindow *window,
|
void gdk_window_add_filter (GdkWindow *window,
|
||||||
GdkFilterFunc function,
|
GdkFilterFunc function,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_remove_filter (GdkWindow *window,
|
void gdk_window_remove_filter (GdkWindow *window,
|
||||||
GdkFilterFunc function,
|
GdkFilterFunc function,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_scroll (GdkWindow *window,
|
void gdk_window_scroll (GdkWindow *window,
|
||||||
gint dx,
|
gint dx,
|
||||||
gint dy);
|
gint dy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_move_region (GdkWindow *window,
|
void gdk_window_move_region (GdkWindow *window,
|
||||||
const cairo_region_t *region,
|
const cairo_region_t *region,
|
||||||
gint dx,
|
gint dx,
|
||||||
gint dy);
|
gint dy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_ensure_native (GdkWindow *window);
|
gboolean gdk_window_ensure_native (GdkWindow *window);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This allows for making shaped (partially transparent) windows
|
* This allows for making shaped (partially transparent) windows
|
||||||
* - cool feature, needed for Drag and Drag for example.
|
* - cool feature, needed for Drag and Drag for example.
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_shape_combine_region (GdkWindow *window,
|
void gdk_window_shape_combine_region (GdkWindow *window,
|
||||||
const cairo_region_t *shape_region,
|
const cairo_region_t *shape_region,
|
||||||
gint offset_x,
|
gint offset_x,
|
||||||
@ -590,9 +622,12 @@ void gdk_window_shape_combine_region (GdkWindow *window,
|
|||||||
*
|
*
|
||||||
* - Raster
|
* - Raster
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_child_shapes (GdkWindow *window);
|
void gdk_window_set_child_shapes (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_get_composited (GdkWindow *window);
|
gboolean gdk_window_get_composited (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_composited (GdkWindow *window,
|
void gdk_window_set_composited (GdkWindow *window,
|
||||||
gboolean composited);
|
gboolean composited);
|
||||||
|
|
||||||
@ -603,13 +638,17 @@ void gdk_window_set_composited (GdkWindow *window,
|
|||||||
*
|
*
|
||||||
* - Raster
|
* - Raster
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_merge_child_shapes (GdkWindow *window);
|
void gdk_window_merge_child_shapes (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_input_shape_combine_region (GdkWindow *window,
|
void gdk_window_input_shape_combine_region (GdkWindow *window,
|
||||||
const cairo_region_t *shape_region,
|
const cairo_region_t *shape_region,
|
||||||
gint offset_x,
|
gint offset_x,
|
||||||
gint offset_y);
|
gint offset_y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_child_input_shapes (GdkWindow *window);
|
void gdk_window_set_child_input_shapes (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_merge_child_input_shapes (GdkWindow *window);
|
void gdk_window_merge_child_input_shapes (GdkWindow *window);
|
||||||
|
|
||||||
|
|
||||||
@ -619,111 +658,154 @@ void gdk_window_merge_child_input_shapes (GdkWindow *window);
|
|||||||
* Note that a window that is_viewable below is not necessarily
|
* Note that a window that is_viewable below is not necessarily
|
||||||
* viewable in the X sense.
|
* viewable in the X sense.
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_is_visible (GdkWindow *window);
|
gboolean gdk_window_is_visible (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_is_viewable (GdkWindow *window);
|
gboolean gdk_window_is_viewable (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_is_input_only (GdkWindow *window);
|
gboolean gdk_window_is_input_only (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_is_shaped (GdkWindow *window);
|
gboolean gdk_window_is_shaped (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindowState gdk_window_get_state (GdkWindow *window);
|
GdkWindowState gdk_window_get_state (GdkWindow *window);
|
||||||
|
|
||||||
/* Set static bit gravity on the parent, and static
|
/* Set static bit gravity on the parent, and static
|
||||||
* window gravity on all children.
|
* window gravity on all children.
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_set_static_gravities (GdkWindow *window,
|
gboolean gdk_window_set_static_gravities (GdkWindow *window,
|
||||||
gboolean use_static);
|
gboolean use_static);
|
||||||
|
|
||||||
/* GdkWindow */
|
/* GdkWindow */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_has_native (GdkWindow *window);
|
gboolean gdk_window_has_native (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_type_hint (GdkWindow *window,
|
void gdk_window_set_type_hint (GdkWindow *window,
|
||||||
GdkWindowTypeHint hint);
|
GdkWindowTypeHint hint);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindowTypeHint gdk_window_get_type_hint (GdkWindow *window);
|
GdkWindowTypeHint gdk_window_get_type_hint (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_get_modal_hint (GdkWindow *window);
|
gboolean gdk_window_get_modal_hint (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_modal_hint (GdkWindow *window,
|
void gdk_window_set_modal_hint (GdkWindow *window,
|
||||||
gboolean modal);
|
gboolean modal);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_skip_taskbar_hint (GdkWindow *window,
|
void gdk_window_set_skip_taskbar_hint (GdkWindow *window,
|
||||||
gboolean skips_taskbar);
|
gboolean skips_taskbar);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_skip_pager_hint (GdkWindow *window,
|
void gdk_window_set_skip_pager_hint (GdkWindow *window,
|
||||||
gboolean skips_pager);
|
gboolean skips_pager);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_urgency_hint (GdkWindow *window,
|
void gdk_window_set_urgency_hint (GdkWindow *window,
|
||||||
gboolean urgent);
|
gboolean urgent);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_geometry_hints (GdkWindow *window,
|
void gdk_window_set_geometry_hints (GdkWindow *window,
|
||||||
const GdkGeometry *geometry,
|
const GdkGeometry *geometry,
|
||||||
GdkWindowHints geom_mask);
|
GdkWindowHints geom_mask);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_region_t *gdk_window_get_clip_region (GdkWindow *window);
|
cairo_region_t *gdk_window_get_clip_region (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_region_t *gdk_window_get_visible_region(GdkWindow *window);
|
cairo_region_t *gdk_window_get_visible_region(GdkWindow *window);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_begin_paint_rect (GdkWindow *window,
|
void gdk_window_begin_paint_rect (GdkWindow *window,
|
||||||
const GdkRectangle *rectangle);
|
const GdkRectangle *rectangle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_begin_paint_region (GdkWindow *window,
|
void gdk_window_begin_paint_region (GdkWindow *window,
|
||||||
const cairo_region_t *region);
|
const cairo_region_t *region);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_end_paint (GdkWindow *window);
|
void gdk_window_end_paint (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_flush (GdkWindow *window);
|
void gdk_window_flush (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_title (GdkWindow *window,
|
void gdk_window_set_title (GdkWindow *window,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_role (GdkWindow *window,
|
void gdk_window_set_role (GdkWindow *window,
|
||||||
const gchar *role);
|
const gchar *role);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_startup_id (GdkWindow *window,
|
void gdk_window_set_startup_id (GdkWindow *window,
|
||||||
const gchar *startup_id);
|
const gchar *startup_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_transient_for (GdkWindow *window,
|
void gdk_window_set_transient_for (GdkWindow *window,
|
||||||
GdkWindow *parent);
|
GdkWindow *parent);
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(gdk_window_set_background_rgba)
|
GDK_DEPRECATED_IN_3_4_FOR(gdk_window_set_background_rgba)
|
||||||
void gdk_window_set_background (GdkWindow *window,
|
void gdk_window_set_background (GdkWindow *window,
|
||||||
const GdkColor *color);
|
const GdkColor *color);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_background_rgba (GdkWindow *window,
|
void gdk_window_set_background_rgba (GdkWindow *window,
|
||||||
const GdkRGBA *rgba);
|
const GdkRGBA *rgba);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_background_pattern (GdkWindow *window,
|
void gdk_window_set_background_pattern (GdkWindow *window,
|
||||||
cairo_pattern_t *pattern);
|
cairo_pattern_t *pattern);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
|
cairo_pattern_t *gdk_window_get_background_pattern (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_cursor (GdkWindow *window,
|
void gdk_window_set_cursor (GdkWindow *window,
|
||||||
GdkCursor *cursor);
|
GdkCursor *cursor);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkCursor *gdk_window_get_cursor (GdkWindow *window);
|
GdkCursor *gdk_window_get_cursor (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_device_cursor (GdkWindow *window,
|
void gdk_window_set_device_cursor (GdkWindow *window,
|
||||||
GdkDevice *device,
|
GdkDevice *device,
|
||||||
GdkCursor *cursor);
|
GdkCursor *cursor);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkCursor *gdk_window_get_device_cursor (GdkWindow *window,
|
GdkCursor *gdk_window_get_device_cursor (GdkWindow *window,
|
||||||
GdkDevice *device);
|
GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_get_user_data (GdkWindow *window,
|
void gdk_window_get_user_data (GdkWindow *window,
|
||||||
gpointer *data);
|
gpointer *data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_get_geometry (GdkWindow *window,
|
void gdk_window_get_geometry (GdkWindow *window,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y,
|
gint *y,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height);
|
gint *height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
int gdk_window_get_width (GdkWindow *window);
|
int gdk_window_get_width (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
int gdk_window_get_height (GdkWindow *window);
|
int gdk_window_get_height (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_get_position (GdkWindow *window,
|
void gdk_window_get_position (GdkWindow *window,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y);
|
gint *y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_window_get_origin (GdkWindow *window,
|
gint gdk_window_get_origin (GdkWindow *window,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y);
|
gint *y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_get_root_coords (GdkWindow *window,
|
void gdk_window_get_root_coords (GdkWindow *window,
|
||||||
gint x,
|
gint x,
|
||||||
gint y,
|
gint y,
|
||||||
gint *root_x,
|
gint *root_x,
|
||||||
gint *root_y);
|
gint *root_y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_coords_to_parent (GdkWindow *window,
|
void gdk_window_coords_to_parent (GdkWindow *window,
|
||||||
gdouble x,
|
gdouble x,
|
||||||
gdouble y,
|
gdouble y,
|
||||||
gdouble *parent_x,
|
gdouble *parent_x,
|
||||||
gdouble *parent_y);
|
gdouble *parent_y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_coords_from_parent (GdkWindow *window,
|
void gdk_window_coords_from_parent (GdkWindow *window,
|
||||||
gdouble parent_x,
|
gdouble parent_x,
|
||||||
gdouble parent_y,
|
gdouble parent_y,
|
||||||
gdouble *x,
|
gdouble *x,
|
||||||
gdouble *y);
|
gdouble *y);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_get_root_origin (GdkWindow *window,
|
void gdk_window_get_root_origin (GdkWindow *window,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y);
|
gint *y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_get_frame_extents (GdkWindow *window,
|
void gdk_window_get_frame_extents (GdkWindow *window,
|
||||||
GdkRectangle *rect);
|
GdkRectangle *rect);
|
||||||
|
|
||||||
@ -734,61 +816,90 @@ GdkWindow * gdk_window_get_pointer (GdkWindow *window,
|
|||||||
gint *y,
|
gint *y,
|
||||||
GdkModifierType *mask);
|
GdkModifierType *mask);
|
||||||
#endif /* GDK_MULTIDEVICE_SAFE */
|
#endif /* GDK_MULTIDEVICE_SAFE */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_window_get_device_position (GdkWindow *window,
|
GdkWindow * gdk_window_get_device_position (GdkWindow *window,
|
||||||
GdkDevice *device,
|
GdkDevice *device,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y,
|
gint *y,
|
||||||
GdkModifierType *mask);
|
GdkModifierType *mask);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_window_get_parent (GdkWindow *window);
|
GdkWindow * gdk_window_get_parent (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_window_get_toplevel (GdkWindow *window);
|
GdkWindow * gdk_window_get_toplevel (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_window_get_effective_parent (GdkWindow *window);
|
GdkWindow * gdk_window_get_effective_parent (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_window_get_effective_toplevel (GdkWindow *window);
|
GdkWindow * gdk_window_get_effective_toplevel (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gdk_window_get_children (GdkWindow *window);
|
GList * gdk_window_get_children (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gdk_window_peek_children (GdkWindow *window);
|
GList * gdk_window_peek_children (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEventMask gdk_window_get_events (GdkWindow *window);
|
GdkEventMask gdk_window_get_events (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_events (GdkWindow *window,
|
void gdk_window_set_events (GdkWindow *window,
|
||||||
GdkEventMask event_mask);
|
GdkEventMask event_mask);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_device_events (GdkWindow *window,
|
void gdk_window_set_device_events (GdkWindow *window,
|
||||||
GdkDevice *device,
|
GdkDevice *device,
|
||||||
GdkEventMask event_mask);
|
GdkEventMask event_mask);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEventMask gdk_window_get_device_events (GdkWindow *window,
|
GdkEventMask gdk_window_get_device_events (GdkWindow *window,
|
||||||
GdkDevice *device);
|
GdkDevice *device);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_source_events (GdkWindow *window,
|
void gdk_window_set_source_events (GdkWindow *window,
|
||||||
GdkInputSource source,
|
GdkInputSource source,
|
||||||
GdkEventMask event_mask);
|
GdkEventMask event_mask);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkEventMask gdk_window_get_source_events (GdkWindow *window,
|
GdkEventMask gdk_window_get_source_events (GdkWindow *window,
|
||||||
GdkInputSource source);
|
GdkInputSource source);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_icon_list (GdkWindow *window,
|
void gdk_window_set_icon_list (GdkWindow *window,
|
||||||
GList *pixbufs);
|
GList *pixbufs);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_icon_name (GdkWindow *window,
|
void gdk_window_set_icon_name (GdkWindow *window,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_group (GdkWindow *window,
|
void gdk_window_set_group (GdkWindow *window,
|
||||||
GdkWindow *leader);
|
GdkWindow *leader);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow* gdk_window_get_group (GdkWindow *window);
|
GdkWindow* gdk_window_get_group (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_decorations (GdkWindow *window,
|
void gdk_window_set_decorations (GdkWindow *window,
|
||||||
GdkWMDecoration decorations);
|
GdkWMDecoration decorations);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_get_decorations (GdkWindow *window,
|
gboolean gdk_window_get_decorations (GdkWindow *window,
|
||||||
GdkWMDecoration *decorations);
|
GdkWMDecoration *decorations);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_functions (GdkWindow *window,
|
void gdk_window_set_functions (GdkWindow *window,
|
||||||
GdkWMFunction functions);
|
GdkWMFunction functions);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_surface_t *
|
cairo_surface_t *
|
||||||
gdk_window_create_similar_surface (GdkWindow *window,
|
gdk_window_create_similar_surface (GdkWindow *window,
|
||||||
cairo_content_t content,
|
cairo_content_t content,
|
||||||
int width,
|
int width,
|
||||||
int height);
|
int height);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_beep (GdkWindow *window);
|
void gdk_window_beep (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_iconify (GdkWindow *window);
|
void gdk_window_iconify (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_deiconify (GdkWindow *window);
|
void gdk_window_deiconify (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_stick (GdkWindow *window);
|
void gdk_window_stick (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_unstick (GdkWindow *window);
|
void gdk_window_unstick (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_maximize (GdkWindow *window);
|
void gdk_window_maximize (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_unmaximize (GdkWindow *window);
|
void gdk_window_unmaximize (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_fullscreen (GdkWindow *window);
|
void gdk_window_fullscreen (GdkWindow *window);
|
||||||
GDK_AVAILABLE_IN_3_8
|
GDK_AVAILABLE_IN_3_8
|
||||||
void gdk_window_set_fullscreen_mode (GdkWindow *window,
|
void gdk_window_set_fullscreen_mode (GdkWindow *window,
|
||||||
@ -796,19 +907,26 @@ void gdk_window_set_fullscreen_mode (GdkWindow *window,
|
|||||||
GDK_AVAILABLE_IN_3_8
|
GDK_AVAILABLE_IN_3_8
|
||||||
GdkFullscreenMode
|
GdkFullscreenMode
|
||||||
gdk_window_get_fullscreen_mode (GdkWindow *window);
|
gdk_window_get_fullscreen_mode (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_unfullscreen (GdkWindow *window);
|
void gdk_window_unfullscreen (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_keep_above (GdkWindow *window,
|
void gdk_window_set_keep_above (GdkWindow *window,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_keep_below (GdkWindow *window,
|
void gdk_window_set_keep_below (GdkWindow *window,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_opacity (GdkWindow *window,
|
void gdk_window_set_opacity (GdkWindow *window,
|
||||||
gdouble opacity);
|
gdouble opacity);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_register_dnd (GdkWindow *window);
|
void gdk_window_register_dnd (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragProtocol
|
GdkDragProtocol
|
||||||
gdk_window_get_drag_protocol(GdkWindow *window,
|
gdk_window_get_drag_protocol(GdkWindow *window,
|
||||||
GdkWindow **target);
|
GdkWindow **target);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_begin_resize_drag (GdkWindow *window,
|
void gdk_window_begin_resize_drag (GdkWindow *window,
|
||||||
GdkWindowEdge edge,
|
GdkWindowEdge edge,
|
||||||
gint button,
|
gint button,
|
||||||
@ -823,6 +941,7 @@ void gdk_window_begin_resize_drag_for_device (GdkWindow *window,
|
|||||||
gint root_x,
|
gint root_x,
|
||||||
gint root_y,
|
gint root_y,
|
||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_begin_move_drag (GdkWindow *window,
|
void gdk_window_begin_move_drag (GdkWindow *window,
|
||||||
gint button,
|
gint button,
|
||||||
gint root_x,
|
gint root_x,
|
||||||
@ -837,9 +956,11 @@ void gdk_window_begin_move_drag_for_device (GdkWindow *window,
|
|||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
|
|
||||||
/* Interface for dirty-region queueing */
|
/* Interface for dirty-region queueing */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_invalidate_rect (GdkWindow *window,
|
void gdk_window_invalidate_rect (GdkWindow *window,
|
||||||
const GdkRectangle *rect,
|
const GdkRectangle *rect,
|
||||||
gboolean invalidate_children);
|
gboolean invalidate_children);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_invalidate_region (GdkWindow *window,
|
void gdk_window_invalidate_region (GdkWindow *window,
|
||||||
const cairo_region_t *region,
|
const cairo_region_t *region,
|
||||||
gboolean invalidate_children);
|
gboolean invalidate_children);
|
||||||
@ -858,25 +979,35 @@ void gdk_window_invalidate_region (GdkWindow *window,
|
|||||||
typedef gboolean (*GdkWindowChildFunc) (GdkWindow *window,
|
typedef gboolean (*GdkWindowChildFunc) (GdkWindow *window,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_invalidate_maybe_recurse (GdkWindow *window,
|
void gdk_window_invalidate_maybe_recurse (GdkWindow *window,
|
||||||
const cairo_region_t *region,
|
const cairo_region_t *region,
|
||||||
GdkWindowChildFunc child_func,
|
GdkWindowChildFunc child_func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_region_t *gdk_window_get_update_area (GdkWindow *window);
|
cairo_region_t *gdk_window_get_update_area (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_freeze_updates (GdkWindow *window);
|
void gdk_window_freeze_updates (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_thaw_updates (GdkWindow *window);
|
void gdk_window_thaw_updates (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window);
|
void gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_thaw_toplevel_updates_libgtk_only (GdkWindow *window);
|
void gdk_window_thaw_toplevel_updates_libgtk_only (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_process_all_updates (void);
|
void gdk_window_process_all_updates (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_process_updates (GdkWindow *window,
|
void gdk_window_process_updates (GdkWindow *window,
|
||||||
gboolean update_children);
|
gboolean update_children);
|
||||||
|
|
||||||
/* Enable/disable flicker, so you can tell if your code is inefficient. */
|
/* Enable/disable flicker, so you can tell if your code is inefficient. */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_debug_updates (gboolean setting);
|
void gdk_window_set_debug_updates (gboolean setting);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_constrain_size (GdkGeometry *geometry,
|
void gdk_window_constrain_size (GdkGeometry *geometry,
|
||||||
guint flags,
|
guint flags,
|
||||||
gint width,
|
gint width,
|
||||||
@ -889,19 +1020,26 @@ void gdk_window_enable_synchronized_configure (GdkWindow *window);
|
|||||||
GDK_DEPRECATED_IN_3_8
|
GDK_DEPRECATED_IN_3_8
|
||||||
void gdk_window_configure_finished (GdkWindow *window);
|
void gdk_window_configure_finished (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_get_default_root_window (void);
|
GdkWindow *gdk_get_default_root_window (void);
|
||||||
|
|
||||||
/* Offscreen redirection */
|
/* Offscreen redirection */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_surface_t *
|
cairo_surface_t *
|
||||||
gdk_offscreen_window_get_surface (GdkWindow *window);
|
gdk_offscreen_window_get_surface (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_offscreen_window_set_embedder (GdkWindow *window,
|
void gdk_offscreen_window_set_embedder (GdkWindow *window,
|
||||||
GdkWindow *embedder);
|
GdkWindow *embedder);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_offscreen_window_get_embedder (GdkWindow *window);
|
GdkWindow *gdk_offscreen_window_get_embedder (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_geometry_changed (GdkWindow *window);
|
void gdk_window_geometry_changed (GdkWindow *window);
|
||||||
|
|
||||||
/* Multidevice support */
|
/* Multidevice support */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_window_set_support_multidevice (GdkWindow *window,
|
void gdk_window_set_support_multidevice (GdkWindow *window,
|
||||||
gboolean support_multidevice);
|
gboolean support_multidevice);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_window_get_support_multidevice (GdkWindow *window);
|
gboolean gdk_window_get_support_multidevice (GdkWindow *window);
|
||||||
|
|
||||||
/* Frame clock */
|
/* Frame clock */
|
||||||
|
@ -53,6 +53,7 @@ typedef enum
|
|||||||
GDK_OSX_NEW = 99
|
GDK_OSX_NEW = 99
|
||||||
} GdkOSXVersion;
|
} GdkOSXVersion;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkOSXVersion gdk_quartz_osx_version (void);
|
GdkOSXVersion gdk_quartz_osx_version (void);
|
||||||
|
|
||||||
GdkAtom gdk_quartz_pasteboard_type_to_atom_libgtk_only (NSString *type);
|
GdkAtom gdk_quartz_pasteboard_type_to_atom_libgtk_only (NSString *type);
|
||||||
|
@ -42,6 +42,7 @@ typedef GdkCursor GdkQuartzCursor;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkQuartzCursorClass GdkQuartzCursorClass;
|
typedef struct _GdkQuartzCursorClass GdkQuartzCursorClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_cursor_get_type (void);
|
GType gdk_quartz_cursor_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -36,6 +36,7 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _GdkQuartzDeviceCore GdkQuartzDeviceCore;
|
typedef struct _GdkQuartzDeviceCore GdkQuartzDeviceCore;
|
||||||
typedef struct _GdkQuartzDeviceCoreClass GdkQuartzDeviceCoreClass;
|
typedef struct _GdkQuartzDeviceCoreClass GdkQuartzDeviceCoreClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_device_core_get_type (void) G_GNUC_CONST;
|
GType gdk_quartz_device_core_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -37,6 +37,7 @@ typedef struct _GdkQuartzDeviceManagerCore GdkQuartzDeviceManagerCore;
|
|||||||
typedef struct _GdkQuartzDeviceManagerCoreClass GdkQuartzDeviceManagerCoreClass;
|
typedef struct _GdkQuartzDeviceManagerCoreClass GdkQuartzDeviceManagerCoreClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_device_manager_core_get_type (void) G_GNUC_CONST;
|
GType gdk_quartz_device_manager_core_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ typedef GdkDisplay GdkQuartzDisplay;
|
|||||||
typedef struct _GdkQuartzDisplayClass GdkQuartzDisplayClass;
|
typedef struct _GdkQuartzDisplayClass GdkQuartzDisplayClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_display_get_type (void);
|
GType gdk_quartz_display_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -39,6 +39,7 @@ typedef GdkDisplayManager _GdkQuartzDisplayManager;
|
|||||||
typedef struct _GdkDisplayManagerClass GdkQuartzDisplayManagerClass;
|
typedef struct _GdkDisplayManagerClass GdkQuartzDisplayManagerClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_display_manager_get_type (void);
|
GType gdk_quartz_display_manager_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -42,8 +42,10 @@ typedef GdkDragContext GdkQuartzDragContext;
|
|||||||
typedef struct _GdkQuartzDragContextClass GdkQuartzDragContextClass;
|
typedef struct _GdkQuartzDragContextClass GdkQuartzDragContextClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_drag_context_get_type (void);
|
GType gdk_quartz_drag_context_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
id gdk_quartz_drag_context_get_dragging_info_libgtk_only (GdkDragContext *context);
|
id gdk_quartz_drag_context_get_dragging_info_libgtk_only (GdkDragContext *context);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -42,6 +42,7 @@ typedef GdkKeymap GdkQuartzKeymap;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkQuartzKeymapClass GdkQuartzKeymapClass;
|
typedef struct _GdkQuartzKeymapClass GdkQuartzKeymapClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_keymap_get_type (void);
|
GType gdk_quartz_keymap_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -42,6 +42,7 @@ typedef GdkScreen GdkQuartzScreen;
|
|||||||
typedef struct _GdkQuartzScreenClass GdkQuartzScreenClass;
|
typedef struct _GdkQuartzScreenClass GdkQuartzScreenClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_screen_get_type (void);
|
GType gdk_quartz_screen_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -28,7 +28,9 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
NSImage *gdk_quartz_pixbuf_to_ns_image_libgtk_only (GdkPixbuf *pixbuf);
|
NSImage *gdk_quartz_pixbuf_to_ns_image_libgtk_only (GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
NSEvent *gdk_quartz_event_get_nsevent (GdkEvent *event);
|
NSEvent *gdk_quartz_event_get_nsevent (GdkEvent *event);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -43,6 +43,7 @@ typedef GdkVisual GdkQuartzVisual;
|
|||||||
typedef struct _GdkQuartzVisualClass GdkQuartzVisualClass;
|
typedef struct _GdkQuartzVisualClass GdkQuartzVisualClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_visual_get_type (void);
|
GType gdk_quartz_visual_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -42,9 +42,12 @@ typedef GdkWindow GdkQuartzWindow;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkQuartzWindowClass GdkQuartzWindowClass;
|
typedef struct _GdkQuartzWindowClass GdkQuartzWindowClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_quartz_window_get_type (void);
|
GType gdk_quartz_window_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
NSWindow *gdk_quartz_window_get_nswindow (GdkWindow *window);
|
NSWindow *gdk_quartz_window_get_nswindow (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
NSView *gdk_quartz_window_get_nsview (GdkWindow *window);
|
NSView *gdk_quartz_window_get_nsview (GdkWindow *window);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -42,10 +42,14 @@ typedef struct _GdkWaylandDeviceClass GdkWaylandDeviceClass;
|
|||||||
#define GDK_IS_WAYLAND_DEVICE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GDK_TYPE_WAYLAND_DEVICE))
|
#define GDK_IS_WAYLAND_DEVICE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GDK_TYPE_WAYLAND_DEVICE))
|
||||||
#define GDK_WAYLAND_DEVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_WAYLAND_DEVICE, GdkWaylandDeviceClass))
|
#define GDK_WAYLAND_DEVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_WAYLAND_DEVICE, GdkWaylandDeviceClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_wayland_device_get_type (void);
|
GType gdk_wayland_device_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_seat *gdk_wayland_device_get_wl_seat (GdkDevice *device);
|
struct wl_seat *gdk_wayland_device_get_wl_seat (GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_pointer *gdk_wayland_device_get_wl_pointer (GdkDevice *device);
|
struct wl_pointer *gdk_wayland_device_get_wl_pointer (GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_keyboard *gdk_wayland_device_get_wl_keyboard (GdkDevice *device);
|
struct wl_keyboard *gdk_wayland_device_get_wl_keyboard (GdkDevice *device);
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,11 +42,16 @@ typedef struct _GdkWaylandDisplayClass GdkWaylandDisplayClass;
|
|||||||
#define GDK_IS_WAYLAND_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WAYLAND_DISPLAY))
|
#define GDK_IS_WAYLAND_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WAYLAND_DISPLAY))
|
||||||
#define GDK_WAYLAND_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WAYLAND_DISPLAY, GdkWaylandDisplayClass))
|
#define GDK_WAYLAND_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WAYLAND_DISPLAY, GdkWaylandDisplayClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_wayland_display_get_type (void);
|
GType gdk_wayland_display_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_display *gdk_wayland_display_get_wl_display (GdkDisplay *display);
|
struct wl_display *gdk_wayland_display_get_wl_display (GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_compositor *gdk_wayland_display_get_wl_compositor (GdkDisplay *display);
|
struct wl_compositor *gdk_wayland_display_get_wl_compositor (GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_shell *gdk_wayland_display_get_wl_shell (GdkDisplay *display);
|
struct wl_shell *gdk_wayland_display_get_wl_shell (GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_3_10
|
||||||
void gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
|
void gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
|
||||||
const gchar *theme,
|
const gchar *theme,
|
||||||
gint size);
|
gint size);
|
||||||
|
@ -42,9 +42,12 @@ typedef struct _GdkWaylandWindowClass GdkWaylandWindowClass;
|
|||||||
#define GDK_IS_WAYLAND_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WAYLAND_WINDOW))
|
#define GDK_IS_WAYLAND_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WAYLAND_WINDOW))
|
||||||
#define GDK_WAYLAND_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WAYLAND_WINDOW, GdkWaylandWindowClass))
|
#define GDK_WAYLAND_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WAYLAND_WINDOW, GdkWaylandWindowClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_wayland_window_get_type (void);
|
GType gdk_wayland_window_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_surface *gdk_wayland_window_get_wl_surface (GdkWindow *window);
|
struct wl_surface *gdk_wayland_window_get_wl_surface (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
struct wl_shell_surface *gdk_wayland_window_get_wl_shell_surface (GdkWindow *window);
|
struct wl_shell_surface *gdk_wayland_window_get_wl_shell_surface (GdkWindow *window);
|
||||||
|
|
||||||
void gdk_wayland_window_set_use_custom_surface (GdkWindow *window);
|
void gdk_wayland_window_set_use_custom_surface (GdkWindow *window);
|
||||||
|
@ -77,26 +77,36 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
|
|
||||||
/* Return true if the GdkWindow is a win32 implemented window */
|
/* Return true if the GdkWindow is a win32 implemented window */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_win32_window_is_win32 (GdkWindow *window);
|
gboolean gdk_win32_window_is_win32 (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
HWND gdk_win32_window_get_impl_hwnd (GdkWindow *window);
|
HWND gdk_win32_window_get_impl_hwnd (GdkWindow *window);
|
||||||
|
|
||||||
/* Return the Gdk* for a particular HANDLE */
|
/* Return the Gdk* for a particular HANDLE */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gpointer gdk_win32_handle_table_lookup (HWND handle);
|
gpointer gdk_win32_handle_table_lookup (HWND handle);
|
||||||
/* Translate from window to Windows handle */
|
/* Translate from window to Windows handle */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
HGDIOBJ gdk_win32_window_get_handle (GdkWindow *window);
|
HGDIOBJ gdk_win32_window_get_handle (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_win32_selection_add_targets (GdkWindow *owner,
|
void gdk_win32_selection_add_targets (GdkWindow *owner,
|
||||||
GdkAtom selection,
|
GdkAtom selection,
|
||||||
gint n_targets,
|
gint n_targets,
|
||||||
GdkAtom *targets);
|
GdkAtom *targets);
|
||||||
|
|
||||||
/* For internal GTK use only */
|
/* For internal GTK use only */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf *gdk_win32_icon_to_pixbuf_libgtk_only (HICON hicon);
|
GdkPixbuf *gdk_win32_icon_to_pixbuf_libgtk_only (HICON hicon);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
HICON gdk_win32_pixbuf_to_hicon_libgtk_only (GdkPixbuf *pixbuf);
|
HICON gdk_win32_pixbuf_to_hicon_libgtk_only (GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_win32_set_modal_dialog_libgtk_only (HWND window);
|
void gdk_win32_set_modal_dialog_libgtk_only (HWND window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_win32_window_foreign_new_for_display (GdkDisplay *display,
|
GdkWindow * gdk_win32_window_foreign_new_for_display (GdkDisplay *display,
|
||||||
HWND anid);
|
HWND anid);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow * gdk_win32_window_lookup_for_display (GdkDisplay *display,
|
GdkWindow * gdk_win32_window_lookup_for_display (GdkDisplay *display,
|
||||||
HWND anid);
|
HWND anid);
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ typedef GdkCursor GdkWin32Cursor;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkWin32CursorClass GdkWin32CursorClass;
|
typedef struct _GdkWin32CursorClass GdkWin32CursorClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_cursor_get_type (void);
|
GType gdk_win32_cursor_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -47,6 +47,7 @@ typedef struct _GdkWin32DisplayClass GdkWin32DisplayClass;
|
|||||||
#define GDK_IS_WIN32_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DISPLAY))
|
#define GDK_IS_WIN32_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DISPLAY))
|
||||||
#define GDK_WIN32_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DISPLAY, GdkWin32DisplayClass))
|
#define GDK_WIN32_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DISPLAY, GdkWin32DisplayClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_display_get_type (void);
|
GType gdk_win32_display_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,6 +40,7 @@ typedef struct _GdkWin32DisplayManagerClass GdkWin32DisplayManagerClass;
|
|||||||
#define GDK_IS_WIN32_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DISPLAY_MANAGER))
|
#define GDK_IS_WIN32_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_DISPLAY_MANAGER))
|
||||||
#define GDK_WIN32_DISPLAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DISPLAY_MANAGER, GdkWin32DisplayManagerClass))
|
#define GDK_WIN32_DISPLAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_DISPLAY_MANAGER, GdkWin32DisplayManagerClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_display_manager_get_type (void);
|
GType gdk_win32_display_manager_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,6 +40,7 @@ typedef GdkDragContext GdkWin32DragContext;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkWin32DragContextClass GdkWin32DragContextClass;
|
typedef struct _GdkWin32DragContextClass GdkWin32DragContextClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_drag_context_get_type (void);
|
GType gdk_win32_drag_context_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,6 +40,7 @@ typedef struct _GdkWin32KeymapClass GdkWin32KeymapClass;
|
|||||||
#define GDK_IS_WIN32_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_KEYMAP))
|
#define GDK_IS_WIN32_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WIN32_KEYMAP))
|
||||||
#define GDK_WIN32_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_KEYMAP, GdkWin32KeymapClass))
|
#define GDK_WIN32_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WIN32_KEYMAP, GdkWin32KeymapClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_keymap_get_type (void);
|
GType gdk_win32_keymap_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -47,6 +47,7 @@ typedef GdkScreen GdkWin32Screen;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkWin32ScreenClass GdkWin32ScreenClass;
|
typedef struct _GdkWin32ScreenClass GdkWin32ScreenClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_screen_get_type (void);
|
GType gdk_win32_screen_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -47,6 +47,7 @@ typedef GdkWindow GdkWin32Window;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkWin32WindowClass GdkWin32WindowClass;
|
typedef struct _GdkWin32WindowClass GdkWin32WindowClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_win32_window_get_type (void);
|
GType gdk_win32_window_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,6 +40,7 @@ typedef GdkAppLaunchContext GdkX11AppLaunchContext;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkX11AppLaunchContextClass GdkX11AppLaunchContextClass;
|
typedef struct _GdkX11AppLaunchContextClass GdkX11AppLaunchContextClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_app_launch_context_get_type (void);
|
GType gdk_x11_app_launch_context_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -50,9 +50,12 @@ typedef GdkCursor GdkX11Cursor;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkX11CursorClass GdkX11CursorClass;
|
typedef struct _GdkX11CursorClass GdkX11CursorClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_cursor_get_type (void);
|
GType gdk_x11_cursor_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Display *gdk_x11_cursor_get_xdisplay (GdkCursor *cursor);
|
Display *gdk_x11_cursor_get_xdisplay (GdkCursor *cursor);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Cursor gdk_x11_cursor_get_xcursor (GdkCursor *cursor);
|
Cursor gdk_x11_cursor_get_xcursor (GdkCursor *cursor);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ typedef struct _GdkX11DeviceCore GdkX11DeviceCore;
|
|||||||
typedef struct _GdkX11DeviceCoreClass GdkX11DeviceCoreClass;
|
typedef struct _GdkX11DeviceCoreClass GdkX11DeviceCoreClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_device_core_get_type (void) G_GNUC_CONST;
|
GType gdk_x11_device_core_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -32,6 +32,7 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _GdkX11DeviceXI2 GdkX11DeviceXI2;
|
typedef struct _GdkX11DeviceXI2 GdkX11DeviceXI2;
|
||||||
typedef struct _GdkX11DeviceXI2Class GdkX11DeviceXI2Class;
|
typedef struct _GdkX11DeviceXI2Class GdkX11DeviceXI2Class;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_device_xi2_get_type (void) G_GNUC_CONST;
|
GType gdk_x11_device_xi2_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -33,6 +33,7 @@ typedef struct _GdkX11DeviceManagerCore GdkX11DeviceManagerCore;
|
|||||||
typedef struct _GdkX11DeviceManagerCoreClass GdkX11DeviceManagerCoreClass;
|
typedef struct _GdkX11DeviceManagerCoreClass GdkX11DeviceManagerCoreClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_device_manager_core_get_type (void) G_GNUC_CONST;
|
GType gdk_x11_device_manager_core_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ typedef struct _GdkX11DeviceManagerXI GdkX11DeviceManagerXI;
|
|||||||
typedef struct _GdkX11DeviceManagerXIClass GdkX11DeviceManagerXIClass;
|
typedef struct _GdkX11DeviceManagerXIClass GdkX11DeviceManagerXIClass;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_device_manager_xi_get_type (void) G_GNUC_CONST;
|
GType gdk_x11_device_manager_xi_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ typedef struct _GdkX11DeviceManagerXI2 GdkX11DeviceManagerXI2;
|
|||||||
typedef struct _GdkX11DeviceManagerXI2Class GdkX11DeviceManagerXI2Class;
|
typedef struct _GdkX11DeviceManagerXI2Class GdkX11DeviceManagerXI2Class;
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_device_manager_xi2_get_type (void) G_GNUC_CONST;
|
GType gdk_x11_device_manager_xi2_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
@ -50,40 +50,55 @@ typedef struct _GdkX11DisplayClass GdkX11DisplayClass;
|
|||||||
#define GDK_IS_X11_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_DISPLAY))
|
#define GDK_IS_X11_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_DISPLAY))
|
||||||
#define GDK_X11_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_DISPLAY, GdkX11DisplayClass))
|
#define GDK_X11_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_DISPLAY, GdkX11DisplayClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_display_get_type (void);
|
GType gdk_x11_display_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Display *gdk_x11_display_get_xdisplay (GdkDisplay *display);
|
Display *gdk_x11_display_get_xdisplay (GdkDisplay *display);
|
||||||
|
|
||||||
#define GDK_DISPLAY_XDISPLAY(display) (gdk_x11_display_get_xdisplay (display))
|
#define GDK_DISPLAY_XDISPLAY(display) (gdk_x11_display_get_xdisplay (display))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint32 gdk_x11_display_get_user_time (GdkDisplay *display);
|
guint32 gdk_x11_display_get_user_time (GdkDisplay *display);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gdk_x11_display_get_startup_notification_id (GdkDisplay *display);
|
const gchar * gdk_x11_display_get_startup_notification_id (GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_set_startup_notification_id (GdkDisplay *display,
|
void gdk_x11_display_set_startup_notification_id (GdkDisplay *display,
|
||||||
const gchar *startup_id);
|
const gchar *startup_id);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_set_cursor_theme (GdkDisplay *display,
|
void gdk_x11_display_set_cursor_theme (GdkDisplay *display,
|
||||||
const gchar *theme,
|
const gchar *theme,
|
||||||
const gint size);
|
const gint size);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_broadcast_startup_message (GdkDisplay *display,
|
void gdk_x11_display_broadcast_startup_message (GdkDisplay *display,
|
||||||
const char *message_type,
|
const char *message_type,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay *gdk_x11_lookup_xdisplay (Display *xdisplay);
|
GdkDisplay *gdk_x11_lookup_xdisplay (Display *xdisplay);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_grab (GdkDisplay *display);
|
void gdk_x11_display_grab (GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_ungrab (GdkDisplay *display);
|
void gdk_x11_display_ungrab (GdkDisplay *display);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_error_trap_push (GdkDisplay *display);
|
void gdk_x11_display_error_trap_push (GdkDisplay *display);
|
||||||
/* warn unused because you could use pop_ignored otherwise */
|
/* warn unused because you could use pop_ignored otherwise */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
G_GNUC_WARN_UNUSED_RESULT gint gdk_x11_display_error_trap_pop (GdkDisplay *display);
|
G_GNUC_WARN_UNUSED_RESULT gint gdk_x11_display_error_trap_pop (GdkDisplay *display);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_display_error_trap_pop_ignored (GdkDisplay *display);
|
void gdk_x11_display_error_trap_pop_ignored (GdkDisplay *display);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_register_standard_event_type (GdkDisplay *display,
|
void gdk_x11_register_standard_event_type (GdkDisplay *display,
|
||||||
gint event_base,
|
gint event_base,
|
||||||
gint n_events);
|
gint n_events);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_set_sm_client_id (const gchar *sm_client_id);
|
void gdk_x11_set_sm_client_id (const gchar *sm_client_id);
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ typedef struct _GdkX11DisplayManagerClass GdkX11DisplayManagerClass;
|
|||||||
#define GDK_IS_X11_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_DISPLAY_MANAGER))
|
#define GDK_IS_X11_DISPLAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_DISPLAY_MANAGER))
|
||||||
#define GDK_X11_DISPLAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_DISPLAY_MANAGER, GdkX11DisplayManagerClass))
|
#define GDK_X11_DISPLAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_DISPLAY_MANAGER, GdkX11DisplayManagerClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_display_manager_get_type (void);
|
GType gdk_x11_display_manager_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,6 +40,7 @@ typedef GdkDragContext GdkX11DragContext;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkX11DragContextClass GdkX11DragContextClass;
|
typedef struct _GdkX11DragContextClass GdkX11DragContextClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_drag_context_get_type (void);
|
GType gdk_x11_drag_context_get_type (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -40,6 +40,7 @@ typedef struct _GdkX11KeymapClass GdkX11KeymapClass;
|
|||||||
#define GDK_IS_X11_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_KEYMAP))
|
#define GDK_IS_X11_KEYMAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_KEYMAP))
|
||||||
#define GDK_X11_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_KEYMAP, GdkX11KeymapClass))
|
#define GDK_X11_KEYMAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_KEYMAP, GdkX11KeymapClass))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_keymap_get_type (void);
|
GType gdk_x11_keymap_get_type (void);
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_6
|
GDK_AVAILABLE_IN_3_6
|
||||||
|
@ -37,18 +37,26 @@
|
|||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* Functions to get the X Atom equivalent to the GdkAtom */
|
/* Functions to get the X Atom equivalent to the GdkAtom */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Atom gdk_x11_atom_to_xatom_for_display (GdkDisplay *display,
|
Atom gdk_x11_atom_to_xatom_for_display (GdkDisplay *display,
|
||||||
GdkAtom atom);
|
GdkAtom atom);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAtom gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
|
GdkAtom gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
|
||||||
Atom xatom);
|
Atom xatom);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Atom gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display,
|
Atom gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display,
|
||||||
const gchar *atom_name);
|
const gchar *atom_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
|
const gchar * gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
|
||||||
Atom xatom);
|
Atom xatom);
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Atom gdk_x11_atom_to_xatom (GdkAtom atom);
|
Atom gdk_x11_atom_to_xatom (GdkAtom atom);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAtom gdk_x11_xatom_to_atom (Atom xatom);
|
GdkAtom gdk_x11_xatom_to_atom (Atom xatom);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Atom gdk_x11_get_xatom_by_name (const gchar *atom_name);
|
Atom gdk_x11_get_xatom_by_name (const gchar *atom_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gdk_x11_get_xatom_name (Atom xatom);
|
const gchar * gdk_x11_get_xatom_name (Atom xatom);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -50,14 +50,19 @@ typedef GdkScreen GdkX11Screen;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkX11ScreenClass GdkX11ScreenClass;
|
typedef struct _GdkX11ScreenClass GdkX11ScreenClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_screen_get_type (void);
|
GType gdk_x11_screen_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Screen * gdk_x11_screen_get_xscreen (GdkScreen *screen);
|
Screen * gdk_x11_screen_get_xscreen (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
int gdk_x11_screen_get_screen_number (GdkScreen *screen);
|
int gdk_x11_screen_get_screen_number (GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const char* gdk_x11_screen_get_window_manager_name (GdkScreen *screen);
|
const char* gdk_x11_screen_get_window_manager_name (GdkScreen *screen);
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_x11_get_default_screen (void);
|
gint gdk_x11_get_default_screen (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -91,9 +96,11 @@ gint gdk_x11_get_default_screen (void);
|
|||||||
*/
|
*/
|
||||||
#define GDK_SCREEN_XNUMBER(screen) (gdk_x11_screen_get_screen_number (screen))
|
#define GDK_SCREEN_XNUMBER(screen) (gdk_x11_screen_get_screen_number (screen))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,
|
gboolean gdk_x11_screen_supports_net_wm_hint (GdkScreen *screen,
|
||||||
GdkAtom property);
|
GdkAtom property);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
XID gdk_x11_screen_get_monitor_output (GdkScreen *screen,
|
XID gdk_x11_screen_get_monitor_output (GdkScreen *screen,
|
||||||
gint monitor_num);
|
gint monitor_num);
|
||||||
|
|
||||||
|
@ -36,25 +36,30 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_x11_display_text_property_to_text_list (GdkDisplay *display,
|
gint gdk_x11_display_text_property_to_text_list (GdkDisplay *display,
|
||||||
GdkAtom encoding,
|
GdkAtom encoding,
|
||||||
gint format,
|
gint format,
|
||||||
const guchar *text,
|
const guchar *text,
|
||||||
gint length,
|
gint length,
|
||||||
gchar ***list);
|
gchar ***list);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_free_text_list (gchar **list);
|
void gdk_x11_free_text_list (gchar **list);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gdk_x11_display_string_to_compound_text (GdkDisplay *display,
|
gint gdk_x11_display_string_to_compound_text (GdkDisplay *display,
|
||||||
const gchar *str,
|
const gchar *str,
|
||||||
GdkAtom *encoding,
|
GdkAtom *encoding,
|
||||||
gint *format,
|
gint *format,
|
||||||
guchar **ctext,
|
guchar **ctext,
|
||||||
gint *length);
|
gint *length);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gdk_x11_display_utf8_to_compound_text (GdkDisplay *display,
|
gboolean gdk_x11_display_utf8_to_compound_text (GdkDisplay *display,
|
||||||
const gchar *str,
|
const gchar *str,
|
||||||
GdkAtom *encoding,
|
GdkAtom *encoding,
|
||||||
gint *format,
|
gint *format,
|
||||||
guchar **ctext,
|
guchar **ctext,
|
||||||
gint *length);
|
gint *length);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_free_compound_text (guchar *ctext);
|
void gdk_x11_free_compound_text (guchar *ctext);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -37,7 +37,9 @@
|
|||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Window gdk_x11_get_default_root_xwindow (void);
|
Window gdk_x11_get_default_root_xwindow (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Display *gdk_x11_get_default_xdisplay (void);
|
Display *gdk_x11_get_default_xdisplay (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -68,7 +70,9 @@ Display *gdk_x11_get_default_xdisplay (void);
|
|||||||
#define GDK_POINTER_TO_XID(pointer) GPOINTER_TO_UINT(pointer)
|
#define GDK_POINTER_TO_XID(pointer) GPOINTER_TO_UINT(pointer)
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_grab_server (void);
|
void gdk_x11_grab_server (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_ungrab_server (void);
|
void gdk_x11_ungrab_server (void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -50,12 +50,15 @@ typedef GdkVisual GdkX11Visual;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkX11VisualClass GdkX11VisualClass;
|
typedef struct _GdkX11VisualClass GdkX11VisualClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_visual_get_type (void);
|
GType gdk_x11_visual_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Visual * gdk_x11_visual_get_xvisual (GdkVisual *visual);
|
Visual * gdk_x11_visual_get_xvisual (GdkVisual *visual);
|
||||||
|
|
||||||
#define GDK_VISUAL_XVISUAL(visual) (gdk_x11_visual_get_xvisual (visual))
|
#define GDK_VISUAL_XVISUAL(visual) (gdk_x11_visual_get_xvisual (visual))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen,
|
GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen,
|
||||||
VisualID xvisualid);
|
VisualID xvisualid);
|
||||||
|
|
||||||
|
@ -50,9 +50,12 @@ typedef GdkWindow GdkX11Window;
|
|||||||
#endif
|
#endif
|
||||||
typedef struct _GdkX11WindowClass GdkX11WindowClass;
|
typedef struct _GdkX11WindowClass GdkX11WindowClass;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gdk_x11_window_get_type (void);
|
GType gdk_x11_window_get_type (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
Window gdk_x11_window_get_xid (GdkWindow *window);
|
Window gdk_x11_window_get_xid (GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_window_set_user_time (GdkWindow *window,
|
void gdk_x11_window_set_user_time (GdkWindow *window,
|
||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
@ -65,6 +68,7 @@ void gdk_x11_window_set_theme_variant (GdkWindow *window,
|
|||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
void gdk_x11_window_set_hide_titlebar_when_maximized (GdkWindow *window,
|
void gdk_x11_window_set_hide_titlebar_when_maximized (GdkWindow *window,
|
||||||
gboolean hide_titlebar_when_maximized);
|
gboolean hide_titlebar_when_maximized);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_x11_window_move_to_current_desktop (GdkWindow *window);
|
void gdk_x11_window_move_to_current_desktop (GdkWindow *window);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -87,10 +91,13 @@ void gdk_x11_window_move_to_current_desktop (GdkWindow *window);
|
|||||||
*/
|
*/
|
||||||
#define GDK_WINDOW_XID(win) (gdk_x11_window_get_xid (win))
|
#define GDK_WINDOW_XID(win) (gdk_x11_window_get_xid (win))
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint32 gdk_x11_get_server_time (GdkWindow *window);
|
guint32 gdk_x11_get_server_time (GdkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_x11_window_foreign_new_for_display (GdkDisplay *display,
|
GdkWindow *gdk_x11_window_foreign_new_for_display (GdkDisplay *display,
|
||||||
Window window);
|
Window window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow *gdk_x11_window_lookup_for_display (GdkDisplay *display,
|
GdkWindow *gdk_x11_window_lookup_for_display (GdkDisplay *display,
|
||||||
Window window);
|
Window window);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user