mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
The big versioning cleanup
Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
This commit is contained in:
parent
2616e6857c
commit
4c150d8eb5
@ -61,54 +61,6 @@
|
||||
<title>Index of deprecated symbols</title>
|
||||
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-0" role="3.0">
|
||||
<title>Index of new symbols in 3.0</title>
|
||||
<xi:include href="xml/api-index-3.0.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-2" role="3.2">
|
||||
<title>Index of new symbols in 3.2</title>
|
||||
<xi:include href="xml/api-index-3.2.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-4" role="3.4">
|
||||
<title>Index of new symbols in 3.4</title>
|
||||
<xi:include href="xml/api-index-3.4.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-6" role="3.6">
|
||||
<title>Index of new symbols in 3.6</title>
|
||||
<xi:include href="xml/api-index-3.6.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-8" role="3.8">
|
||||
<title>Index of new symbols in 3.8</title>
|
||||
<xi:include href="xml/api-index-3.8.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-10" role="3.10">
|
||||
<title>Index of new symbols in 3.10</title>
|
||||
<xi:include href="xml/api-index-3.10.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-12" role="3.12">
|
||||
<title>Index of new symbols in 3.12</title>
|
||||
<xi:include href="xml/api-index-3.12.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-14" role="3.14">
|
||||
<title>Index of new symbols in 3.14</title>
|
||||
<xi:include href="xml/api-index-3.14.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-16" role="3.16">
|
||||
<title>Index of new symbols in 3.16</title>
|
||||
<xi:include href="xml/api-index-3.16.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-18" role="3.18">
|
||||
<title>Index of new symbols in 3.18</title>
|
||||
<xi:include href="xml/api-index-3.18.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-20" role="3.20">
|
||||
<title>Index of new symbols in 3.20</title>
|
||||
<xi:include href="xml/api-index-3.20.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-22" role="3.22">
|
||||
<title>Index of new symbols in 3.22</title>
|
||||
<xi:include href="xml/api-index-3.22.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
|
||||
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
|
||||
|
||||
|
@ -12,21 +12,7 @@ GDK_WINDOWING_QUARTZ
|
||||
GDK_WINDOWING_WAYLAND
|
||||
|
||||
<SUBSECTION>
|
||||
GDK_VERSION_3_0
|
||||
GDK_VERSION_3_2
|
||||
GDK_VERSION_3_4
|
||||
GDK_VERSION_3_6
|
||||
GDK_VERSION_3_8
|
||||
GDK_VERSION_3_10
|
||||
GDK_VERSION_3_12
|
||||
GDK_VERSION_3_14
|
||||
GDK_VERSION_3_16
|
||||
GDK_VERSION_3_18
|
||||
GDK_VERSION_3_20
|
||||
GDK_VERSION_3_22
|
||||
GDK_VERSION_3_90
|
||||
GDK_VERSION_3_92
|
||||
GDK_VERSION_3_94
|
||||
GDK_VERSION_4_0
|
||||
GDK_VERSION_MIN_REQUIRED
|
||||
GDK_VERSION_MAX_ALLOWED
|
||||
GDK_DISABLE_DEPRECATION_WARNINGS
|
||||
@ -69,49 +55,13 @@ gdk_window_type_get_type
|
||||
gdk_window_type_hint_get_type
|
||||
gdk_wm_decoration_get_type
|
||||
gdk_wm_function_get_type
|
||||
GDK_AVAILABLE_IN_3_0
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GDK_AVAILABLE_IN_3_14
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_3_6
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_4_0
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_UNAVAILABLE
|
||||
GDK_DEPRECATED
|
||||
GDK_DEPRECATED_FOR
|
||||
GDK_DEPRECATED_IN_3_0
|
||||
GDK_DEPRECATED_IN_3_0_FOR
|
||||
GDK_DEPRECATED_IN_3_10
|
||||
GDK_DEPRECATED_IN_3_10_FOR
|
||||
GDK_DEPRECATED_IN_3_12
|
||||
GDK_DEPRECATED_IN_3_12_FOR
|
||||
GDK_DEPRECATED_IN_3_14
|
||||
GDK_DEPRECATED_IN_3_14_FOR
|
||||
GDK_DEPRECATED_IN_3_16
|
||||
GDK_DEPRECATED_IN_3_16_FOR
|
||||
GDK_DEPRECATED_IN_3_18
|
||||
GDK_DEPRECATED_IN_3_18_FOR
|
||||
GDK_DEPRECATED_IN_3_2
|
||||
GDK_DEPRECATED_IN_3_20
|
||||
GDK_DEPRECATED_IN_3_20_FOR
|
||||
GDK_DEPRECATED_IN_3_22
|
||||
GDK_DEPRECATED_IN_3_22_FOR
|
||||
GDK_DEPRECATED_IN_3_2_FOR
|
||||
GDK_DEPRECATED_IN_3_4
|
||||
GDK_DEPRECATED_IN_3_4_FOR
|
||||
GDK_DEPRECATED_IN_3_6
|
||||
GDK_DEPRECATED_IN_3_6_FOR
|
||||
GDK_DEPRECATED_IN_3_8
|
||||
GDK_DEPRECATED_IN_3_8_FOR
|
||||
GDK_DEPRECATED_IN_4_0
|
||||
GDK_DEPRECATED_IN_4_0_FOR
|
||||
GDK_VERSION_CUR_STABLE
|
||||
GDK_VERSION_PREV_STABLE
|
||||
</SECTION>
|
||||
|
@ -384,58 +384,6 @@
|
||||
<title>Index of deprecated symbols</title>
|
||||
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-0" role="3.0">
|
||||
<title>Index of new symbols in 3.0</title>
|
||||
<xi:include href="xml/api-index-3.0.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-2" role="3.2">
|
||||
<title>Index of new symbols in 3.2</title>
|
||||
<xi:include href="xml/api-index-3.2.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-4" role="3.4">
|
||||
<title>Index of new symbols in 3.4</title>
|
||||
<xi:include href="xml/api-index-3.4.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-6" role="3.6">
|
||||
<title>Index of new symbols in 3.6</title>
|
||||
<xi:include href="xml/api-index-3.6.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-8" role="3.8">
|
||||
<title>Index of new symbols in 3.8</title>
|
||||
<xi:include href="xml/api-index-3.8.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-10" role="3.10">
|
||||
<title>Index of new symbols in 3.10</title>
|
||||
<xi:include href="xml/api-index-3.10.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-12" role="3.12">
|
||||
<title>Index of new symbols in 3.12</title>
|
||||
<xi:include href="xml/api-index-3.12.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-14" role="3.14">
|
||||
<title>Index of new symbols in 3.14</title>
|
||||
<xi:include href="xml/api-index-3.14.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-16" role="3.16">
|
||||
<title>Index of new symbols in 3.16</title>
|
||||
<xi:include href="xml/api-index-3.16.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-18" role="3.18">
|
||||
<title>Index of new symbols in 3.18</title>
|
||||
<xi:include href="xml/api-index-3.18.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-20" role="3.20">
|
||||
<title>Index of new symbols in 3.20</title>
|
||||
<xi:include href="xml/api-index-3.20.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-22" role="3.22">
|
||||
<title>Index of new symbols in 3.22</title>
|
||||
<xi:include href="xml/api-index-3.22.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
<index id="api-index-3-90" role="3.90">
|
||||
<title>Index of new symbols in 3.90</title>
|
||||
<xi:include href="xml/api-index-3.90.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
|
||||
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
|
||||
|
||||
|
@ -43,9 +43,9 @@ typedef struct _GdkBroadwayDisplayClass GdkBroadwayDisplayClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_broadway_display_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_broadway_display_show_keyboard (GdkBroadwayDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_broadway_display_hide_keyboard (GdkBroadwayDisplay *display);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -37,7 +37,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkBroadwayMonitor GdkBroadwayMonitor;
|
||||
typedef struct _GdkBroadwayMonitorClass GdkBroadwayMonitorClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_broadway_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -186,8 +186,6 @@ gdk_app_launch_context_get_display (GAppLaunchContext *context,
|
||||
* When the workspace is not specified or @desktop is set to -1,
|
||||
* it is up to the window manager to pick one, typically it will
|
||||
* be the current workspace.
|
||||
*
|
||||
* Since: 2.14
|
||||
*/
|
||||
void
|
||||
gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,
|
||||
@ -210,8 +208,6 @@ gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,
|
||||
* focus to the newly launched application when the user is busy
|
||||
* typing in another window. This is also known as 'focus stealing
|
||||
* prevention'.
|
||||
*
|
||||
* Since: 2.14
|
||||
*/
|
||||
void
|
||||
gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context,
|
||||
@ -234,8 +230,6 @@ gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context,
|
||||
* notification.
|
||||
*
|
||||
* See also gdk_app_launch_context_set_icon_name().
|
||||
*
|
||||
* Since: 2.14
|
||||
*/
|
||||
void
|
||||
gdk_app_launch_context_set_icon (GdkAppLaunchContext *context,
|
||||
@ -267,8 +261,6 @@ gdk_app_launch_context_set_icon (GdkAppLaunchContext *context,
|
||||
* If neither @icon or @icon_name is set, the icon is taken from either
|
||||
* the file that is passed to launched application or from the #GAppInfo
|
||||
* for the launched application itself.
|
||||
*
|
||||
* Since: 2.14
|
||||
*/
|
||||
void
|
||||
gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
|
||||
|
@ -84,8 +84,6 @@ gdk_cairo_get_clip_rectangle (cairo_t *cr,
|
||||
* @rgba: a #GdkRGBA
|
||||
*
|
||||
* Sets the specified #GdkRGBA as the source color of @cr.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
void
|
||||
gdk_cairo_set_source_rgba (cairo_t *cr,
|
||||
@ -107,8 +105,6 @@ gdk_cairo_set_source_rgba (cairo_t *cr,
|
||||
* @rectangle: a #GdkRectangle
|
||||
*
|
||||
* Adds the given rectangle to the current path of @cr.
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
void
|
||||
gdk_cairo_rectangle (cairo_t *cr,
|
||||
@ -128,8 +124,6 @@ gdk_cairo_rectangle (cairo_t *cr,
|
||||
* @region: a #cairo_region_t
|
||||
*
|
||||
* Adds the given region to the current path of @cr.
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
void
|
||||
gdk_cairo_region (cairo_t *cr,
|
||||
@ -253,8 +247,6 @@ gdk_cairo_surface_paint_pixbuf (cairo_surface_t *surface,
|
||||
* the pixbuf.
|
||||
*
|
||||
* Returns: a new cairo surface, must be freed with cairo_surface_destroy()
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
cairo_surface_t *
|
||||
gdk_cairo_surface_create_from_pixbuf (const GdkPixbuf *pixbuf,
|
||||
@ -296,8 +288,6 @@ gdk_cairo_surface_create_from_pixbuf (const GdkPixbuf *pixbuf,
|
||||
*
|
||||
* The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
|
||||
* so that the origin of @pixbuf is @pixbuf_x, @pixbuf_y.
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
void
|
||||
gdk_cairo_set_source_pixbuf (cairo_t *cr,
|
||||
|
@ -55,11 +55,11 @@ cairo_region_t *
|
||||
gdk_cairo_region_create_from_surface
|
||||
(cairo_surface_t *surface);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
cairo_surface_t * gdk_cairo_surface_create_from_pixbuf (const GdkPixbuf *pixbuf,
|
||||
int scale,
|
||||
GdkWindow *for_window);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_cairo_draw_from_gl (cairo_t *cr,
|
||||
GdkWindow *window,
|
||||
int source,
|
||||
@ -70,10 +70,10 @@ void gdk_cairo_draw_from_gl (cairo_t *cr,
|
||||
int width,
|
||||
int height);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDrawingContext * gdk_cairo_get_drawing_context (cairo_t *cr);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_cairo_surface_upload_to_gl (cairo_surface_t *surface,
|
||||
int target,
|
||||
int width,
|
||||
|
@ -363,8 +363,6 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
|
||||
* GdkClipboard:display:
|
||||
*
|
||||
* The #GdkDisplay that the clipboard belongs to.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -380,8 +378,6 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
|
||||
* GdkClipboard:formats:
|
||||
*
|
||||
* The possible formats that the clipboard can provide its data in.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_FORMATS] =
|
||||
g_param_spec_boxed ("formats",
|
||||
@ -396,8 +392,6 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
|
||||
* GdkClipboard:local:
|
||||
*
|
||||
* %TRUE if the contents of the clipboard are owned by this process.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_LOCAL] =
|
||||
g_param_spec_boolean ("local",
|
||||
@ -413,8 +407,6 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
|
||||
*
|
||||
* The #GdkContentProvider or %NULL if the clipboard is empty or contents are
|
||||
* provided otherwise.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_CONTENT] =
|
||||
g_param_spec_object ("content",
|
||||
|
@ -34,89 +34,89 @@ G_BEGIN_DECLS
|
||||
#define GDK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_CLIPBOARD, GdkClipboard))
|
||||
#define GDK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_CLIPBOARD))
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_clipboard_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_clipboard_get_display (GdkClipboard *clipboard);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_clipboard_get_formats (GdkClipboard *clipboard);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_clipboard_is_local (GdkClipboard *clipboard);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentProvider * gdk_clipboard_get_content (GdkClipboard *clipboard);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_store_async (GdkClipboard *clipboard,
|
||||
int io_priority,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_clipboard_store_finish (GdkClipboard *clipboard,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_read_async (GdkClipboard *clipboard,
|
||||
const char **mime_types,
|
||||
int io_priority,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GInputStream * gdk_clipboard_read_finish (GdkClipboard *clipboard,
|
||||
const char **out_mime_type,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_read_value_async (GdkClipboard *clipboard,
|
||||
GType type,
|
||||
int io_priority,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const GValue * gdk_clipboard_read_value_finish (GdkClipboard *clipboard,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_read_texture_async(GdkClipboard *clipboard,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture * gdk_clipboard_read_texture_finish (GdkClipboard *clipboard,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_read_text_async (GdkClipboard *clipboard,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
char * gdk_clipboard_read_text_finish (GdkClipboard *clipboard,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_clipboard_set_content (GdkClipboard *clipboard,
|
||||
GdkContentProvider *provider);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_set (GdkClipboard *clipboard,
|
||||
GType type,
|
||||
...);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_set_valist (GdkClipboard *clipboard,
|
||||
GType type,
|
||||
va_list args);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_set_value (GdkClipboard *clipboard,
|
||||
const GValue *value);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_set_text (GdkClipboard *clipboard,
|
||||
const char *text);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_clipboard_set_texture (GdkClipboard *clipboard,
|
||||
GdkTexture *texture);
|
||||
|
||||
|
@ -50,48 +50,48 @@ typedef struct _GdkContentDeserializer GdkContentDeserializer;
|
||||
*/
|
||||
typedef void (* GdkContentDeserializeFunc) (GdkContentDeserializer *deserializer);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_deserializer_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_content_deserializer_get_mime_type (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_deserializer_get_gtype (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GValue * gdk_content_deserializer_get_value (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GInputStream * gdk_content_deserializer_get_input_stream (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_content_deserializer_get_priority (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GCancellable * gdk_content_deserializer_get_cancellable (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gpointer gdk_content_deserializer_get_user_data (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_deserializer_set_task_data (GdkContentDeserializer *deserializer,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gpointer gdk_content_deserializer_get_task_data (GdkContentDeserializer *deserializer);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_deserializer_return_success (GdkContentDeserializer *deserializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_deserializer_return_error (GdkContentDeserializer *deserializer,
|
||||
GError *error);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_union_deserialize_gtypes (GdkContentFormats *formats);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_union_deserialize_mime_types(GdkContentFormats *formats);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_register_deserializer (const char *mime_type,
|
||||
GType type,
|
||||
GdkContentDeserializeFunc deserialize,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_deserialize_async (GInputStream *stream,
|
||||
const char *mime_type,
|
||||
GType type,
|
||||
@ -99,7 +99,7 @@ void gdk_content_deserialize_async (GInputS
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_deserialize_finish (GAsyncResult *result,
|
||||
GValue *value,
|
||||
GError **error);
|
||||
|
@ -30,50 +30,50 @@ G_BEGIN_DECLS
|
||||
|
||||
#define GDK_TYPE_CONTENT_FORMATS (gdk_content_formats_get_type ())
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_intern_mime_type (const char *string);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_formats_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_new (const char **mime_types,
|
||||
guint n_mime_types);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_new_for_gtype (GType type);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_ref (GdkContentFormats *formats);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_formats_unref (GdkContentFormats *formats);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_formats_print (GdkContentFormats *formats,
|
||||
GString *string);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
char * gdk_content_formats_to_string (GdkContentFormats *formats);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const GType * gdk_content_formats_get_gtypes (GdkContentFormats *formats,
|
||||
gsize *n_gtypes);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * const * gdk_content_formats_get_mime_types (GdkContentFormats *formats,
|
||||
gsize *n_mime_types);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_union (GdkContentFormats *first,
|
||||
const GdkContentFormats *second) G_GNUC_WARN_UNUSED_RESULT;
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_formats_match (const GdkContentFormats *first,
|
||||
const GdkContentFormats *second);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_formats_match_gtype (const GdkContentFormats *first,
|
||||
const GdkContentFormats *second);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_content_formats_match_mime_type (const GdkContentFormats *first,
|
||||
const GdkContentFormats *second);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_formats_contain_gtype (const GdkContentFormats *formats,
|
||||
GType type);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_formats_contain_mime_type (const GdkContentFormats *formats,
|
||||
const char *mime_type);
|
||||
|
||||
@ -81,32 +81,32 @@ gboolean gdk_content_formats_contain_mime_type (const GdkConten
|
||||
|
||||
typedef struct _GdkContentFormatsBuilder GdkContentFormatsBuilder;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_formats_builder_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormatsBuilder *gdk_content_formats_builder_new (void);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormatsBuilder *gdk_content_formats_builder_ref (GdkContentFormatsBuilder *builder);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_formats_builder_unref (GdkContentFormatsBuilder *builder);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_builder_free_to_formats (GdkContentFormatsBuilder *builder) G_GNUC_WARN_UNUSED_RESULT;
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_builder_to_formats (GdkContentFormatsBuilder *builder) G_GNUC_WARN_UNUSED_RESULT;
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_formats_builder_add_formats (GdkContentFormatsBuilder *builder,
|
||||
const GdkContentFormats *formats);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_formats_builder_add_mime_type(GdkContentFormatsBuilder *builder,
|
||||
const char *mime_type);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_formats_builder_add_gtype (GdkContentFormatsBuilder *builder,
|
||||
GType type);
|
||||
|
||||
/* dunno where else to put this */
|
||||
#define GDK_TYPE_FILE_LIST (gdk_file_list_get_type ())
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_file_list_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
||||
|
@ -174,8 +174,6 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
|
||||
* GdkContentProvider:formats:
|
||||
*
|
||||
* The possible formats that the provider can provide its data in.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_FORMATS] =
|
||||
g_param_spec_boxed ("formats",
|
||||
@ -190,8 +188,6 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
|
||||
* GdkContentProvider:storable-formats:
|
||||
*
|
||||
* The subset of formats that clipboard managers should store this provider's data in.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_STORABLE_FORMATS] =
|
||||
g_param_spec_boxed ("storable-formats",
|
||||
@ -206,8 +202,6 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
|
||||
* GdkContentProvider:content-changed:
|
||||
*
|
||||
* Emitted whenever the content provided by this provider has changed.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
signals[CONTENT_CHANGED] =
|
||||
g_signal_new ("content-changed",
|
||||
|
@ -91,18 +91,18 @@ struct _GdkContentProviderClass
|
||||
};
|
||||
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_provider_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_provider_ref_formats (GdkContentProvider *provider);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_provider_ref_storable_formats (GdkContentProvider *provider);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_provider_content_changed (GdkContentProvider *provider);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_provider_write_mime_type_async (GdkContentProvider *provider,
|
||||
const char *mime_type,
|
||||
GOutputStream *stream,
|
||||
@ -110,11 +110,11 @@ void gdk_content_provider_write_mime_type_async (GdkCont
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_provider_write_mime_type_finish (GdkContentProvider *provider,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_provider_get_value (GdkContentProvider *provider,
|
||||
GValue *value,
|
||||
GError **error);
|
||||
|
@ -29,9 +29,9 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentProvider * gdk_content_provider_new_for_value (const GValue *value);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentProvider * gdk_content_provider_new_for_bytes (const char *mime_type,
|
||||
GBytes *bytes);
|
||||
|
||||
|
@ -50,48 +50,48 @@ typedef struct _GdkContentSerializer GdkContentSerializer;
|
||||
*/
|
||||
typedef void (* GdkContentSerializeFunc) (GdkContentSerializer *serializer);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_serializer_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_content_serializer_get_mime_type (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_content_serializer_get_gtype (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const GValue * gdk_content_serializer_get_value (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GOutputStream * gdk_content_serializer_get_output_stream (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_content_serializer_get_priority (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GCancellable * gdk_content_serializer_get_cancellable (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gpointer gdk_content_serializer_get_user_data (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_serializer_set_task_data (GdkContentSerializer *serializer,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gpointer gdk_content_serializer_get_task_data (GdkContentSerializer *serializer);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_serializer_return_success (GdkContentSerializer *serializer);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_serializer_return_error (GdkContentSerializer *serializer,
|
||||
GError *error);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_union_serialize_gtypes (GdkContentFormats *formats);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats * gdk_content_formats_union_serialize_mime_types (GdkContentFormats *formats);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_register_serializer (GType type,
|
||||
const char *mime_type,
|
||||
GdkContentSerializeFunc serialize,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_content_serialize_async (GOutputStream *stream,
|
||||
const char *mime_type,
|
||||
const GValue *value,
|
||||
@ -99,7 +99,7 @@ void gdk_content_serialize_async (GOutput
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_content_serialize_finish (GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
|
@ -322,8 +322,6 @@ gdk_cursor_equal (gconstpointer a,
|
||||
*
|
||||
* Returns: (nullable): a new #GdkCursor, or %NULL if there is no
|
||||
* cursor with the given name
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
GdkCursor*
|
||||
gdk_cursor_new_from_name (const gchar *name,
|
||||
@ -361,8 +359,6 @@ gdk_cursor_new_from_name (const gchar *name,
|
||||
* sufficently new version of the X Render extension.
|
||||
*
|
||||
* Returns: a new #GdkCursor.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkCursor *
|
||||
gdk_cursor_new_from_texture (GdkTexture *texture,
|
||||
@ -397,8 +393,6 @@ gdk_cursor_new_from_texture (GdkTexture *texture,
|
||||
*
|
||||
* Returns: (transfer none): the fallback of the cursor or %NULL to use
|
||||
* the default cursor as fallback.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkCursor *
|
||||
gdk_cursor_get_fallback (GdkCursor *cursor)
|
||||
@ -417,8 +411,6 @@ gdk_cursor_get_fallback (GdkCursor *cursor)
|
||||
*
|
||||
* Returns: (transfer none): the name of the cursor or %NULL if it is not
|
||||
* a named cursor
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
const char *
|
||||
gdk_cursor_get_name (GdkCursor *cursor)
|
||||
@ -437,8 +429,6 @@ gdk_cursor_get_name (GdkCursor *cursor)
|
||||
*
|
||||
* Returns: (transfer none): the texture for cursor or %NULL if it is a
|
||||
* named cursor
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_cursor_get_texture (GdkCursor *cursor)
|
||||
@ -456,8 +446,6 @@ gdk_cursor_get_texture (GdkCursor *cursor)
|
||||
* pixel that will be directly above the cursor.
|
||||
*
|
||||
* Returns: the horizontal offset of the hotspot or 0 for named cursors
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
int
|
||||
gdk_cursor_get_hotspot_x (GdkCursor *cursor)
|
||||
@ -475,8 +463,6 @@ gdk_cursor_get_hotspot_x (GdkCursor *cursor)
|
||||
* pixel that will be directly above the cursor.
|
||||
*
|
||||
* Returns: the vertical offset of the hotspot or 0 for named cursors
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
int
|
||||
gdk_cursor_get_hotspot_y (GdkCursor *cursor)
|
||||
|
@ -44,7 +44,7 @@ G_BEGIN_DECLS
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_cursor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkCursor* gdk_cursor_new_from_texture (GdkTexture *texture,
|
||||
int hotspot_x,
|
||||
int hotspot_y,
|
||||
@ -53,15 +53,15 @@ GDK_AVAILABLE_IN_ALL
|
||||
GdkCursor* gdk_cursor_new_from_name (const gchar *name,
|
||||
GdkCursor *fallback);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkCursor * gdk_cursor_get_fallback (GdkCursor *cursor);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char *gdk_cursor_get_name (GdkCursor *cursor);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture *gdk_cursor_get_texture (GdkCursor *cursor);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_cursor_get_hotspot_x (GdkCursor *cursor);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_cursor_get_hotspot_y (GdkCursor *cursor);
|
||||
|
||||
|
||||
|
@ -121,8 +121,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:display:
|
||||
*
|
||||
* The #GdkDisplay the #GdkDevice pertains to.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -135,8 +133,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:name:
|
||||
*
|
||||
* The device name.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_NAME] =
|
||||
g_param_spec_string ("name",
|
||||
@ -149,8 +145,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:type:
|
||||
*
|
||||
* Device role in the device manager.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_TYPE] =
|
||||
g_param_spec_enum ("type",
|
||||
@ -166,8 +160,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
*
|
||||
* Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER
|
||||
* always come in keyboard/pointer pairs. Other device types will have a %NULL associated device.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_ASSOCIATED_DEVICE] =
|
||||
g_param_spec_object ("associated-device",
|
||||
@ -180,8 +172,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:input-source:
|
||||
*
|
||||
* Source type for the device.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_INPUT_SOURCE] =
|
||||
g_param_spec_enum ("input-source",
|
||||
@ -196,8 +186,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:input-mode:
|
||||
*
|
||||
* Input mode for the device.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_INPUT_MODE] =
|
||||
g_param_spec_enum ("input-mode",
|
||||
@ -212,8 +200,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
*
|
||||
* Whether the device is represented by a cursor on the screen. Devices of type
|
||||
* %GDK_DEVICE_TYPE_MASTER will have %TRUE here.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_HAS_CURSOR] =
|
||||
g_param_spec_boolean ("has-cursor",
|
||||
@ -227,8 +213,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:n-axes:
|
||||
*
|
||||
* Number of axes in the device.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
device_props[PROP_N_AXES] =
|
||||
g_param_spec_uint ("n-axes",
|
||||
@ -242,8 +226,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:vendor-id:
|
||||
*
|
||||
* Vendor ID of this device, see gdk_device_get_vendor_id().
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
device_props[PROP_VENDOR_ID] =
|
||||
g_param_spec_string ("vendor-id",
|
||||
@ -257,8 +239,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:product-id:
|
||||
*
|
||||
* Product ID of this device, see gdk_device_get_product_id().
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
device_props[PROP_PRODUCT_ID] =
|
||||
g_param_spec_string ("product-id",
|
||||
@ -272,8 +252,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:seat:
|
||||
*
|
||||
* #GdkSeat of this device.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
device_props[PROP_SEAT] =
|
||||
g_param_spec_object ("seat",
|
||||
@ -289,8 +267,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* The maximal number of concurrent touches on a touch device.
|
||||
* Will be 0 if the device is not a touch device or if the number
|
||||
* of touches is unknown.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
device_props[PROP_NUM_TOUCHES] =
|
||||
g_param_spec_uint ("num-touches",
|
||||
@ -304,8 +280,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
* GdkDevice:axes:
|
||||
*
|
||||
* The axes currently available for this device.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
device_props[PROP_AXES] =
|
||||
g_param_spec_flags ("axes",
|
||||
@ -350,8 +324,6 @@ gdk_device_class_init (GdkDeviceClass *klass)
|
||||
*
|
||||
* The ::tool-changed signal is emitted on pen/eraser
|
||||
* #GdkDevices whenever tools enter or leave proximity.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
signals[TOOL_CHANGED] =
|
||||
g_signal_new (g_intern_static_string ("tool-changed"),
|
||||
@ -566,8 +538,6 @@ gdk_device_get_state (GdkDevice *device,
|
||||
* coordinates are those of its master pointer, this function
|
||||
* may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
|
||||
* unless there is an ongoing grab on them. See gdk_device_grab().
|
||||
*
|
||||
* Since: 3.10
|
||||
**/
|
||||
void
|
||||
gdk_device_get_position_double (GdkDevice *device,
|
||||
@ -607,8 +577,6 @@ gdk_device_get_position_double (GdkDevice *device,
|
||||
* coordinates are those of its master pointer, This function
|
||||
* may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
|
||||
* unless there is an ongoing grab on them, see gdk_device_grab().
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_device_get_position (GdkDevice *device,
|
||||
@ -643,8 +611,6 @@ gdk_device_get_position (GdkDevice *device,
|
||||
*
|
||||
* Returns: (nullable) (transfer none): the #GdkWindow under the
|
||||
* device position, or %NULL.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_device_get_window_at_position_double (GdkDevice *device,
|
||||
@ -693,8 +659,6 @@ gdk_device_get_window_at_position_double (GdkDevice *device,
|
||||
*
|
||||
* Returns: (nullable) (transfer none): the #GdkWindow under the
|
||||
* device position, or %NULL.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_device_get_window_at_position (GdkDevice *device,
|
||||
@ -809,8 +773,6 @@ gdk_device_free_history (GdkTimeCoord **events,
|
||||
* Determines the name of the device.
|
||||
*
|
||||
* Returns: a name
|
||||
*
|
||||
* Since: 2.20
|
||||
**/
|
||||
const gchar *
|
||||
gdk_device_get_name (GdkDevice *device)
|
||||
@ -828,8 +790,6 @@ gdk_device_get_name (GdkDevice *device)
|
||||
* This is not meaningful for keyboard devices, which don't have a pointer.
|
||||
*
|
||||
* Returns: %TRUE if the pointer follows device motion
|
||||
*
|
||||
* Since: 2.20
|
||||
**/
|
||||
gboolean
|
||||
gdk_device_get_has_cursor (GdkDevice *device)
|
||||
@ -846,8 +806,6 @@ gdk_device_get_has_cursor (GdkDevice *device)
|
||||
* Determines the type of the device.
|
||||
*
|
||||
* Returns: a #GdkInputSource
|
||||
*
|
||||
* Since: 2.20
|
||||
**/
|
||||
GdkInputSource
|
||||
gdk_device_get_source (GdkDevice *device)
|
||||
@ -864,8 +822,6 @@ gdk_device_get_source (GdkDevice *device)
|
||||
* Determines the mode of the device.
|
||||
*
|
||||
* Returns: a #GdkInputSource
|
||||
*
|
||||
* Since: 2.20
|
||||
**/
|
||||
GdkInputMode
|
||||
gdk_device_get_mode (GdkDevice *device)
|
||||
@ -916,8 +872,6 @@ gdk_device_set_mode (GdkDevice *device,
|
||||
* Returns the number of keys the device currently has.
|
||||
*
|
||||
* Returns: the number of keys.
|
||||
*
|
||||
* Since: 2.24
|
||||
**/
|
||||
gint
|
||||
gdk_device_get_n_keys (GdkDevice *device)
|
||||
@ -938,8 +892,6 @@ gdk_device_get_n_keys (GdkDevice *device)
|
||||
* and fill in @keyval and @modifiers with the keyval settings.
|
||||
*
|
||||
* Returns: %TRUE if keyval is set for @index.
|
||||
*
|
||||
* Since: 2.20
|
||||
**/
|
||||
gboolean
|
||||
gdk_device_get_key (GdkDevice *device,
|
||||
@ -994,8 +946,6 @@ gdk_device_set_key (GdkDevice *device,
|
||||
* Returns the axis use for @index_.
|
||||
*
|
||||
* Returns: a #GdkAxisUse specifying how the axis is used.
|
||||
*
|
||||
* Since: 2.20
|
||||
**/
|
||||
GdkAxisUse
|
||||
gdk_device_get_axis_use (GdkDevice *device,
|
||||
@ -1061,8 +1011,6 @@ gdk_device_set_axis_use (GdkDevice *device,
|
||||
*
|
||||
* Returns: (transfer none): a #GdkDisplay. This memory is owned
|
||||
* by GTK+, and must not be freed or unreffed.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkDisplay *
|
||||
gdk_device_get_display (GdkDevice *device)
|
||||
@ -1088,8 +1036,6 @@ gdk_device_get_display (GdkDevice *device)
|
||||
*
|
||||
* Returns: (nullable) (transfer none): The associated device, or
|
||||
* %NULL
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkDevice *
|
||||
gdk_device_get_associated_device (GdkDevice *device)
|
||||
@ -1196,8 +1142,6 @@ _gdk_device_remove_slave (GdkDevice *device,
|
||||
* Returns the device type for @device.
|
||||
*
|
||||
* Returns: the #GdkDeviceType for @device.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkDeviceType
|
||||
gdk_device_get_device_type (GdkDevice *device)
|
||||
@ -1214,8 +1158,6 @@ gdk_device_get_device_type (GdkDevice *device)
|
||||
* Returns the number of axes the device currently has.
|
||||
*
|
||||
* Returns: the number of axes.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
gint
|
||||
gdk_device_get_n_axes (GdkDevice *device)
|
||||
@ -1235,8 +1177,6 @@ gdk_device_get_n_axes (GdkDevice *device)
|
||||
*
|
||||
* Returns: (transfer container) (element-type GdkAtom):
|
||||
* A #GList of strings, free with g_list_free().
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GList *
|
||||
gdk_device_list_axes (GdkDevice *device)
|
||||
@ -1270,8 +1210,6 @@ gdk_device_list_axes (GdkDevice *device)
|
||||
* by gdk_device_list_axes()
|
||||
*
|
||||
* Returns: %TRUE if the given axis use was found, otherwise %FALSE.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
gboolean
|
||||
gdk_device_get_axis_value (GdkDevice *device,
|
||||
@ -1415,9 +1353,7 @@ get_native_grab_event_mask (GdkEventMask grab_mask)
|
||||
*
|
||||
* Returns: %GDK_GRAB_SUCCESS if the grab was successful.
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated: 3.20. Use gdk_seat_grab() instead.
|
||||
* Deprecated: Use gdk_seat_grab() instead.
|
||||
**/
|
||||
GdkGrabStatus
|
||||
gdk_device_grab (GdkDevice *device,
|
||||
@ -1478,8 +1414,6 @@ gdk_device_grab (GdkDevice *device,
|
||||
*
|
||||
* Release any grab on @device.
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Deprecated: 3.20. Use gdk_seat_ungrab() instead.
|
||||
*/
|
||||
void
|
||||
@ -1508,8 +1442,6 @@ gdk_device_ungrab (GdkDevice *device,
|
||||
* control of the user. This function was added to cover
|
||||
* some rare use cases like keyboard navigation support
|
||||
* for the color picker in the #GtkColorSelectionDialog.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_device_warp (GdkDevice *device,
|
||||
@ -1857,8 +1789,6 @@ _gdk_device_window_at_position (GdkDevice *device,
|
||||
* application's windows.
|
||||
*
|
||||
* Returns: (transfer none) (allow-none): the last window the device
|
||||
*
|
||||
* Since: 3.12
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_device_get_last_event_window (GdkDevice *device)
|
||||
@ -1907,8 +1837,6 @@ gdk_device_get_last_event_window (GdkDevice *device)
|
||||
* ]|
|
||||
*
|
||||
* Returns: (nullable): the vendor ID, or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
const gchar *
|
||||
gdk_device_get_vendor_id (GdkDevice *device)
|
||||
@ -1928,8 +1856,6 @@ gdk_device_get_vendor_id (GdkDevice *device)
|
||||
* it. See gdk_device_get_vendor_id() for more information.
|
||||
*
|
||||
* Returns: (nullable): the product ID, or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
const gchar *
|
||||
gdk_device_get_product_id (GdkDevice *device)
|
||||
@ -1962,8 +1888,6 @@ gdk_device_set_seat (GdkDevice *device,
|
||||
*
|
||||
* Returns: (transfer none): A #GdkSeat. This memory is owned by GTK+ and
|
||||
* must not be freed.
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkSeat *
|
||||
gdk_device_get_seat (GdkDevice *device)
|
||||
@ -1978,8 +1902,6 @@ gdk_device_get_seat (GdkDevice *device)
|
||||
* @device: a #GdkDevice
|
||||
*
|
||||
* Returns the axes currently available on the device.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
GdkAxisFlags
|
||||
gdk_device_get_axes (GdkDevice *device)
|
||||
|
@ -176,11 +176,11 @@ GdkWindow *
|
||||
(GdkDevice *device,
|
||||
gint *win_x,
|
||||
gint *win_y);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_device_get_position_double (GdkDevice *device,
|
||||
gdouble *x,
|
||||
gdouble *y);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow *
|
||||
gdk_device_get_window_at_position_double
|
||||
(GdkDevice *device,
|
||||
@ -223,7 +223,7 @@ GList * gdk_device_list_slave_devices (GdkDevice *device);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDeviceType gdk_device_get_device_type (GdkDevice *device);
|
||||
|
||||
GDK_DEPRECATED_IN_3_20_FOR(gdk_seat_grab)
|
||||
GDK_DEPRECATED_FOR(gdk_seat_grab)
|
||||
GdkGrabStatus gdk_device_grab (GdkDevice *device,
|
||||
GdkWindow *window,
|
||||
GdkGrabOwnership grab_ownership,
|
||||
@ -232,7 +232,7 @@ GdkGrabStatus gdk_device_grab (GdkDevice *device,
|
||||
GdkCursor *cursor,
|
||||
guint32 time_);
|
||||
|
||||
GDK_DEPRECATED_IN_3_20_FOR(gdk_seat_ungrab)
|
||||
GDK_DEPRECATED_FOR(gdk_seat_ungrab)
|
||||
void gdk_device_ungrab (GdkDevice *device,
|
||||
guint32 time_);
|
||||
|
||||
@ -241,18 +241,18 @@ void gdk_device_warp (GdkDevice *device,
|
||||
gint x,
|
||||
gint y);
|
||||
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow *gdk_device_get_last_event_window (GdkDevice *device);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const gchar *gdk_device_get_vendor_id (GdkDevice *device);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const gchar *gdk_device_get_product_id (GdkDevice *device);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkSeat *gdk_device_get_seat (GdkDevice *device);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkAxisFlags gdk_device_get_axes (GdkDevice *device);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -72,8 +72,6 @@ gdk_device_pad_default_init (GdkDevicePadInterface *pad)
|
||||
* current mode.
|
||||
*
|
||||
* Returns: The number of button/ring/strip groups in the pad.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
gint
|
||||
gdk_device_pad_get_n_groups (GdkDevicePad *pad)
|
||||
@ -93,8 +91,6 @@ gdk_device_pad_get_n_groups (GdkDevicePad *pad)
|
||||
* Returns the number of modes that @group may have.
|
||||
*
|
||||
* Returns: The number of modes available in @group.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
gint
|
||||
gdk_device_pad_get_group_n_modes (GdkDevicePad *pad,
|
||||
@ -116,8 +112,6 @@ gdk_device_pad_get_group_n_modes (GdkDevicePad *pad,
|
||||
* Returns the number of features a tablet pad has.
|
||||
*
|
||||
* Returns: The amount of elements of type @feature that this pad has.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
gint
|
||||
gdk_device_pad_get_n_features (GdkDevicePad *pad,
|
||||
@ -140,8 +134,6 @@ gdk_device_pad_get_n_features (GdkDevicePad *pad,
|
||||
* or -1 if feature/index do not exist in @pad.
|
||||
*
|
||||
* Returns: The group number of the queried pad feature.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
gint
|
||||
gdk_device_pad_get_feature_group (GdkDevicePad *pad,
|
||||
|
@ -50,21 +50,21 @@ typedef enum {
|
||||
GDK_DEVICE_PAD_FEATURE_STRIP
|
||||
} GdkDevicePadFeature;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_device_pad_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_device_pad_get_n_groups (GdkDevicePad *pad);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_device_pad_get_group_n_modes (GdkDevicePad *pad,
|
||||
gint group_idx);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_device_pad_get_n_features (GdkDevicePad *pad,
|
||||
GdkDevicePadFeature feature);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_device_pad_get_feature_group (GdkDevicePad *pad,
|
||||
GdkDevicePadFeature feature,
|
||||
gint feature_idx);
|
||||
|
@ -160,8 +160,6 @@ gdk_device_tool_new (guint64 serial,
|
||||
* physical tool (eg. a tablet pen) across program executions.
|
||||
*
|
||||
* Returns: The serial ID for this tool
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
guint64
|
||||
gdk_device_tool_get_serial (GdkDeviceTool *tool)
|
||||
@ -186,8 +184,6 @@ gdk_device_tool_get_serial (GdkDeviceTool *tool)
|
||||
* but having different hardware identificators.
|
||||
*
|
||||
* Returns: The hardware identificator of this tool.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
guint64
|
||||
gdk_device_tool_get_hardware_id (GdkDeviceTool *tool)
|
||||
@ -205,8 +201,6 @@ gdk_device_tool_get_hardware_id (GdkDeviceTool *tool)
|
||||
*
|
||||
* Returns: The physical type for this tool. This can be used to figure out what
|
||||
* sort of pen is being used, such as an airbrush or a pencil.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
GdkDeviceToolType
|
||||
gdk_device_tool_get_tool_type (GdkDeviceTool *tool)
|
||||
|
@ -61,16 +61,16 @@ typedef enum {
|
||||
GDK_DEVICE_TOOL_TYPE_LENS,
|
||||
} GdkDeviceToolType;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_device_tool_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
guint64 gdk_device_tool_get_serial (GdkDeviceTool *tool);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
guint64 gdk_device_tool_get_hardware_id (GdkDeviceTool *tool);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDeviceToolType gdk_device_tool_get_tool_type (GdkDeviceTool *tool);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -186,8 +186,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* %TRUE if the display properly composits the alpha channel.
|
||||
* See gdk_display_is_composited() for details.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
props[PROP_COMPOSITED] =
|
||||
g_param_spec_boolean ("composited",
|
||||
@ -201,8 +199,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* %TRUE if the display supports an alpha channel. See gdk_display_is_rgba()
|
||||
* for details.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
props[PROP_RGBA] =
|
||||
g_param_spec_boolean ("rgba",
|
||||
@ -236,8 +232,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* The ::closed signal is emitted when the connection to the windowing
|
||||
* system for @display is closed.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
signals[CLOSED] =
|
||||
g_signal_new (g_intern_static_string ("closed"),
|
||||
@ -257,8 +251,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* The ::seat-added signal is emitted whenever a new seat is made
|
||||
* known to the windowing system.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals[SEAT_ADDED] =
|
||||
g_signal_new (g_intern_static_string ("seat-added"),
|
||||
@ -275,8 +267,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* The ::seat-removed signal is emitted whenever a seat is removed
|
||||
* by the windowing system.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals[SEAT_REMOVED] =
|
||||
g_signal_new (g_intern_static_string ("seat-removed"),
|
||||
@ -293,8 +283,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* The ::monitor-added signal is emitted whenever a monitor is
|
||||
* added.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
signals[MONITOR_ADDED] =
|
||||
g_signal_new (g_intern_static_string ("monitor-added"),
|
||||
@ -311,8 +299,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* The ::monitor-removed signal is emitted whenever a monitor is
|
||||
* removed.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
signals[MONITOR_REMOVED] =
|
||||
g_signal_new (g_intern_static_string ("monitor-removed"),
|
||||
@ -329,8 +315,6 @@ gdk_display_class_init (GdkDisplayClass *class)
|
||||
*
|
||||
* The ::setting-changed signal is emitted whenever a setting
|
||||
* changes its value.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
signals[SETTING_CHANGED] =
|
||||
g_signal_new (g_intern_static_string ("setting-changed"),
|
||||
@ -422,8 +406,6 @@ gdk_display_finalize (GObject *object)
|
||||
*
|
||||
* Closes the connection to the windowing system for the given display,
|
||||
* and cleans up associated resources.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
void
|
||||
gdk_display_close (GdkDisplay *display)
|
||||
@ -448,8 +430,6 @@ gdk_display_close (GdkDisplay *display)
|
||||
* Finds out if the display has been closed.
|
||||
*
|
||||
* Returns: %TRUE if the display is closed.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_display_is_closed (GdkDisplay *display)
|
||||
@ -468,8 +448,6 @@ gdk_display_is_closed (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (nullable) (transfer full): the next #GdkEvent to be processed,
|
||||
* or %NULL if no events are pending
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
GdkEvent *
|
||||
gdk_display_get_event (GdkDisplay *display)
|
||||
@ -493,8 +471,6 @@ gdk_display_get_event (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (nullable) (transfer full): the first #GdkEvent on the
|
||||
* event queue
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
GdkEvent *
|
||||
gdk_display_peek_event (GdkDisplay *display)
|
||||
@ -527,8 +503,6 @@ gdk_display_put_event_nocopy (GdkDisplay *display,
|
||||
*
|
||||
* Appends a copy of the given event onto the front of the event
|
||||
* queue for @display.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_display_put_event (GdkDisplay *display,
|
||||
@ -1058,8 +1032,6 @@ gdk_display_device_is_grabbed (GdkDisplay *display,
|
||||
*
|
||||
* Returns: a string representing the display name. This string is owned
|
||||
* by GDK and should not be modified or freed.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
const gchar *
|
||||
gdk_display_get_name (GdkDisplay *display)
|
||||
@ -1074,8 +1046,6 @@ gdk_display_get_name (GdkDisplay *display)
|
||||
* @display: a #GdkDisplay
|
||||
*
|
||||
* Emits a short beep on @display
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
void
|
||||
gdk_display_beep (GdkDisplay *display)
|
||||
@ -1098,8 +1068,6 @@ gdk_display_beep (GdkDisplay *display)
|
||||
*
|
||||
* This is most useful for X11. On windowing systems where requests are
|
||||
* handled synchronously, this function will do nothing.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
void
|
||||
gdk_display_sync (GdkDisplay *display)
|
||||
@ -1122,8 +1090,6 @@ gdk_display_sync (GdkDisplay *display)
|
||||
*
|
||||
* This is most useful for X11. On windowing systems where requests are
|
||||
* handled synchronously, this function will do nothing.
|
||||
*
|
||||
* Since: 2.4
|
||||
*/
|
||||
void
|
||||
gdk_display_flush (GdkDisplay *display)
|
||||
@ -1143,8 +1109,6 @@ gdk_display_flush (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (transfer none): The default group leader window
|
||||
* for @display
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_display_get_default_group (GdkDisplay *display)
|
||||
@ -1202,8 +1166,6 @@ gdk_display_get_primary_clipboard (GdkDisplay *display)
|
||||
* be used to create shaped windows on @display.
|
||||
*
|
||||
* Returns: %TRUE if shaped windows are supported
|
||||
*
|
||||
* Since: 2.10
|
||||
*/
|
||||
gboolean
|
||||
gdk_display_supports_shapes (GdkDisplay *display)
|
||||
@ -1221,8 +1183,6 @@ gdk_display_supports_shapes (GdkDisplay *display)
|
||||
* be used to modify the input shape of windows on @display.
|
||||
*
|
||||
* Returns: %TRUE if windows with modified input shape are supported
|
||||
*
|
||||
* Since: 2.10
|
||||
*/
|
||||
gboolean
|
||||
gdk_display_supports_input_shapes (GdkDisplay *display)
|
||||
@ -1253,8 +1213,6 @@ gdk_display_real_get_app_launch_context (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (transfer full): a new #GdkAppLaunchContext for @display.
|
||||
* Free with g_object_unref() when done
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
GdkAppLaunchContext *
|
||||
gdk_display_get_app_launch_context (GdkDisplay *display)
|
||||
@ -1272,8 +1230,6 @@ gdk_display_get_app_launch_context (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDisplay, or %NULL if the
|
||||
* display could not be opened
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_display_open (const gchar *display_name)
|
||||
@ -1290,8 +1246,6 @@ gdk_display_open (const gchar *display_name)
|
||||
* to be processed.
|
||||
*
|
||||
* Returns: %TRUE if there are events ready to be processed.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
gboolean
|
||||
gdk_display_has_pending (GdkDisplay *display)
|
||||
@ -1320,8 +1274,6 @@ _gdk_display_get_next_serial (GdkDisplay *display)
|
||||
* with custom startup-notification identifier unless
|
||||
* gtk_window_set_auto_startup_notification() is called to
|
||||
* disable that feature.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
void
|
||||
gdk_display_notify_startup_complete (GdkDisplay *display,
|
||||
@ -1390,8 +1342,6 @@ _gdk_display_create_window (GdkDisplay *display)
|
||||
* Returns the #GdkKeymap attached to @display.
|
||||
*
|
||||
* Returns: (transfer none): the #GdkKeymap attached to @display.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkKeymap *
|
||||
gdk_display_get_keymap (GdkDisplay *display)
|
||||
@ -1445,8 +1395,6 @@ gdk_display_set_debug_flags (GdkDisplay *display,
|
||||
*
|
||||
* Returns: Whether windows with RGBA visuals can reasonably be
|
||||
* expected to have their alpha channels drawn correctly on the screen.
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
gboolean
|
||||
gdk_display_is_composited (GdkDisplay *display)
|
||||
@ -1491,8 +1439,6 @@ gdk_display_set_composited (GdkDisplay *display,
|
||||
*
|
||||
* Returns: %TRUE if windows are created with an alpha channel or
|
||||
* %FALSE if the display does not support this functionality.
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
gboolean
|
||||
gdk_display_is_rgba (GdkDisplay *display)
|
||||
@ -1569,8 +1515,6 @@ gdk_display_remove_seat (GdkDisplay *display,
|
||||
* Returns the default #GdkSeat for this display.
|
||||
*
|
||||
* Returns: (transfer none): the default seat.
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkSeat *
|
||||
gdk_display_get_default_seat (GdkDisplay *display)
|
||||
@ -1592,8 +1536,6 @@ gdk_display_get_default_seat (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (transfer container) (element-type GdkSeat): the
|
||||
* list of seats known to the #GdkDisplay
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GList *
|
||||
gdk_display_list_seats (GdkDisplay *display)
|
||||
@ -1613,7 +1555,6 @@ gdk_display_list_seats (GdkDisplay *display)
|
||||
* #GdkDisplay::monitor-added or #GdkDisplay::monitor-removed signal.
|
||||
*
|
||||
* Returns: the number of monitors
|
||||
* Since: 3.22
|
||||
*/
|
||||
int
|
||||
gdk_display_get_n_monitors (GdkDisplay *display)
|
||||
@ -1635,7 +1576,6 @@ gdk_display_get_n_monitors (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (nullable) (transfer none): the #GdkMonitor, or %NULL if
|
||||
* @monitor_num is not a valid monitor number
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkMonitor *
|
||||
gdk_display_get_monitor (GdkDisplay *display,
|
||||
@ -1663,8 +1603,6 @@ gdk_display_get_monitor (GdkDisplay *display,
|
||||
*
|
||||
* Returns: (transfer none): the primary monitor, or any monitor if no
|
||||
* primary monitor is configured by the user
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkMonitor *
|
||||
gdk_display_get_primary_monitor (GdkDisplay *display)
|
||||
@ -1684,7 +1622,6 @@ gdk_display_get_primary_monitor (GdkDisplay *display)
|
||||
* or a nearby monitor if the point is not in any monitor.
|
||||
*
|
||||
* Returns: (transfer none): the monitor containing the point
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkMonitor *
|
||||
gdk_display_get_monitor_at_point (GdkDisplay *display,
|
||||
@ -1745,7 +1682,6 @@ gdk_display_get_monitor_at_point (GdkDisplay *display,
|
||||
* of all monitors.
|
||||
*
|
||||
* Returns: (transfer none): the monitor with the largest overlap with @window
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkMonitor *
|
||||
gdk_display_get_monitor_at_window (GdkDisplay *display,
|
||||
@ -1829,8 +1765,6 @@ gdk_display_emit_opened (GdkDisplay *display)
|
||||
*
|
||||
* Returns: %TRUE if the setting existed and a value was stored
|
||||
* in @value, %FALSE otherwise
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
gboolean
|
||||
gdk_display_get_setting (GdkDisplay *display,
|
||||
|
@ -61,9 +61,9 @@ void gdk_display_close (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_display_is_closed (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_display_is_composited (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_display_is_rgba (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -82,9 +82,9 @@ GdkDisplay *gdk_display_get_default (void);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow *gdk_display_get_default_group (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkClipboard * gdk_display_get_clipboard (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkClipboard * gdk_display_get_primary_clipboard (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -98,31 +98,31 @@ void gdk_display_notify_startup_complete (GdkDisplay *display,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkAppLaunchContext *gdk_display_get_app_launch_context (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkSeat * gdk_display_get_default_seat (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GList * gdk_display_list_seats (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_display_get_n_monitors (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkMonitor * gdk_display_get_monitor (GdkDisplay *display,
|
||||
int monitor_num);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkMonitor * gdk_display_get_primary_monitor (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkMonitor * gdk_display_get_monitor_at_point (GdkDisplay *display,
|
||||
int x,
|
||||
int y);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkMonitor * gdk_display_get_monitor_at_window (GdkDisplay *display,
|
||||
GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkKeymap * gdk_display_get_keymap (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_display_get_setting (GdkDisplay *display,
|
||||
const char *name,
|
||||
GValue *value);
|
||||
|
@ -149,8 +149,6 @@ gdk_display_manager_class_init (GdkDisplayManagerClass *klass)
|
||||
* @display: the opened display
|
||||
*
|
||||
* The ::display-opened signal is emitted when a display is opened.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
signals[DISPLAY_OPENED] =
|
||||
g_signal_new (g_intern_static_string ("display-opened"),
|
||||
@ -246,8 +244,6 @@ static const gchar *allowed_backends;
|
||||
* This call must happen prior to gdk_display_open(),
|
||||
* gtk_init(), or gtk_init_check()
|
||||
* in order to take effect.
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
void
|
||||
gdk_set_allowed_backends (const gchar *backends)
|
||||
@ -296,8 +292,6 @@ static GdkBackend gdk_backends[] = {
|
||||
* Returns: (transfer none): The global #GdkDisplayManager singleton;
|
||||
* gdk_parse_args(), gdk_init(), or gdk_init_check() must have
|
||||
* been called first.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
GdkDisplayManager*
|
||||
gdk_display_manager_get (void)
|
||||
@ -318,8 +312,6 @@ gdk_display_manager_get (void)
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDisplay, or %NULL if
|
||||
* there is no default display.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_display_manager_get_default_display (GdkDisplayManager *manager)
|
||||
@ -336,8 +328,6 @@ gdk_display_manager_get_default_display (GdkDisplayManager *manager)
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDisplay, or %NULL if
|
||||
* there is no default display.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_display_get_default (void)
|
||||
@ -351,8 +341,6 @@ gdk_display_get_default (void)
|
||||
* @display: a #GdkDisplay
|
||||
*
|
||||
* Sets @display as the default display.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_display_manager_set_default_display (GdkDisplayManager *manager,
|
||||
@ -375,8 +363,6 @@ gdk_display_manager_set_default_display (GdkDisplayManager *manager,
|
||||
* Returns: (transfer container) (element-type GdkDisplay): a newly
|
||||
* allocated #GSList of #GdkDisplay objects. Free with g_slist_free()
|
||||
* when you are done with it.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
GSList *
|
||||
gdk_display_manager_list_displays (GdkDisplayManager *manager)
|
||||
@ -393,8 +379,6 @@ gdk_display_manager_list_displays (GdkDisplayManager *manager)
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDisplay, or %NULL if the
|
||||
* display could not be opened
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_display_manager_open_display (GdkDisplayManager *manager,
|
||||
|
@ -55,7 +55,7 @@ GSList * gdk_display_manager_list_displays (GdkDisplayManager *m
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_display_manager_open_display (GdkDisplayManager *manager,
|
||||
const gchar *name);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_set_allowed_backends (const gchar *backends);
|
||||
|
||||
|
||||
|
38
gdk/gdkdnd.c
38
gdk/gdkdnd.c
@ -112,8 +112,6 @@ gdk_drag_context_get_display (GdkDragContext *context)
|
||||
* Retrieves the formats supported by this context.
|
||||
*
|
||||
* Returns: (transfer none): a #GdkContentFormats
|
||||
*
|
||||
* Since: 3.94
|
||||
**/
|
||||
GdkContentFormats *
|
||||
gdk_drag_context_get_formats (GdkDragContext *context)
|
||||
@ -131,8 +129,6 @@ gdk_drag_context_get_formats (GdkDragContext *context)
|
||||
* gdk_drag_context_get_suggested_action() returns %GDK_ACTION_ASK.
|
||||
*
|
||||
* Returns: the #GdkDragAction flags
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
GdkDragAction
|
||||
gdk_drag_context_get_actions (GdkDragContext *context)
|
||||
@ -149,8 +145,6 @@ gdk_drag_context_get_actions (GdkDragContext *context)
|
||||
* Determines the suggested drag action of the context.
|
||||
*
|
||||
* Returns: a #GdkDragAction value
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
GdkDragAction
|
||||
gdk_drag_context_get_suggested_action (GdkDragContext *context)
|
||||
@ -167,8 +161,6 @@ gdk_drag_context_get_suggested_action (GdkDragContext *context)
|
||||
* Determines the action chosen by the drag destination.
|
||||
*
|
||||
* Returns: a #GdkDragAction value
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
GdkDragAction
|
||||
gdk_drag_context_get_selected_action (GdkDragContext *context)
|
||||
@ -185,8 +177,6 @@ gdk_drag_context_get_selected_action (GdkDragContext *context)
|
||||
* Returns the #GdkWindow where the DND operation started.
|
||||
*
|
||||
* Returns: (transfer none): a #GdkWindow
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_drag_context_get_source_window (GdkDragContext *context)
|
||||
@ -203,8 +193,6 @@ gdk_drag_context_get_source_window (GdkDragContext *context)
|
||||
* Returns the destination window for the DND operation.
|
||||
*
|
||||
* Returns: (transfer none): a #GdkWindow
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_drag_context_get_dest_window (GdkDragContext *context)
|
||||
@ -384,8 +372,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
*
|
||||
* The #GdkContentProvider or %NULL if the context is not a source-side
|
||||
* context.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_CONTENT] =
|
||||
g_param_spec_object ("content",
|
||||
@ -401,8 +387,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
* GdkDragContext:display:
|
||||
*
|
||||
* The #GdkDisplay that the drag context belongs to.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -418,8 +402,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
* GdkDragContext:formats:
|
||||
*
|
||||
* The possible formats that the context can provide its data in.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_FORMATS] =
|
||||
g_param_spec_boxed ("formats",
|
||||
@ -436,8 +418,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
* @reason: The reason the context was cancelled
|
||||
*
|
||||
* The drag and drop operation was cancelled.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals[CANCEL] =
|
||||
g_signal_new (g_intern_static_string ("cancel"),
|
||||
@ -454,8 +434,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
* @time: the time at which the drop happened.
|
||||
*
|
||||
* The drag and drop operation was performed on an accepting client.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals[DROP_PERFORMED] =
|
||||
g_signal_new (g_intern_static_string ("drop-performed"),
|
||||
@ -473,8 +451,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
* The drag and drop operation was finished, the drag destination
|
||||
* finished reading all data. The drag source can now free all
|
||||
* miscellaneous data.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals[DND_FINISHED] =
|
||||
g_signal_new (g_intern_static_string ("dnd-finished"),
|
||||
@ -491,8 +467,6 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
|
||||
* @action: The action currently chosen
|
||||
*
|
||||
* A new action is being chosen for the drag and drop operation.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals[ACTION_CHANGED] =
|
||||
g_signal_new (g_intern_static_string ("action-changed"),
|
||||
@ -615,8 +589,6 @@ gdk_drop_finish (GdkDragContext *context,
|
||||
* meaningless at other times.
|
||||
*
|
||||
* Returns: %TRUE if the drop was successful.
|
||||
*
|
||||
* Since: 2.6
|
||||
**/
|
||||
gboolean
|
||||
gdk_drag_drop_succeeded (GdkDragContext *context)
|
||||
@ -753,8 +725,6 @@ gdk_drag_context_write_finish (GdkDragContext *context,
|
||||
* @cancellable:
|
||||
* @callback:
|
||||
* @user_data: (closure):
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
void
|
||||
gdk_drop_read_async (GdkDragContext *context,
|
||||
@ -791,8 +761,6 @@ gdk_drop_read_async (GdkDragContext *context,
|
||||
* @error:
|
||||
*
|
||||
* Returns: (nullable) (transfer full): the #GInputStream, or %NULL
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GInputStream *
|
||||
gdk_drop_read_finish (GdkDragContext *context,
|
||||
@ -825,8 +793,6 @@ gdk_drop_read_finish (GdkDragContext *context,
|
||||
* the drag operation is over.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): the drag window, or %NULL
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_drag_context_get_drag_window (GdkDragContext *context)
|
||||
@ -848,8 +814,6 @@ gdk_drag_context_get_drag_window (GdkDragContext *context)
|
||||
* Sets the position of the drag window that will be kept
|
||||
* under the cursor hotspot. Initially, the hotspot is at the
|
||||
* top left corner of the drag window.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
void
|
||||
gdk_drag_context_set_hotspot (GdkDragContext *context,
|
||||
@ -877,8 +841,6 @@ gdk_drag_context_set_hotspot (GdkDragContext *context,
|
||||
* The #GdkDragContext will only take the first gdk_drag_drop_done()
|
||||
* call as effective, if this function is called multiple times,
|
||||
* all subsequent calls will be ignored.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
void
|
||||
gdk_drag_drop_done (GdkDragContext *context,
|
||||
|
14
gdk/gdkdnd.h
14
gdk/gdkdnd.h
@ -83,12 +83,12 @@ typedef enum {
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_drag_context_get_display (GdkDragContext *context);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDevice * gdk_drag_context_get_device (GdkDragContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkContentFormats *gdk_drag_context_get_formats (GdkDragContext *context);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context);
|
||||
@ -116,14 +116,14 @@ void gdk_drop_finish (GdkDragContext *context,
|
||||
gboolean success,
|
||||
guint32 time_);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_drop_read_async (GdkDragContext *context,
|
||||
const char **mime_types,
|
||||
int io_priority,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GInputStream * gdk_drop_read_finish (GdkDragContext *context,
|
||||
const char **out_mime_type,
|
||||
GAsyncResult *result,
|
||||
@ -142,14 +142,14 @@ GdkDragContext * gdk_drag_begin (GdkWindow
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_drag_drop_done (GdkDragContext *context,
|
||||
gboolean success);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow *gdk_drag_context_get_drag_window (GdkDragContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_drag_context_set_hotspot (GdkDragContext *context,
|
||||
gint hot_x,
|
||||
gint hot_y);
|
||||
|
@ -136,8 +136,6 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass)
|
||||
* GdkDrawContext:display:
|
||||
*
|
||||
* The #GdkDisplay used to create the #GdkDrawContext.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
pspecs[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -151,8 +149,6 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass)
|
||||
* GdkDrawContext:window:
|
||||
*
|
||||
* The #GdkWindow the gl context is bound to.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
pspecs[PROP_WINDOW] =
|
||||
g_param_spec_object ("window",
|
||||
@ -180,8 +176,6 @@ gdk_draw_context_init (GdkDrawContext *self)
|
||||
* onto it.
|
||||
*
|
||||
* Returns: %TRUE if the context is between begin_frame() and end_frame() calls.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gboolean
|
||||
gdk_draw_context_is_drawing (GdkDrawContext *context)
|
||||
@ -205,8 +199,6 @@ gdk_draw_context_is_drawing (GdkDrawContext *context)
|
||||
* The function does not clear the background. Clearing the backgroud is the
|
||||
* job of the renderer. The contents of the backbuffer are undefined after this
|
||||
* function call.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
void
|
||||
gdk_draw_context_begin_frame (GdkDrawContext *context,
|
||||
@ -234,8 +226,6 @@ gdk_draw_context_begin_frame (GdkDrawContext *context,
|
||||
* This function may call `glFlush()` implicitly before returning; it
|
||||
* is not recommended to call `glFlush()` explicitly before calling
|
||||
* this function.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_draw_context_end_frame (GdkDrawContext *context,
|
||||
@ -259,8 +249,6 @@ gdk_draw_context_end_frame (GdkDrawContext *context,
|
||||
* Retrieves the #GdkDisplay the @context is created for
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDisplay or %NULL
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_draw_context_get_display (GdkDrawContext *context)
|
||||
@ -279,8 +267,6 @@ gdk_draw_context_get_display (GdkDrawContext *context)
|
||||
* Retrieves the #GdkWindow used by the @context.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkWindow or %NULL
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_draw_context_get_window (GdkDrawContext *context)
|
||||
|
@ -34,12 +34,12 @@ G_BEGIN_DECLS
|
||||
#define GDK_DRAW_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GDK_TYPE_DRAW_CONTEXT, GdkDrawContext))
|
||||
#define GDK_IS_DRAW_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_DRAW_CONTEXT))
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_draw_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_draw_context_get_display (GdkDrawContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_draw_context_get_window (GdkDrawContext *context);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -174,8 +174,6 @@ gdk_drawing_context_class_init (GdkDrawingContextClass *klass)
|
||||
* GdkDrawingContext:window:
|
||||
*
|
||||
* The #GdkWindow that created the drawing context.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
obj_property[PROP_WINDOW] =
|
||||
g_param_spec_object ("window", "Window", "The window that created the context",
|
||||
@ -187,8 +185,6 @@ gdk_drawing_context_class_init (GdkDrawingContextClass *klass)
|
||||
* GdkDrawingContext:clip:
|
||||
*
|
||||
* The clip region applied to the drawing context.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
obj_property[PROP_CLIP] =
|
||||
g_param_spec_boxed ("clip", "Clip", "The clip region of the context",
|
||||
@ -200,8 +196,6 @@ gdk_drawing_context_class_init (GdkDrawingContextClass *klass)
|
||||
* GdkDrawingContext:paint-context:
|
||||
*
|
||||
* The #GdkDrawContext used to draw or %NULL if Cairo is used.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
obj_property[PROP_PAINT_CONTEXT] =
|
||||
g_param_spec_object ("paint-context", "Paint context", "The context used to draw",
|
||||
@ -235,8 +229,6 @@ gdk_cairo_set_drawing_context (cairo_t *cr,
|
||||
* context @cr.
|
||||
*
|
||||
* Returns: (transfer none) (nullable): a #GdkDrawingContext, if any is set
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkDrawingContext *
|
||||
gdk_cairo_get_drawing_context (cairo_t *cr)
|
||||
@ -264,8 +256,6 @@ gdk_cairo_get_drawing_context (cairo_t *cr)
|
||||
* the contents of the #GdkWindow. The context is owned by the
|
||||
* #GdkDrawingContext and should not be destroyed. %NULL is
|
||||
* returned when a paint context is in used.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
cairo_t *
|
||||
gdk_drawing_context_get_cairo_context (GdkDrawingContext *context)
|
||||
@ -307,8 +297,6 @@ gdk_drawing_context_get_cairo_context (GdkDrawingContext *context)
|
||||
* Retrieves the window that created the drawing @context.
|
||||
*
|
||||
* Returns: (transfer none): a #GdkWindow
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_drawing_context_get_window (GdkDrawingContext *context)
|
||||
@ -327,8 +315,6 @@ gdk_drawing_context_get_window (GdkDrawingContext *context)
|
||||
* Retrieves the paint context used to draw with.
|
||||
*
|
||||
* Returns: (transfer none): a #GdkDrawContext or %NULL
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkDrawContext *
|
||||
gdk_drawing_context_get_paint_context (GdkDrawingContext *context)
|
||||
@ -347,8 +333,6 @@ gdk_drawing_context_get_paint_context (GdkDrawingContext *context)
|
||||
* Retrieves a copy of the clip region used when creating the @context.
|
||||
*
|
||||
* Returns: (transfer full) (nullable): a Cairo region
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
cairo_region_t *
|
||||
gdk_drawing_context_get_clip (GdkDrawingContext *context)
|
||||
@ -370,8 +354,6 @@ gdk_drawing_context_get_clip (GdkDrawingContext *context)
|
||||
* Checks whether the given #GdkDrawingContext is valid.
|
||||
*
|
||||
* Returns: %TRUE if the context is valid
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_drawing_context_is_valid (GdkDrawingContext *context)
|
||||
|
@ -33,20 +33,20 @@ G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GdkDrawingContextClass GdkDrawingContextClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_drawing_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_drawing_context_get_window (GdkDrawingContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDrawContext* gdk_drawing_context_get_paint_context (GdkDrawingContext *context);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
cairo_region_t *gdk_drawing_context_get_clip (GdkDrawingContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_drawing_context_is_valid (GdkDrawingContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
cairo_t * gdk_drawing_context_get_cairo_context (GdkDrawingContext *context);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -252,8 +252,6 @@ _gdk_event_queue_append (GdkDisplay *display,
|
||||
* the queue, onto the tail of the event queue.
|
||||
*
|
||||
* Returns: the newly appended list node.
|
||||
*
|
||||
* Since: 2.16
|
||||
*/
|
||||
GList*
|
||||
_gdk_event_queue_insert_after (GdkDisplay *display,
|
||||
@ -280,8 +278,6 @@ _gdk_event_queue_insert_after (GdkDisplay *display,
|
||||
* the queue, onto the head of the event queue.
|
||||
*
|
||||
* Returns: the newly prepended list node.
|
||||
*
|
||||
* Since: 2.16
|
||||
*/
|
||||
GList*
|
||||
_gdk_event_queue_insert_before (GdkDisplay *display,
|
||||
@ -485,7 +481,6 @@ gdk_event_handler_set (GdkEventFunc func,
|
||||
* Creates a new event of the given type. All fields are set to 0.
|
||||
*
|
||||
* Returns: a newly-allocated #GdkEvent. Free with g_object_unref()
|
||||
* Since: 2.2
|
||||
*/
|
||||
GdkEvent*
|
||||
gdk_event_new (GdkEventType type)
|
||||
@ -589,8 +584,6 @@ gdk_event_set_pointer_emulated (GdkEvent *event,
|
||||
* from a touch event), as opposed to a real one.
|
||||
*
|
||||
* Returns: %TRUE if this event is emulated
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_event_get_pointer_emulated (GdkEvent *event)
|
||||
@ -789,8 +782,6 @@ gdk_event_finalize (GObject *object)
|
||||
* Extracts the #GdkWindow associated with an event.
|
||||
*
|
||||
* Returns: (transfer none): The #GdkWindow associated with the event
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_event_get_window (const GdkEvent *event)
|
||||
@ -1159,8 +1150,6 @@ gdk_event_set_coords (GdkEvent *event,
|
||||
* Extract the button number from an event.
|
||||
*
|
||||
* Returns: %TRUE if the event delivered a button number
|
||||
*
|
||||
* Since: 3.2
|
||||
**/
|
||||
gboolean
|
||||
gdk_event_get_button (const GdkEvent *event,
|
||||
@ -1200,8 +1189,6 @@ gdk_event_get_button (const GdkEvent *event,
|
||||
* Extracts the click count from an event.
|
||||
*
|
||||
* Returns: %TRUE if the event delivered a click count
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
gboolean
|
||||
gdk_event_get_click_count (const GdkEvent *event,
|
||||
@ -1237,8 +1224,6 @@ gdk_event_get_click_count (const GdkEvent *event,
|
||||
* Extracts the keyval from an event.
|
||||
*
|
||||
* Returns: %TRUE if the event delivered a key symbol
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
gboolean
|
||||
gdk_event_get_keyval (const GdkEvent *event,
|
||||
@ -1283,8 +1268,6 @@ gdk_event_set_keyval (GdkEvent *event,
|
||||
* Also see gdk_event_get_scancode().
|
||||
*
|
||||
* Returns: %TRUE if the event delivered a hardware keycode
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
gboolean
|
||||
gdk_event_get_keycode (const GdkEvent *event,
|
||||
@ -1410,8 +1393,6 @@ gdk_event_get_key_is_modifier (const GdkEvent *event,
|
||||
* Extracts the scroll direction from an event.
|
||||
*
|
||||
* Returns: %TRUE if the event delivered a scroll direction
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
gboolean
|
||||
gdk_event_get_scroll_direction (const GdkEvent *event,
|
||||
@ -1448,8 +1429,6 @@ gdk_event_get_scroll_direction (const GdkEvent *event,
|
||||
* Retrieves the scroll deltas from a #GdkEvent
|
||||
*
|
||||
* Returns: %TRUE if the event contains smooth scroll information
|
||||
*
|
||||
* Since: 3.4
|
||||
**/
|
||||
gboolean
|
||||
gdk_event_get_scroll_deltas (const GdkEvent *event,
|
||||
@ -1498,8 +1477,6 @@ gdk_event_get_scroll_deltas (const GdkEvent *event,
|
||||
* Stop scroll events always have a a delta of 0/0.
|
||||
*
|
||||
* Returns: %TRUE if the event is a scroll stop event
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
gboolean
|
||||
gdk_event_is_scroll_stop_event (const GdkEvent *event)
|
||||
@ -1599,8 +1576,6 @@ gdk_event_get_axis (const GdkEvent *event,
|
||||
* Sets the device for @event to @device. The event must
|
||||
* have been allocated by GTK+, for instance, by
|
||||
* gdk_event_copy().
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_event_set_device (GdkEvent *event,
|
||||
@ -1617,8 +1592,6 @@ gdk_event_set_device (GdkEvent *event,
|
||||
* it, else it will return %NULL.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDevice, or %NULL.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkDevice *
|
||||
gdk_event_get_device (const GdkEvent *event)
|
||||
@ -1637,8 +1610,6 @@ gdk_event_get_device (const GdkEvent *event)
|
||||
*
|
||||
* The event must have been allocated by GTK+,
|
||||
* for instance by gdk_event_copy().
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_event_set_source_device (GdkEvent *event,
|
||||
@ -1662,8 +1633,6 @@ gdk_event_set_source_device (GdkEvent *event,
|
||||
* return %NULL.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDevice, or %NULL.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkDevice *
|
||||
gdk_event_get_source_device (const GdkEvent *event)
|
||||
@ -1692,8 +1661,6 @@ gdk_event_get_source_device (const GdkEvent *event)
|
||||
* event->button == %GDK_BUTTON_SECONDARY.
|
||||
*
|
||||
* Returns: %TRUE if the event should trigger a context menu.
|
||||
*
|
||||
* Since: 3.4
|
||||
**/
|
||||
gboolean
|
||||
gdk_event_triggers_context_menu (const GdkEvent *event)
|
||||
@ -1766,8 +1733,6 @@ gdk_events_get_axis_distances (GdkEvent *event1,
|
||||
* (as in a straight line going from @event1 to @event2) will be returned.
|
||||
*
|
||||
* Returns: %TRUE if the distance could be calculated.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
gboolean
|
||||
gdk_events_get_distance (GdkEvent *event1,
|
||||
@ -1791,8 +1756,6 @@ gdk_events_get_distance (GdkEvent *event1,
|
||||
* Y axis.
|
||||
*
|
||||
* Returns: %TRUE if the angle could be calculated.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
gboolean
|
||||
gdk_events_get_angle (GdkEvent *event1,
|
||||
@ -1834,8 +1797,6 @@ gdk_events_get_angle (GdkEvent *event1,
|
||||
* will be returned in @x and @y.
|
||||
*
|
||||
* Returns: %TRUE if the center could be calculated.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
gboolean
|
||||
gdk_events_get_center (GdkEvent *event1,
|
||||
@ -1901,8 +1862,6 @@ gdk_event_get_display (const GdkEvent *event)
|
||||
* to which the event belongs. Otherwise, return %NULL.
|
||||
*
|
||||
* Returns: (transfer none): the event sequence that the event belongs to
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
GdkEventSequence *
|
||||
gdk_event_get_event_sequence (const GdkEvent *event)
|
||||
@ -1973,8 +1932,6 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence,
|
||||
* Retrieves the type of the event.
|
||||
*
|
||||
* Returns: a #GdkEventType
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
GdkEventType
|
||||
gdk_event_get_event_type (const GdkEvent *event)
|
||||
@ -1991,8 +1948,6 @@ gdk_event_get_event_type (const GdkEvent *event)
|
||||
* Returns the #GdkSeat this event was generated for.
|
||||
*
|
||||
* Returns: (transfer none): The #GdkSeat of this event
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkSeat *
|
||||
gdk_event_get_seat (const GdkEvent *event)
|
||||
@ -2018,8 +1973,6 @@ gdk_event_get_seat (const GdkEvent *event)
|
||||
* persistently across runs, see gdk_device_tool_get_serial()
|
||||
*
|
||||
* Returns: (transfer none): The current device tool, or %NULL
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
GdkDeviceTool *
|
||||
gdk_event_get_device_tool (const GdkEvent *event)
|
||||
@ -2039,8 +1992,6 @@ gdk_event_get_device_tool (const GdkEvent *event)
|
||||
* @tool: (nullable): tool to set on the event, or %NULL
|
||||
*
|
||||
* Sets the device tool for this event, should be rarely used.
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
void
|
||||
gdk_event_set_device_tool (GdkEvent *event,
|
||||
@ -2073,8 +2024,6 @@ gdk_event_set_scancode (GdkEvent *event,
|
||||
* some extended flags.
|
||||
*
|
||||
* Returns: The associated keyboard scancode or 0
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
int
|
||||
gdk_event_get_scancode (GdkEvent *event)
|
||||
|
@ -420,7 +420,7 @@ typedef enum
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_event_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_14
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_event_sequence_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -430,7 +430,7 @@ GdkEvent* gdk_event_copy (const GdkEvent *event);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_event_free (GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow *gdk_event_get_window (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -442,7 +442,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_coords (const GdkEvent *event,
|
||||
gdouble *x_win,
|
||||
gdouble *y_win);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_event_set_coords (GdkEvent *event,
|
||||
gdouble x,
|
||||
gdouble y);
|
||||
@ -450,42 +450,42 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_root_coords (const GdkEvent *event,
|
||||
gdouble *x_root,
|
||||
gdouble *y_root);
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_button (const GdkEvent *event,
|
||||
guint *button);
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_click_count (const GdkEvent *event,
|
||||
guint *click_count);
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_keyval (const GdkEvent *event,
|
||||
guint *keyval);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_event_set_keyval (GdkEvent *event,
|
||||
guint keyval);
|
||||
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_keycode (const GdkEvent *event,
|
||||
guint16 *keycode);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_key_is_modifier (const GdkEvent *event,
|
||||
gboolean *is_modifier);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_key_group (const GdkEvent *event,
|
||||
guint *group);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_string (const GdkEvent *event,
|
||||
const char **string);
|
||||
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_scroll_direction (const GdkEvent *event,
|
||||
GdkScrollDirection *direction);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_scroll_deltas (const GdkEvent *event,
|
||||
gdouble *delta_x,
|
||||
gdouble *delta_y);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_is_scroll_stop_event (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -502,7 +502,7 @@ void gdk_event_set_source_device (GdkEvent *event,
|
||||
GdkDevice *device);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDevice* gdk_event_get_source_device (const GdkEvent *event);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_triggers_context_menu (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -524,19 +524,19 @@ void gdk_event_handler_set (GdkEventFunc func,
|
||||
gpointer data,
|
||||
GDestroyNotify notify);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_event_set_display (GdkEvent *event,
|
||||
GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay *gdk_event_get_display (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkEventSequence *gdk_event_get_event_sequence (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkEventType gdk_event_get_event_type (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkSeat *gdk_event_get_seat (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -544,74 +544,74 @@ void gdk_set_show_events (gboolean show_events);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_get_show_events (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDeviceTool *gdk_event_get_device_tool (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_event_set_device_tool (GdkEvent *event,
|
||||
GdkDeviceTool *tool);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_event_get_scancode (GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_pointer_emulated (GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_event_set_user_data (GdkEvent *event,
|
||||
GObject *user_data);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_is_sent (const GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_drag_context (const GdkEvent *event,
|
||||
GdkDragContext **context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_crossing_mode (const GdkEvent *event,
|
||||
GdkCrossingMode *mode);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_crossing_detail (const GdkEvent *event,
|
||||
GdkNotifyType *detail);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_touchpad_gesture_phase (const GdkEvent *event,
|
||||
GdkTouchpadGesturePhase *phase);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_touchpad_gesture_n_fingers (const GdkEvent *event,
|
||||
guint *n_fingers);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_touchpad_deltas (const GdkEvent *event,
|
||||
double *dx,
|
||||
double *dy);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_touchpad_angle_delta (const GdkEvent *event,
|
||||
double *delta);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_touchpad_scale (const GdkEvent *event,
|
||||
double *scale);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_touch_emulating_pointer (const GdkEvent *event,
|
||||
gboolean *emulating);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_grab_window (const GdkEvent *event,
|
||||
GdkWindow **window);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_focus_in (const GdkEvent *event,
|
||||
gboolean *focus_in);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_pad_group_mode (const GdkEvent *event,
|
||||
guint *group,
|
||||
guint *mode);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_pad_button (const GdkEvent *event,
|
||||
guint *button);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_pad_axis_value (const GdkEvent *event,
|
||||
guint *index,
|
||||
gdouble *value);
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_event_get_axes (GdkEvent *event,
|
||||
gdouble **axes,
|
||||
guint *n_axes);
|
||||
|
@ -265,7 +265,6 @@ gdk_frame_clock_init (GdkFrameClock *clock)
|
||||
* the actual previous frame time, or if that’s too old, an updated
|
||||
* time.
|
||||
*
|
||||
* Since: 3.8
|
||||
* Returns: a timestamp in microseconds, in the timescale of
|
||||
* of g_get_monotonic_time().
|
||||
*/
|
||||
@ -292,8 +291,6 @@ gdk_frame_clock_get_frame_time (GdkFrameClock *frame_clock)
|
||||
* you should use gdk_frame_clock_begin_updating() instead, since
|
||||
* this allows GTK+ to adjust system parameters to get maximally
|
||||
* smooth animations.
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
void
|
||||
gdk_frame_clock_request_phase (GdkFrameClock *frame_clock,
|
||||
@ -314,8 +311,6 @@ gdk_frame_clock_request_phase (GdkFrameClock *frame_clock,
|
||||
* This function may be called multiple times and frames will be
|
||||
* requested until gdk_frame_clock_end_updating() is called the same
|
||||
* number of times.
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
void
|
||||
gdk_frame_clock_begin_updating (GdkFrameClock *frame_clock)
|
||||
@ -331,8 +326,6 @@ gdk_frame_clock_begin_updating (GdkFrameClock *frame_clock)
|
||||
*
|
||||
* Stops updates for an animation. See the documentation for
|
||||
* gdk_frame_clock_begin_updating().
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
void
|
||||
gdk_frame_clock_end_updating (GdkFrameClock *frame_clock)
|
||||
@ -369,7 +362,6 @@ _gdk_frame_clock_thaw (GdkFrameClock *clock)
|
||||
* Returns: inside frame processing, the value of the frame counter
|
||||
* for the current frame. Outside of frame processing, the frame
|
||||
* counter for the last frame.
|
||||
* Since: 3.8
|
||||
*/
|
||||
gint64
|
||||
gdk_frame_clock_get_frame_counter (GdkFrameClock *frame_clock)
|
||||
@ -397,7 +389,6 @@ gdk_frame_clock_get_frame_counter (GdkFrameClock *frame_clock)
|
||||
* Returns: the frame counter value for the oldest frame
|
||||
* that is available in the internal frame history of the
|
||||
* #GdkFrameClock.
|
||||
* Since: 3.8
|
||||
*/
|
||||
gint64
|
||||
gdk_frame_clock_get_history_start (GdkFrameClock *frame_clock)
|
||||
@ -452,7 +443,6 @@ _gdk_frame_clock_begin_frame (GdkFrameClock *frame_clock)
|
||||
* Returns: (nullable): the #GdkFrameTimings object for the specified
|
||||
* frame, or %NULL if it is not available. See
|
||||
* gdk_frame_clock_get_history_start().
|
||||
* Since: 3.8
|
||||
*/
|
||||
GdkFrameTimings *
|
||||
gdk_frame_clock_get_timings (GdkFrameClock *frame_clock,
|
||||
@ -486,7 +476,6 @@ gdk_frame_clock_get_timings (GdkFrameClock *frame_clock,
|
||||
* being processed, or even no frame is being processed, for the
|
||||
* previous frame. Before any frames have been processed, returns
|
||||
* %NULL.
|
||||
* Since: 3.8
|
||||
*/
|
||||
GdkFrameTimings *
|
||||
gdk_frame_clock_get_current_timings (GdkFrameClock *frame_clock)
|
||||
@ -560,8 +549,6 @@ _gdk_frame_clock_debug_print_timings (GdkFrameClock *clock,
|
||||
* presentation times are separated by the refresh interval,
|
||||
* predicts a presentation time that is a multiple of the refresh
|
||||
* interval after the last presentation time, and later than @base_time.
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
void
|
||||
gdk_frame_clock_get_refresh_info (GdkFrameClock *frame_clock,
|
||||
|
@ -72,34 +72,34 @@ typedef enum {
|
||||
GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 6
|
||||
} GdkFrameClockPhase;
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_frame_clock_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_clock_get_frame_time (GdkFrameClock *frame_clock);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_frame_clock_request_phase (GdkFrameClock *frame_clock,
|
||||
GdkFrameClockPhase phase);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_frame_clock_begin_updating (GdkFrameClock *frame_clock);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_frame_clock_end_updating (GdkFrameClock *frame_clock);
|
||||
|
||||
/* Frame history */
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_clock_get_frame_counter (GdkFrameClock *frame_clock);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_clock_get_history_start (GdkFrameClock *frame_clock);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkFrameTimings *gdk_frame_clock_get_timings (GdkFrameClock *frame_clock,
|
||||
gint64 frame_counter);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkFrameTimings *gdk_frame_clock_get_current_timings (GdkFrameClock *frame_clock);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_frame_clock_get_refresh_info (GdkFrameClock *frame_clock,
|
||||
gint64 base_time,
|
||||
gint64 *refresh_interval_return,
|
||||
|
@ -79,7 +79,6 @@ _gdk_frame_timings_steal (GdkFrameTimings *timings,
|
||||
* Increases the reference count of @timings.
|
||||
*
|
||||
* Returns: @timings
|
||||
* Since: 3.8
|
||||
*/
|
||||
GdkFrameTimings *
|
||||
gdk_frame_timings_ref (GdkFrameTimings *timings)
|
||||
@ -97,8 +96,6 @@ gdk_frame_timings_ref (GdkFrameTimings *timings)
|
||||
*
|
||||
* Decreases the reference count of @timings. If @timings
|
||||
* is no longer referenced, it will be freed.
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
void
|
||||
gdk_frame_timings_unref (GdkFrameTimings *timings)
|
||||
@ -121,7 +118,6 @@ gdk_frame_timings_unref (GdkFrameTimings *timings)
|
||||
* this frame was drawn.
|
||||
*
|
||||
* Returns: the frame counter value for this frame
|
||||
* Since: 3.8
|
||||
*/
|
||||
gint64
|
||||
gdk_frame_timings_get_frame_counter (GdkFrameTimings *timings)
|
||||
@ -145,7 +141,6 @@ gdk_frame_timings_get_frame_counter (GdkFrameTimings *timings)
|
||||
*
|
||||
* Returns: %TRUE if all information that will be available
|
||||
* for the frame has been filled in.
|
||||
* Since: 3.8
|
||||
*/
|
||||
gboolean
|
||||
gdk_frame_timings_get_complete (GdkFrameTimings *timings)
|
||||
@ -184,7 +179,6 @@ gdk_frame_timings_get_frame_time (GdkFrameTimings *timings)
|
||||
* Returns: the time the frame was displayed to the user, in the
|
||||
* timescale of g_get_monotonic_time(), or 0 if no presentation
|
||||
* time is available. See gdk_frame_timings_get_complete()
|
||||
* Since: 3.8
|
||||
*/
|
||||
gint64
|
||||
gdk_frame_timings_get_presentation_time (GdkFrameTimings *timings)
|
||||
@ -211,7 +205,6 @@ gdk_frame_timings_get_presentation_time (GdkFrameTimings *timings)
|
||||
* Returns: The predicted time at which the frame will be presented,
|
||||
* in the timescale of g_get_monotonic_time(), or 0 if no predicted
|
||||
* presentation time is available.
|
||||
* Since: 3.8
|
||||
*/
|
||||
gint64
|
||||
gdk_frame_timings_get_predicted_presentation_time (GdkFrameTimings *timings)
|
||||
@ -232,7 +225,6 @@ gdk_frame_timings_get_predicted_presentation_time (GdkFrameTimings *timings)
|
||||
* Returns: the refresh interval of the display, in microseconds,
|
||||
* or 0 if the refresh interval is not available.
|
||||
* See gdk_frame_timings_get_complete().
|
||||
* Since: 3.8
|
||||
*/
|
||||
gint64
|
||||
gdk_frame_timings_get_refresh_interval (GdkFrameTimings *timings)
|
||||
|
@ -29,26 +29,26 @@ G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GdkFrameTimings GdkFrameTimings;
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_frame_timings_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkFrameTimings *gdk_frame_timings_ref (GdkFrameTimings *timings);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_frame_timings_unref (GdkFrameTimings *timings);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_timings_get_frame_counter (GdkFrameTimings *timings);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_frame_timings_get_complete (GdkFrameTimings *timings);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_timings_get_frame_time (GdkFrameTimings *timings);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_timings_get_presentation_time (GdkFrameTimings *timings);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_timings_get_refresh_interval (GdkFrameTimings *timings);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint64 gdk_frame_timings_get_predicted_presentation_time (GdkFrameTimings *timings);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -324,8 +324,6 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
|
||||
* with alpha components, so make sure you use #GL_TEXTURE if using alpha.
|
||||
*
|
||||
* Calling this may change the current GL context.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_cairo_draw_from_gl (cairo_t *cr,
|
||||
@ -576,8 +574,6 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface,
|
||||
* bound context
|
||||
*
|
||||
* Uploads the contents of a Cairo @surface to a GL texture @target.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
void
|
||||
gdk_cairo_surface_upload_to_gl (cairo_surface_t *surface,
|
||||
|
@ -342,8 +342,6 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
|
||||
* GdkGLContext:shared-context:
|
||||
*
|
||||
* The #GdkGLContext that this context is sharing data with, or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
obj_pspecs[PROP_SHARED_CONTEXT] =
|
||||
g_param_spec_object ("shared-context",
|
||||
@ -446,8 +444,6 @@ gdk_gl_context_has_unpack_subimage (GdkGLContext *context)
|
||||
*
|
||||
* The #GdkGLContext must not be realized or made current prior to
|
||||
* calling this function.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_set_debug_enabled (GdkGLContext *context,
|
||||
@ -470,8 +466,6 @@ gdk_gl_context_set_debug_enabled (GdkGLContext *context,
|
||||
* Retrieves the value set using gdk_gl_context_set_debug_enabled().
|
||||
*
|
||||
* Returns: %TRUE if debugging is enabled
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
gboolean
|
||||
gdk_gl_context_get_debug_enabled (GdkGLContext *context)
|
||||
@ -497,8 +491,6 @@ gdk_gl_context_get_debug_enabled (GdkGLContext *context)
|
||||
*
|
||||
* The #GdkGLContext must not be realized or made current prior to calling
|
||||
* this function.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_set_forward_compatible (GdkGLContext *context,
|
||||
@ -521,8 +513,6 @@ gdk_gl_context_set_forward_compatible (GdkGLContext *context,
|
||||
* Retrieves the value set using gdk_gl_context_set_forward_compatible().
|
||||
*
|
||||
* Returns: %TRUE if the context should be forward compatible
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
gboolean
|
||||
gdk_gl_context_get_forward_compatible (GdkGLContext *context)
|
||||
@ -546,8 +536,6 @@ gdk_gl_context_get_forward_compatible (GdkGLContext *context)
|
||||
*
|
||||
* The #GdkGLContext must not be realized or made current prior to calling
|
||||
* this function.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_set_required_version (GdkGLContext *context,
|
||||
@ -596,8 +584,6 @@ gdk_gl_context_set_required_version (GdkGLContext *context,
|
||||
*
|
||||
* Retrieves the major and minor version requested by calling
|
||||
* gdk_gl_context_set_required_version().
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_get_required_version (GdkGLContext *context,
|
||||
@ -662,8 +648,6 @@ gdk_gl_context_get_required_version (GdkGLContext *context,
|
||||
* kind of shader programs to load.
|
||||
*
|
||||
* Returns: %TRUE if the GL context is in legacy mode
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
gboolean
|
||||
gdk_gl_context_is_legacy (GdkGLContext *context)
|
||||
@ -703,8 +687,6 @@ gdk_gl_context_set_is_legacy (GdkGLContext *context,
|
||||
* You should check the return value of gdk_gl_context_get_use_es() after
|
||||
* calling gdk_gl_context_realize() to decide whether to use the OpenGL or
|
||||
* OpenGL ES API, extensions, or shaders.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_set_use_es (GdkGLContext *context,
|
||||
@ -726,8 +708,6 @@ gdk_gl_context_set_use_es (GdkGLContext *context,
|
||||
* Checks whether the @context is using an OpenGL or OpenGL ES profile.
|
||||
*
|
||||
* Returns: %TRUE if the #GdkGLContext is using an OpenGL ES profile
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_gl_context_get_use_es (GdkGLContext *context)
|
||||
@ -752,8 +732,6 @@ gdk_gl_context_get_use_es (GdkGLContext *context)
|
||||
* It is safe to call this function on a realized #GdkGLContext.
|
||||
*
|
||||
* Returns: %TRUE if the context is realized
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
gboolean
|
||||
gdk_gl_context_realize (GdkGLContext *context,
|
||||
@ -857,8 +835,6 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
|
||||
* @context: a #GdkGLContext
|
||||
*
|
||||
* Makes the @context the current one.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_make_current (GdkGLContext *context)
|
||||
@ -900,8 +876,6 @@ gdk_gl_context_make_current (GdkGLContext *context)
|
||||
* Retrieves the #GdkDisplay the @context is created for
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkDisplay or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_gl_context_get_display (GdkGLContext *context)
|
||||
@ -918,8 +892,6 @@ gdk_gl_context_get_display (GdkGLContext *context)
|
||||
* Retrieves the #GdkWindow used by the @context.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkWindow or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_gl_context_get_window (GdkGLContext *context)
|
||||
@ -936,8 +908,6 @@ gdk_gl_context_get_window (GdkGLContext *context)
|
||||
* Retrieves the #GdkGLContext that this @context share data with.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): a #GdkGLContext or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
GdkGLContext *
|
||||
gdk_gl_context_get_shared_context (GdkGLContext *context)
|
||||
@ -958,8 +928,6 @@ gdk_gl_context_get_shared_context (GdkGLContext *context)
|
||||
* Retrieves the OpenGL version of the @context.
|
||||
*
|
||||
* The @context must be realized prior to calling this function.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_get_version (GdkGLContext *context,
|
||||
@ -984,8 +952,6 @@ gdk_gl_context_get_version (GdkGLContext *context,
|
||||
*
|
||||
* Any OpenGL call after this function returns will be ignored
|
||||
* until gdk_gl_context_make_current() is called.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
void
|
||||
gdk_gl_context_clear_current (void)
|
||||
@ -1006,8 +972,6 @@ gdk_gl_context_clear_current (void)
|
||||
* Retrieves the current #GdkGLContext.
|
||||
*
|
||||
* Returns: (nullable) (transfer none): the current #GdkGLContext, or %NULL
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
GdkGLContext *
|
||||
gdk_gl_context_get_current (void)
|
||||
|
@ -36,60 +36,60 @@ G_BEGIN_DECLS
|
||||
|
||||
#define GDK_GL_ERROR (gdk_gl_error_quark ())
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GQuark gdk_gl_error_quark (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_gl_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_gl_context_get_display (GdkGLContext *context);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_gl_context_get_window (GdkGLContext *context);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkGLContext * gdk_gl_context_get_shared_context (GdkGLContext *context);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_get_version (GdkGLContext *context,
|
||||
int *major,
|
||||
int *minor);
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_gl_context_is_legacy (GdkGLContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_set_required_version (GdkGLContext *context,
|
||||
int major,
|
||||
int minor);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_get_required_version (GdkGLContext *context,
|
||||
int *major,
|
||||
int *minor);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_set_debug_enabled (GdkGLContext *context,
|
||||
gboolean enabled);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_gl_context_get_debug_enabled (GdkGLContext *context);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_set_forward_compatible (GdkGLContext *context,
|
||||
gboolean compatible);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_gl_context_get_forward_compatible (GdkGLContext *context);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_set_use_es (GdkGLContext *context,
|
||||
int use_es);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_gl_context_get_use_es (GdkGLContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_gl_context_realize (GdkGLContext *context,
|
||||
GError **error);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
cairo_region_t * gdk_gl_context_get_damage (GdkGLContext *context);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_make_current (GdkGLContext *context);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkGLContext * gdk_gl_context_get_current (void);
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_gl_context_clear_current (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -178,8 +178,6 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
|
||||
*
|
||||
* The ::direction-changed signal gets emitted when the direction of
|
||||
* the keymap changes.
|
||||
*
|
||||
* Since: 2.0
|
||||
*/
|
||||
signals[DIRECTION_CHANGED] =
|
||||
g_signal_new (g_intern_static_string ("direction-changed"),
|
||||
@ -196,8 +194,6 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
|
||||
*
|
||||
* The ::keys-changed signal is emitted when the mapping represented by
|
||||
* @keymap changes.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
signals[KEYS_CHANGED] =
|
||||
g_signal_new (g_intern_static_string ("keys-changed"),
|
||||
@ -216,8 +212,6 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
|
||||
* The ::state-changed signal is emitted when the state of the
|
||||
* keyboard changes, e.g when Caps Lock is turned on or off.
|
||||
* See gdk_keymap_get_caps_lock_state().
|
||||
*
|
||||
* Since: 2.16
|
||||
*/
|
||||
signals[STATE_CHANGED] =
|
||||
g_signal_new (g_intern_static_string ("state-changed"),
|
||||
@ -362,8 +356,6 @@ gdk_keymap_get_direction (GdkKeymap *keymap)
|
||||
* languages are in use.
|
||||
*
|
||||
* Returns: %TRUE if there are layouts in both directions, %FALSE otherwise
|
||||
*
|
||||
* Since: 2.12
|
||||
**/
|
||||
gboolean
|
||||
gdk_keymap_have_bidi_layouts (GdkKeymap *keymap)
|
||||
@ -380,8 +372,6 @@ gdk_keymap_have_bidi_layouts (GdkKeymap *keymap)
|
||||
* Returns whether the Caps Lock modifer is locked.
|
||||
*
|
||||
* Returns: %TRUE if Caps Lock is on
|
||||
*
|
||||
* Since: 2.16
|
||||
*/
|
||||
gboolean
|
||||
gdk_keymap_get_caps_lock_state (GdkKeymap *keymap)
|
||||
@ -398,8 +388,6 @@ gdk_keymap_get_caps_lock_state (GdkKeymap *keymap)
|
||||
* Returns whether the Num Lock modifer is locked.
|
||||
*
|
||||
* Returns: %TRUE if Num Lock is on
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
gboolean
|
||||
gdk_keymap_get_num_lock_state (GdkKeymap *keymap)
|
||||
@ -416,8 +404,6 @@ gdk_keymap_get_num_lock_state (GdkKeymap *keymap)
|
||||
* Returns whether the Scroll Lock modifer is locked.
|
||||
*
|
||||
* Returns: %TRUE if Scroll Lock is on
|
||||
*
|
||||
* Since: 3.18
|
||||
*/
|
||||
gboolean
|
||||
gdk_keymap_get_scroll_lock_state (GdkKeymap *keymap)
|
||||
@ -434,8 +420,6 @@ gdk_keymap_get_scroll_lock_state (GdkKeymap *keymap)
|
||||
* Returns the current modifier state.
|
||||
*
|
||||
* Returns: the current modifier state.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
guint
|
||||
gdk_keymap_get_modifier_state (GdkKeymap *keymap)
|
||||
@ -641,8 +625,6 @@ gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
|
||||
*
|
||||
* This function is useful when matching key events against
|
||||
* accelerators.
|
||||
*
|
||||
* Since: 2.20
|
||||
*/
|
||||
void
|
||||
gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
||||
@ -669,8 +651,6 @@ gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
||||
* same non-virtual modifier. Note that %FALSE is also returned
|
||||
* if a virtual modifier is mapped to a non-virtual modifier that
|
||||
* was already set in @state.
|
||||
*
|
||||
* Since: 2.20
|
||||
*/
|
||||
gboolean
|
||||
gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
|
||||
@ -730,8 +710,6 @@ gdk_keymap_real_get_modifier_mask (GdkKeymap *keymap,
|
||||
* expected result.
|
||||
*
|
||||
* Returns: the modifier mask used for @intent.
|
||||
*
|
||||
* Since: 3.4
|
||||
**/
|
||||
GdkModifierType
|
||||
gdk_keymap_get_modifier_mask (GdkKeymap *keymap,
|
||||
|
@ -80,7 +80,7 @@ struct _GdkKeymapKey
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_keymap_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_keymap_get_display (GdkKeymap *keymap);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -115,9 +115,9 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_keymap_get_caps_lock_state (GdkKeymap *keymap);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_keymap_get_num_lock_state (GdkKeymap *keymap);
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_keymap_get_scroll_lock_state (GdkKeymap *keymap);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
guint gdk_keymap_get_modifier_state (GdkKeymap *keymap);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
||||
@ -125,7 +125,7 @@ void gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
|
||||
GdkModifierType *state);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkModifierType gdk_keymap_get_modifier_mask (GdkKeymap *keymap,
|
||||
GdkModifierIntent intent);
|
||||
|
||||
|
@ -277,7 +277,6 @@ gdk_monitor_class_init (GdkMonitorClass *class)
|
||||
* Gets the display that this monitor belongs to.
|
||||
*
|
||||
* Returns: (transfer none): the display
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkDisplay *
|
||||
gdk_monitor_get_display (GdkMonitor *monitor)
|
||||
@ -295,8 +294,6 @@ gdk_monitor_get_display (GdkMonitor *monitor)
|
||||
* Retrieves the size and position of an individual monitor within the
|
||||
* display coordinate space. The returned geometry is in ”application pixels”,
|
||||
* not in ”device pixels” (see gdk_monitor_get_scale_factor()).
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
void
|
||||
gdk_monitor_get_geometry (GdkMonitor *monitor,
|
||||
@ -326,8 +323,6 @@ gdk_monitor_get_geometry (GdkMonitor *monitor,
|
||||
* Note that not all backends may have a concept of workarea. This
|
||||
* function will return the monitor geometry if a workarea is not
|
||||
* available, or does not apply.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
void
|
||||
gdk_monitor_get_workarea (GdkMonitor *monitor,
|
||||
@ -349,8 +344,6 @@ gdk_monitor_get_workarea (GdkMonitor *monitor,
|
||||
* Gets the width in millimeters of the monitor.
|
||||
*
|
||||
* Returns: the physical width of the monitor
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
int
|
||||
gdk_monitor_get_width_mm (GdkMonitor *monitor)
|
||||
@ -367,7 +360,6 @@ gdk_monitor_get_width_mm (GdkMonitor *monitor)
|
||||
* Gets the height in millimeters of the monitor.
|
||||
*
|
||||
* Returns: the physical height of the monitor
|
||||
* Since: 3.22
|
||||
*/
|
||||
int
|
||||
gdk_monitor_get_height_mm (GdkMonitor *monitor)
|
||||
@ -422,7 +414,6 @@ gdk_monitor_get_model (GdkMonitor *monitor)
|
||||
* where it is better to use gdk_window_get_scale_factor() instead.
|
||||
*
|
||||
* Returns: the scale factor
|
||||
* Since: 3.22
|
||||
*/
|
||||
int
|
||||
gdk_monitor_get_scale_factor (GdkMonitor *monitor)
|
||||
@ -442,7 +433,6 @@ gdk_monitor_get_scale_factor (GdkMonitor *monitor)
|
||||
* is returned as 60000.
|
||||
*
|
||||
* Returns: the refresh rate in milli-Hertz, or 0
|
||||
* Since: 3.22
|
||||
*/
|
||||
int
|
||||
gdk_monitor_get_refresh_rate (GdkMonitor *monitor)
|
||||
@ -460,7 +450,6 @@ gdk_monitor_get_refresh_rate (GdkMonitor *monitor)
|
||||
* primaries for each pixel in this monitor, if available.
|
||||
*
|
||||
* Returns: the subpixel layout
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkSubpixelLayout
|
||||
gdk_monitor_get_subpixel_layout (GdkMonitor *monitor)
|
||||
@ -478,7 +467,6 @@ gdk_monitor_get_subpixel_layout (GdkMonitor *monitor)
|
||||
* (see gdk_display_get_primary_monitor()).
|
||||
*
|
||||
* Returns: %TRUE if @monitor is primary
|
||||
* Since: 3.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_monitor_is_primary (GdkMonitor *monitor)
|
||||
@ -635,8 +623,6 @@ gdk_monitor_invalidate (GdkMonitor *monitor)
|
||||
* physical monitor is unplugged or removed.
|
||||
*
|
||||
* Returns: %TRUE if the object corresponds to a physical monitor
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
gboolean
|
||||
gdk_monitor_is_valid (GdkMonitor *monitor)
|
||||
|
@ -62,34 +62,34 @@ typedef enum {
|
||||
GDK_SUBPIXEL_LAYOUT_VERTICAL_BGR
|
||||
} GdkSubpixelLayout;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_monitor_get_display (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_monitor_get_geometry (GdkMonitor *monitor,
|
||||
GdkRectangle *geometry);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_monitor_get_workarea (GdkMonitor *monitor,
|
||||
GdkRectangle *workarea);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_monitor_get_width_mm (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_monitor_get_height_mm (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_monitor_get_manufacturer (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_monitor_get_model (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_monitor_get_scale_factor (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_monitor_get_refresh_rate (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkSubpixelLayout gdk_monitor_get_subpixel_layout (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_monitor_is_primary (GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_monitor_is_valid (GdkMonitor *monitor);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -145,8 +145,6 @@ gdk_rectangle_intersect (const GdkRectangle *src1,
|
||||
* Returns #TRUE if @rect contains the point described by @x and @y.
|
||||
*
|
||||
* Returns: #TRUE if @rect contains the point
|
||||
*
|
||||
* Since: 3.92
|
||||
**/
|
||||
gboolean
|
||||
gdk_rectangle_contains_point (const GdkRectangle *rect,
|
||||
@ -169,8 +167,6 @@ gdk_rectangle_contains_point (const GdkRectangle *rect,
|
||||
* Checks if the two given rectangles are equal.
|
||||
*
|
||||
* Returns: %TRUE if the rectangles are equal.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
gboolean
|
||||
gdk_rectangle_equal (const GdkRectangle *rect1,
|
||||
|
@ -45,11 +45,11 @@ void gdk_rectangle_union (const GdkRectangle *src1,
|
||||
const GdkRectangle *src2,
|
||||
GdkRectangle *dest);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_rectangle_equal (const GdkRectangle *rect1,
|
||||
const GdkRectangle *rect2);
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_rectangle_contains_point (const GdkRectangle *rect,
|
||||
int x,
|
||||
int y);
|
||||
|
@ -67,8 +67,6 @@ G_DEFINE_BOXED_TYPE (GdkRGBA, gdk_rgba,
|
||||
* The result must be freed through gdk_rgba_free().
|
||||
*
|
||||
* Returns: A newly allocated #GdkRGBA, with the same contents as @rgba
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
GdkRGBA *
|
||||
gdk_rgba_copy (const GdkRGBA *rgba)
|
||||
@ -81,8 +79,6 @@ gdk_rgba_copy (const GdkRGBA *rgba)
|
||||
* @rgba: a #GdkRGBA
|
||||
*
|
||||
* Frees a #GdkRGBA created with gdk_rgba_copy()
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
void
|
||||
gdk_rgba_free (GdkRGBA *rgba)
|
||||
@ -98,8 +94,6 @@ gdk_rgba_free (GdkRGBA *rgba)
|
||||
* would not produce any change.
|
||||
*
|
||||
* Returns: %TRUE if the @rgba is clear
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gboolean
|
||||
gdk_rgba_is_clear (const GdkRGBA *rgba)
|
||||
@ -115,8 +109,6 @@ gdk_rgba_is_clear (const GdkRGBA *rgba)
|
||||
* will not retain any results from previous contents.
|
||||
*
|
||||
* Returns: %TRUE if the @rgba is opaque
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gboolean
|
||||
gdk_rgba_is_opaque (const GdkRGBA *rgba)
|
||||
@ -188,8 +180,6 @@ parse_rgb_value (const gchar *str,
|
||||
* a is a floating point value in the range 0 to 1.
|
||||
*
|
||||
* Returns: %TRUE if the parsing succeeded
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
gboolean
|
||||
gdk_rgba_parse (GdkRGBA *rgba,
|
||||
@ -319,8 +309,6 @@ gdk_rgba_parse (GdkRGBA *rgba,
|
||||
* table that stores #GdkRGBAs.
|
||||
*
|
||||
* Returns: The hash value for @p
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
guint
|
||||
gdk_rgba_hash (gconstpointer p)
|
||||
@ -341,8 +329,6 @@ gdk_rgba_hash (gconstpointer p)
|
||||
* Compares two RGBA colors.
|
||||
*
|
||||
* Returns: %TRUE if the two colors compare equal
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
gboolean
|
||||
gdk_rgba_equal (gconstpointer p1,
|
||||
@ -383,8 +369,6 @@ gdk_rgba_equal (gconstpointer p1,
|
||||
* different representation.
|
||||
*
|
||||
* Returns: A newly allocated text string
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
gchar *
|
||||
gdk_rgba_to_string (const GdkRGBA *rgba)
|
||||
|
@ -52,9 +52,9 @@ GdkRGBA * gdk_rgba_copy (const GdkRGBA *rgba);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_rgba_free (GdkRGBA *rgba);
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_rgba_is_clear (const GdkRGBA *rgba);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_rgba_is_opaque (const GdkRGBA *rgba);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
@ -122,8 +122,6 @@ gdk_seat_class_init (GdkSeatClass *klass)
|
||||
*
|
||||
* The ::device-added signal is emitted when a new input
|
||||
* device is related to this seat.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals [DEVICE_ADDED] =
|
||||
g_signal_new (g_intern_static_string ("device-added"),
|
||||
@ -142,8 +140,6 @@ gdk_seat_class_init (GdkSeatClass *klass)
|
||||
*
|
||||
* The ::device-removed signal is emitted when an
|
||||
* input device is removed (e.g. unplugged).
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
signals [DEVICE_REMOVED] =
|
||||
g_signal_new (g_intern_static_string ("device-removed"),
|
||||
@ -166,8 +162,6 @@ gdk_seat_class_init (GdkSeatClass *klass)
|
||||
* will emit the #GdkDevice::tool-changed signal accordingly.
|
||||
*
|
||||
* A same tool may be used by several devices.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
signals [TOOL_ADDED] =
|
||||
g_signal_new (g_intern_static_string ("tool-added"),
|
||||
@ -185,8 +179,6 @@ gdk_seat_class_init (GdkSeatClass *klass)
|
||||
*
|
||||
* This signal is emitted whenever a tool is no longer known
|
||||
* to this @seat.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
signals [TOOL_REMOVED] =
|
||||
g_signal_new (g_intern_static_string ("tool-removed"),
|
||||
@ -201,8 +193,6 @@ gdk_seat_class_init (GdkSeatClass *klass)
|
||||
* GdkSeat:display:
|
||||
*
|
||||
* #GdkDisplay of this seat.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -228,8 +218,6 @@ gdk_seat_init (GdkSeat *seat)
|
||||
* Returns the capabilities this #GdkSeat currently has.
|
||||
*
|
||||
* Returns: the seat capabilities
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkSeatCapabilities
|
||||
gdk_seat_get_capabilities (GdkSeat *seat)
|
||||
@ -290,8 +278,6 @@ gdk_seat_get_capabilities (GdkSeat *seat)
|
||||
* events that are emitted when the grab ends unvoluntarily.
|
||||
*
|
||||
* Returns: %GDK_GRAB_SUCCESS if the grab was successful.
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkGrabStatus
|
||||
gdk_seat_grab (GdkSeat *seat,
|
||||
@ -322,8 +308,6 @@ gdk_seat_grab (GdkSeat *seat,
|
||||
* @seat: a #GdkSeat
|
||||
*
|
||||
* Releases a grab added through gdk_seat_grab().
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
void
|
||||
gdk_seat_ungrab (GdkSeat *seat)
|
||||
@ -346,8 +330,6 @@ gdk_seat_ungrab (GdkSeat *seat)
|
||||
* Returns: (transfer container) (element-type GdkDevice): A list of #GdkDevices.
|
||||
* The list must be freed with g_list_free(), the elements are owned
|
||||
* by GDK and must not be freed.
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GList *
|
||||
gdk_seat_get_slaves (GdkSeat *seat,
|
||||
@ -369,8 +351,6 @@ gdk_seat_get_slaves (GdkSeat *seat,
|
||||
*
|
||||
* Returns: (transfer none) (nullable): a master #GdkDevice with pointer
|
||||
* capabilities. This object is owned by GTK+ and must not be freed.
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkDevice *
|
||||
gdk_seat_get_pointer (GdkSeat *seat)
|
||||
@ -391,8 +371,6 @@ gdk_seat_get_pointer (GdkSeat *seat)
|
||||
*
|
||||
* Returns: (transfer none) (nullable): a master #GdkDevice with keyboard
|
||||
* capabilities. This object is owned by GTK+ and must not be freed.
|
||||
*
|
||||
* Since: 3.20
|
||||
**/
|
||||
GdkDevice *
|
||||
gdk_seat_get_keyboard (GdkSeat *seat)
|
||||
@ -480,8 +458,6 @@ gdk_seat_get_tool (GdkSeat *seat,
|
||||
*
|
||||
* Returns: (transfer container) (element-type GdkDevice): A list
|
||||
* of master pointing devices
|
||||
*
|
||||
* Since: 3.93.
|
||||
*/
|
||||
GList *
|
||||
gdk_seat_get_master_pointers (GdkSeat *seat,
|
||||
|
@ -83,10 +83,10 @@ struct _GdkSeat
|
||||
GObject parent_instance;
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_seat_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkGrabStatus gdk_seat_grab (GdkSeat *seat,
|
||||
GdkWindow *window,
|
||||
GdkSeatCapabilities capabilities,
|
||||
@ -95,26 +95,26 @@ GdkGrabStatus gdk_seat_grab (GdkSeat *seat,
|
||||
const GdkEvent *event,
|
||||
GdkSeatGrabPrepareFunc prepare_func,
|
||||
gpointer prepare_func_data);
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_seat_ungrab (GdkSeat *seat);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_seat_get_display (GdkSeat *seat);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkSeatCapabilities
|
||||
gdk_seat_get_capabilities (GdkSeat *seat);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GList * gdk_seat_get_slaves (GdkSeat *seat,
|
||||
GdkSeatCapabilities capabilities);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDevice * gdk_seat_get_pointer (GdkSeat *seat);
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDevice * gdk_seat_get_keyboard (GdkSeat *seat);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GList * gdk_seat_get_master_pointers (GdkSeat *seat,
|
||||
GdkSeatCapabilities capabilities);
|
||||
|
||||
|
@ -44,8 +44,6 @@
|
||||
* a list of UTF-8 strings.
|
||||
*
|
||||
* Returns: the number of strings in the resulting list
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
gint
|
||||
gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
|
||||
|
@ -61,8 +61,6 @@
|
||||
* GdkTexture:
|
||||
*
|
||||
* The `GdkTexture` structure contains only private data.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
|
||||
enum {
|
||||
@ -177,8 +175,6 @@ gdk_texture_class_init (GdkTextureClass *klass)
|
||||
* GdkTexture:width:
|
||||
*
|
||||
* The width of the texture.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_WIDTH] =
|
||||
g_param_spec_int ("width",
|
||||
@ -196,8 +192,6 @@ gdk_texture_class_init (GdkTextureClass *klass)
|
||||
* GdkTexture:height:
|
||||
*
|
||||
* The height of the texture.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
properties[PROP_HEIGHT] =
|
||||
g_param_spec_int ("height",
|
||||
@ -306,8 +300,6 @@ gdk_cairo_texture_init (GdkCairoTexture *self)
|
||||
* The data is assumed to be in CAIRO_FORMAT_ARGB32 format.
|
||||
*
|
||||
* Returns: a new #GdkTexture
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_texture_new_for_data (const guchar *data,
|
||||
@ -347,8 +339,6 @@ gdk_texture_new_for_data (const guchar *data,
|
||||
* @surface must be an image surface with format CAIRO_FORMAT_ARGB32.
|
||||
*
|
||||
* Returns: a new #GdkTexture
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_texture_new_for_surface (cairo_surface_t *surface)
|
||||
@ -556,8 +546,6 @@ gdk_gl_texture_get_id (GdkGLTexture *self)
|
||||
* The texture contents are still available via the
|
||||
* gdk_texture_download() function, after this function
|
||||
* has been called.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
void
|
||||
gdk_texture_release_gl (GdkTexture *texture)
|
||||
@ -601,8 +589,6 @@ gdk_texture_release_gl (GdkTexture *texture)
|
||||
* Creates a new texture object representing the GdkPixbuf.
|
||||
*
|
||||
* Returns: a new #GdkTexture
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf)
|
||||
@ -634,8 +620,6 @@ gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf)
|
||||
* gdk_texture_new_from_file() to load it.
|
||||
*
|
||||
* Return value: A newly-created texture
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_texture_new_from_resource (const char *resource_path)
|
||||
@ -665,8 +649,6 @@ gdk_texture_new_from_resource (const char *resource_path)
|
||||
* detected automatically. If %NULL is returned, then @error will be set.
|
||||
*
|
||||
* Return value: A newly-created #GdkTexture or %NULL if an error occured.
|
||||
*
|
||||
* Since: 3.94
|
||||
**/
|
||||
GdkTexture *
|
||||
gdk_texture_new_from_file (GFile *file,
|
||||
@ -711,8 +693,6 @@ gdk_texture_new_from_file (GFile *file,
|
||||
* an explicit call of gdk_texture_release_gl().
|
||||
*
|
||||
* Return value: A newly-created #GdkTexture
|
||||
*
|
||||
* Since: 3.94
|
||||
**/
|
||||
GdkTexture *
|
||||
gdk_texture_new_for_gl (GdkGLContext *context,
|
||||
@ -749,8 +729,6 @@ gdk_texture_new_for_gl (GdkGLContext *context,
|
||||
* Returns the width of @texture.
|
||||
*
|
||||
* Returns: the width of the #GdkTexture
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
int
|
||||
gdk_texture_get_width (GdkTexture *texture)
|
||||
@ -767,8 +745,6 @@ gdk_texture_get_width (GdkTexture *texture)
|
||||
* Returns the height of the @texture.
|
||||
*
|
||||
* Returns: the height of the #GdkTexture
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
int
|
||||
gdk_texture_get_height (GdkTexture *texture)
|
||||
@ -809,8 +785,6 @@ gdk_texture_download_surface (GdkTexture *texture)
|
||||
* cairo_image_surface_get_stride (surface));
|
||||
* cairo_surface_mark_dirty (surface);
|
||||
* ]|
|
||||
*
|
||||
* Since: 3.94
|
||||
**/
|
||||
void
|
||||
gdk_texture_download (GdkTexture *texture,
|
||||
|
@ -40,23 +40,23 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkTexture, g_object_unref)
|
||||
typedef struct _GdkTextureClass GdkTextureClass;
|
||||
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_texture_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture * gdk_texture_new_for_data (const guchar *data,
|
||||
int width,
|
||||
int height,
|
||||
int stride);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture * gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture * gdk_texture_new_from_resource (const char *resource_path);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture * gdk_texture_new_from_file (GFile *file,
|
||||
GError **error);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkTexture * gdk_texture_new_for_gl (GdkGLContext *context,
|
||||
guint id,
|
||||
int width,
|
||||
@ -64,15 +64,15 @@ GdkTexture * gdk_texture_new_for_gl (GdkGLContext
|
||||
GDestroyNotify destroy,
|
||||
gpointer data);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_texture_release_gl (GdkTexture *texture);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_texture_get_width (GdkTexture *texture);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
int gdk_texture_get_height (GdkTexture *texture);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_texture_download (GdkTexture *texture,
|
||||
guchar *data,
|
||||
gsize stride);
|
||||
|
@ -52,155 +52,15 @@
|
||||
|
||||
/* XXX: Every new stable minor release bump should add a macro here */
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_0:
|
||||
*
|
||||
* A macro that evaluates to the 3.0 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
#define GDK_VERSION_3_0 (G_ENCODE_VERSION (3, 0))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_2:
|
||||
*
|
||||
* A macro that evaluates to the 3.2 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
#define GDK_VERSION_3_2 (G_ENCODE_VERSION (3, 2))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_4:
|
||||
*
|
||||
* A macro that evaluates to the 3.4 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
#define GDK_VERSION_3_4 (G_ENCODE_VERSION (3, 4))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_6:
|
||||
*
|
||||
* A macro that evaluates to the 3.6 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.6
|
||||
*/
|
||||
#define GDK_VERSION_3_6 (G_ENCODE_VERSION (3, 6))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_8:
|
||||
*
|
||||
* A macro that evaluates to the 3.8 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
#define GDK_VERSION_3_8 (G_ENCODE_VERSION (3, 8))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_10:
|
||||
*
|
||||
* A macro that evaluates to the 3.10 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
#define GDK_VERSION_3_10 (G_ENCODE_VERSION (3, 10))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_12:
|
||||
*
|
||||
* A macro that evaluates to the 3.12 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.12
|
||||
*/
|
||||
#define GDK_VERSION_3_12 (G_ENCODE_VERSION (3, 12))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_14:
|
||||
*
|
||||
* A macro that evaluates to the 3.14 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.14
|
||||
*/
|
||||
#define GDK_VERSION_3_14 (G_ENCODE_VERSION (3, 14))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_16:
|
||||
*
|
||||
* A macro that evaluates to the 3.16 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
#define GDK_VERSION_3_16 (G_ENCODE_VERSION (3, 16))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_18:
|
||||
*
|
||||
* A macro that evaluates to the 3.18 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.18
|
||||
*/
|
||||
#define GDK_VERSION_3_18 (G_ENCODE_VERSION (3, 18))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_20:
|
||||
*
|
||||
* A macro that evaluates to the 3.20 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.18
|
||||
*/
|
||||
#define GDK_VERSION_3_20 (G_ENCODE_VERSION (3, 20))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_22:
|
||||
*
|
||||
* A macro that evaluates to the 3.22 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
#define GDK_VERSION_3_22 (G_ENCODE_VERSION (3, 22))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_90:
|
||||
*
|
||||
* A macro that evaluates to the 3.90 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
#define GDK_VERSION_3_90 (G_ENCODE_VERSION (3, 90))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_92:
|
||||
*
|
||||
* A macro that evaluates to the 3.92 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.92
|
||||
*/
|
||||
#define GDK_VERSION_3_92 (G_ENCODE_VERSION (3, 92))
|
||||
|
||||
/**
|
||||
* GDK_VERSION_3_94:
|
||||
*
|
||||
* A macro that evaluates to the 3.94 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
#define GDK_VERSION_3_94 (G_ENCODE_VERSION (3, 94))
|
||||
/**
|
||||
* GDK_VERSION_4_0:
|
||||
*
|
||||
* A macro that evaluates to the 4.0 version of GDK, in a format
|
||||
* that can be used by the C pre-processor.
|
||||
*/
|
||||
#define GDK_VERSION_4_0 (G_ENCODE_VERSION (4, 0))
|
||||
|
||||
|
||||
/* evaluates to the current stable version; for development cycles,
|
||||
@ -225,15 +85,13 @@
|
||||
* A macro that should be defined by the user prior to including
|
||||
* the gdk.h header.
|
||||
* The definition should be one of the predefined GDK version
|
||||
* macros: %GDK_VERSION_3_0, %GDK_VERSION_3_2,...
|
||||
* macros: %GDK_VERSION_4_0, %GDK_VERSION_4_2,...
|
||||
*
|
||||
* This macro defines the lower bound for the GDK API to use.
|
||||
*
|
||||
* If a function has been deprecated in a newer version of GDK,
|
||||
* it is possible to use this symbol to avoid the compiler warnings
|
||||
* without disabling warning for every deprecated function.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
#ifndef GDK_VERSION_MIN_REQUIRED
|
||||
# define GDK_VERSION_MIN_REQUIRED (GDK_VERSION_CUR_STABLE)
|
||||
@ -245,15 +103,13 @@
|
||||
* A macro that should be defined by the user prior to including
|
||||
* the gdk.h header.
|
||||
* The definition should be one of the predefined GDK version
|
||||
* macros: %GDK_VERSION_3_0, %GDK_VERSION_3_2,...
|
||||
* macros: %GDK_VERSION_4_0, %GDK_VERSION_4_2,...
|
||||
*
|
||||
* This macro defines the upper bound for the GDK API to use.
|
||||
*
|
||||
* If a function has been introduced in a newer version of GDK,
|
||||
* it is possible to use this symbol to get compiler warnings when
|
||||
* trying to use that function.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
#ifndef GDK_VERSION_MAX_ALLOWED
|
||||
# if GDK_VERSION_MIN_REQUIRED > GDK_VERSION_PREV_STABLE
|
||||
@ -267,198 +123,18 @@
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_MIN_REQUIRED
|
||||
#error "GDK_VERSION_MAX_ALLOWED must be >= GDK_VERSION_MIN_REQUIRED"
|
||||
#endif
|
||||
#if GDK_VERSION_MIN_REQUIRED < GDK_VERSION_3_0
|
||||
#error "GDK_VERSION_MIN_REQUIRED must be >= GDK_VERSION_3_0"
|
||||
#if GDK_VERSION_MIN_REQUIRED < GDK_VERSION_3_92
|
||||
#error "GDK_VERSION_MIN_REQUIRED must be >= GDK_VERSION_3_92"
|
||||
#endif
|
||||
|
||||
#define GDK_AVAILABLE_IN_ALL _GDK_EXTERN
|
||||
|
||||
/* XXX: Every new stable minor release should add a set of macros here */
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_0
|
||||
# define GDK_DEPRECATED_IN_3_0 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_0_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_4_0
|
||||
# define GDK_AVAILABLE_IN_4_0 GDK_UNAVAILABLE(4, 0)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_0 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_0_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_0
|
||||
# define GDK_AVAILABLE_IN_3_0 GDK_UNAVAILABLE(3, 0)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_0 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_2
|
||||
# define GDK_DEPRECATED_IN_3_2 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_2_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_2 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_2_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_2
|
||||
# define GDK_AVAILABLE_IN_3_2 GDK_UNAVAILABLE(3, 2)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_2 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_4
|
||||
# define GDK_DEPRECATED_IN_3_4 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_4_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_4 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_4_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_4
|
||||
# define GDK_AVAILABLE_IN_3_4 GDK_UNAVAILABLE(3, 4)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_4 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_6
|
||||
# define GDK_DEPRECATED_IN_3_6 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_6_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_6 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_6_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_6
|
||||
# define GDK_AVAILABLE_IN_3_6 GDK_UNAVAILABLE(3, 6)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_6 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_8
|
||||
# define GDK_DEPRECATED_IN_3_8 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_8_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_8 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_8_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_8
|
||||
# define GDK_AVAILABLE_IN_3_8 GDK_UNAVAILABLE(3, 8)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_8 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_10
|
||||
# define GDK_DEPRECATED_IN_3_10 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_10_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_10 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_10_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_10
|
||||
# define GDK_AVAILABLE_IN_3_10 GDK_UNAVAILABLE(3, 10)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_10 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_12
|
||||
# define GDK_DEPRECATED_IN_3_12 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_12_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_12 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_12_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_12
|
||||
# define GDK_AVAILABLE_IN_3_12 GDK_UNAVAILABLE(3, 12)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_12 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_14
|
||||
# define GDK_DEPRECATED_IN_3_14 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_14_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_14 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_14_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_14
|
||||
# define GDK_AVAILABLE_IN_3_14 GDK_UNAVAILABLE(3, 14)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_14 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_16
|
||||
# define GDK_DEPRECATED_IN_3_16 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_16_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_16 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_16_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_16
|
||||
# define GDK_AVAILABLE_IN_3_16 GDK_UNAVAILABLE(3, 16)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_16 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_18
|
||||
# define GDK_DEPRECATED_IN_3_18 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_18_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_18 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_18_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_18
|
||||
# define GDK_AVAILABLE_IN_3_18 GDK_UNAVAILABLE(3, 18)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_18 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_20
|
||||
# define GDK_DEPRECATED_IN_3_20 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_20_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_20 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_20_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_20
|
||||
# define GDK_AVAILABLE_IN_3_20 GDK_UNAVAILABLE(3, 20)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_20 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_22
|
||||
# define GDK_DEPRECATED_IN_3_22 GDK_DEPRECATED
|
||||
# define GDK_DEPRECATED_IN_3_22_FOR(f) GDK_DEPRECATED_FOR(f)
|
||||
#else
|
||||
# define GDK_DEPRECATED_IN_3_22 _GDK_EXTERN
|
||||
# define GDK_DEPRECATED_IN_3_22_FOR(f) _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_22
|
||||
# define GDK_AVAILABLE_IN_3_22 GDK_UNAVAILABLE(3, 22)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_22 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_90
|
||||
# define GDK_AVAILABLE_IN_3_90 GDK_UNAVAILABLE(3, 90)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_90 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_92
|
||||
# define GDK_AVAILABLE_IN_3_92 GDK_UNAVAILABLE(3, 92)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_92 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_94
|
||||
# define GDK_AVAILABLE_IN_3_94 GDK_UNAVAILABLE(3, 94)
|
||||
#else
|
||||
# define GDK_AVAILABLE_IN_3_94 _GDK_EXTERN
|
||||
# define GDK_AVAILABLE_IN_4_0 _GDK_EXTERN
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -40,38 +40,38 @@ G_BEGIN_DECLS
|
||||
|
||||
#define GDK_VULKAN_ERROR (gdk_vulkan_error_quark ())
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GQuark gdk_vulkan_error_quark (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_vulkan_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
#ifndef __GI_SCANNER__
|
||||
#ifdef GDK_RENDERING_VULKAN
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const char * gdk_vulkan_strerror (VkResult result);
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkInstance gdk_vulkan_context_get_instance (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkPhysicalDevice gdk_vulkan_context_get_physical_device (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkDevice gdk_vulkan_context_get_device (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkQueue gdk_vulkan_context_get_queue (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
uint32_t gdk_vulkan_context_get_queue_family_index (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkFormat gdk_vulkan_context_get_image_format (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
uint32_t gdk_vulkan_context_get_n_images (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkImage gdk_vulkan_context_get_image (GdkVulkanContext *context,
|
||||
guint id);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
uint32_t gdk_vulkan_context_get_draw_index (GdkVulkanContext *context);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
VkSemaphore gdk_vulkan_context_get_draw_semaphore (GdkVulkanContext *context);
|
||||
|
||||
#endif /* GDK_RENDERING_VULKAN */
|
||||
|
133
gdk/gdkwindow.c
133
gdk/gdkwindow.c
@ -256,8 +256,6 @@ gdk_window_class_init (GdkWindowClass *klass)
|
||||
*
|
||||
* The mouse pointer for a #GdkWindow. See gdk_window_set_cursor() and
|
||||
* gdk_window_get_cursor() for details.
|
||||
*
|
||||
* Since: 2.18
|
||||
*/
|
||||
properties[PROP_CURSOR] =
|
||||
g_param_spec_object ("cursor",
|
||||
@ -271,8 +269,6 @@ gdk_window_class_init (GdkWindowClass *klass)
|
||||
*
|
||||
* The #GdkDisplay connection of the window. See gdk_window_get_display()
|
||||
* for details.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
properties[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -311,8 +307,6 @@ gdk_window_class_init (GdkWindowClass *klass)
|
||||
* flipping, but before any possible sliding. @final_rect is @flipped_rect,
|
||||
* but possibly translated in the case that flipping is still ineffective in
|
||||
* keeping @window on-screen.
|
||||
*
|
||||
* Since: 3.22
|
||||
* Stability: Private
|
||||
*/
|
||||
signals[MOVED_TO_RECT] =
|
||||
@ -1011,8 +1005,6 @@ gdk_window_new (GdkDisplay *display,
|
||||
* manager.
|
||||
*
|
||||
* Returns: (transfer full): the new #GdkWindow
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_new_toplevel (GdkDisplay *display,
|
||||
@ -1042,8 +1034,6 @@ gdk_window_new_toplevel (GdkDisplay *display,
|
||||
* management.
|
||||
*
|
||||
* Returns: (transfer full): the new #GdkWindow
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_new_popup (GdkDisplay *display,
|
||||
@ -1074,8 +1064,6 @@ gdk_window_new_popup (GdkDisplay *display,
|
||||
* You most likely do not want to use this function.
|
||||
*
|
||||
* Returns: (transfer full): the new #GdkWindow
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_new_temp (GdkDisplay *display)
|
||||
@ -1102,8 +1090,6 @@ gdk_window_new_temp (GdkDisplay *display)
|
||||
* Creates a new client-side child window.
|
||||
*
|
||||
* Returns: (transfer full): the new #GdkWindow
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_new_child (GdkWindow *parent,
|
||||
@ -1457,8 +1443,6 @@ gdk_window_get_window_type (GdkWindow *window)
|
||||
* Gets the #GdkDisplay associated with a #GdkWindow.
|
||||
*
|
||||
* Returns: (transfer none): the #GdkDisplay associated with @window
|
||||
*
|
||||
* Since: 2.24
|
||||
**/
|
||||
GdkDisplay *
|
||||
gdk_window_get_display (GdkWindow *window)
|
||||
@ -1474,8 +1458,6 @@ gdk_window_get_display (GdkWindow *window)
|
||||
* Check to see if a window is destroyed..
|
||||
*
|
||||
* Returns: %TRUE if the window is destroyed
|
||||
*
|
||||
* Since: 2.18
|
||||
**/
|
||||
gboolean
|
||||
gdk_window_is_destroyed (GdkWindow *window)
|
||||
@ -1490,8 +1472,6 @@ gdk_window_is_destroyed (GdkWindow *window)
|
||||
* Checks whether the window has a native window or not.
|
||||
*
|
||||
* Returns: %TRUE if the @window has a native window, %FALSE otherwise.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_has_native (GdkWindow *window)
|
||||
@ -1645,8 +1625,6 @@ gdk_window_peek_children (GdkWindow *window)
|
||||
*
|
||||
* Returns: (transfer container) (element-type GdkWindow):
|
||||
* list of child windows inside @window
|
||||
*
|
||||
* Since: 3.10
|
||||
**/
|
||||
GList *
|
||||
gdk_window_get_children_with_user_data (GdkWindow *window,
|
||||
@ -1920,8 +1898,6 @@ gdk_window_get_paint_gl_context (GdkWindow *window,
|
||||
*
|
||||
* Returns: (transfer full): the newly created #GdkGLContext, or
|
||||
* %NULL on error
|
||||
*
|
||||
* Since: 3.16
|
||||
**/
|
||||
GdkGLContext *
|
||||
gdk_window_create_gl_context (GdkWindow *window,
|
||||
@ -1953,8 +1929,6 @@ gdk_window_create_gl_context (GdkWindow *window,
|
||||
*
|
||||
* Returns: (transfer full): the newly created #GdkVulkanContext, or
|
||||
* %NULL on error
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
GdkVulkanContext *
|
||||
gdk_window_create_vulkan_context (GdkWindow *window,
|
||||
@ -2117,8 +2091,6 @@ gdk_window_end_paint_internal (GdkWindow *window)
|
||||
* Returns: (transfer none): a #GdkDrawingContext context that should be
|
||||
* used to draw the contents of the window; the returned context is owned
|
||||
* by GDK.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
GdkDrawingContext *
|
||||
gdk_window_begin_draw_frame (GdkWindow *window,
|
||||
@ -2182,8 +2154,6 @@ gdk_window_begin_draw_frame (GdkWindow *window,
|
||||
*
|
||||
* It is an error to call this function without a matching
|
||||
* gdk_window_begin_frame() first.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
void
|
||||
gdk_window_end_draw_frame (GdkWindow *window,
|
||||
@ -3173,8 +3143,6 @@ gdk_window_constrain_size (GdkGeometry *geometry,
|
||||
* Returns: (nullable) (transfer none): The window underneath @device
|
||||
* (as with gdk_device_get_window_at_position()), or %NULL if the
|
||||
* window is not known to GDK.
|
||||
*
|
||||
* Since: 3.10
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_get_device_position_double (GdkWindow *window,
|
||||
@ -3230,8 +3198,6 @@ gdk_window_get_device_position_double (GdkWindow *window,
|
||||
* Returns: (nullable) (transfer none): The window underneath @device
|
||||
* (as with gdk_device_get_window_at_position()), or %NULL if the
|
||||
* window is not known to GDK.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_get_device_position (GdkWindow *window,
|
||||
@ -3522,8 +3488,6 @@ gdk_window_lower (GdkWindow *window)
|
||||
* If @window is a toplevel, the window manager may choose to deny the
|
||||
* request to move the window in the Z-order, gdk_window_restack() only
|
||||
* requests the restack, does not guarantee it.
|
||||
*
|
||||
* Since: 2.18
|
||||
*/
|
||||
void
|
||||
gdk_window_restack (GdkWindow *window,
|
||||
@ -3808,8 +3772,6 @@ gdk_window_get_events (GdkWindow *window)
|
||||
* #GdkEventMask enumeration.
|
||||
*
|
||||
* See the [input handling overview][event-masks] for details.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_window_set_device_events (GdkWindow *window,
|
||||
@ -3853,8 +3815,6 @@ gdk_window_set_device_events (GdkWindow *window,
|
||||
* Returns the event mask for @window corresponding to an specific device.
|
||||
*
|
||||
* Returns: device event mask for @window
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkEventMask
|
||||
gdk_window_get_device_events (GdkWindow *window,
|
||||
@ -4114,7 +4074,6 @@ gdk_window_move_resize (GdkWindow *window,
|
||||
* Connect to the #GdkWindow::moved-to-rect signal to find out how it was
|
||||
* actually positioned.
|
||||
*
|
||||
* Since: 3.22
|
||||
* Stability: Private
|
||||
*/
|
||||
void
|
||||
@ -4206,8 +4165,6 @@ gdk_window_scroll (GdkWindow *window,
|
||||
* that not covered by the new position of @region are invalidated.
|
||||
*
|
||||
* Child windows are not moved.
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
void
|
||||
gdk_window_move_region (GdkWindow *window,
|
||||
@ -4273,8 +4230,6 @@ gdk_window_set_cursor_internal (GdkWindow *window,
|
||||
* returned object is owned by the #GdkWindow and should not be
|
||||
* unreferenced directly. Use gdk_window_set_cursor() to unset the
|
||||
* cursor of the window
|
||||
*
|
||||
* Since: 2.18
|
||||
*/
|
||||
GdkCursor *
|
||||
gdk_window_get_cursor (GdkWindow *window)
|
||||
@ -4360,8 +4315,6 @@ gdk_window_set_cursor (GdkWindow *window,
|
||||
* returned object is owned by the #GdkWindow and should not be
|
||||
* unreferenced directly. Use gdk_window_set_cursor() to unset the
|
||||
* cursor of the window
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
GdkCursor *
|
||||
gdk_window_get_device_cursor (GdkWindow *window,
|
||||
@ -4387,8 +4340,6 @@ gdk_window_get_device_cursor (GdkWindow *window,
|
||||
* %NULL for the @cursor argument to gdk_window_set_cursor() means that
|
||||
* @window will use the cursor of its parent window. Most windows should
|
||||
* use this default.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_window_set_device_cursor (GdkWindow *window,
|
||||
@ -4492,8 +4443,6 @@ gdk_window_get_geometry (GdkWindow *window,
|
||||
* size on the X server.
|
||||
*
|
||||
* Returns: The width of @window
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
int
|
||||
gdk_window_get_width (GdkWindow *window)
|
||||
@ -4514,8 +4463,6 @@ gdk_window_get_width (GdkWindow *window)
|
||||
* size on the X server.
|
||||
*
|
||||
* Returns: The height of @window
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
int
|
||||
gdk_window_get_height (GdkWindow *window)
|
||||
@ -4567,8 +4514,6 @@ gdk_window_get_origin (GdkWindow *window,
|
||||
* window coordinates. This is similar to
|
||||
* gdk_window_get_origin() but allows you to pass
|
||||
* in any position in the window, not just the origin.
|
||||
*
|
||||
* Since: 2.18
|
||||
*/
|
||||
void
|
||||
gdk_window_get_root_coords (GdkWindow *window,
|
||||
@ -4610,8 +4555,6 @@ gdk_window_get_root_coords (GdkWindow *window,
|
||||
* values of gdk_window_get_position() to the child coordinates.
|
||||
*
|
||||
* See also: gdk_window_coords_from_parent()
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
void
|
||||
gdk_window_coords_to_parent (GdkWindow *window,
|
||||
@ -4644,8 +4587,6 @@ gdk_window_coords_to_parent (GdkWindow *window,
|
||||
* values of gdk_window_get_position() from the parent coordinates.
|
||||
*
|
||||
* See also: gdk_window_coords_to_parent()
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
void
|
||||
gdk_window_coords_from_parent (GdkWindow *window,
|
||||
@ -4837,8 +4778,6 @@ gdk_window_merge_child_shapes (GdkWindow *window)
|
||||
*
|
||||
* On the Win32 platform, this functionality is not present and the
|
||||
* function does nothing.
|
||||
*
|
||||
* Since: 2.10
|
||||
*/
|
||||
void
|
||||
gdk_window_input_shape_combine_region (GdkWindow *window,
|
||||
@ -4905,8 +4844,6 @@ do_child_input_shapes (GdkWindow *window,
|
||||
* for all children of @window, ignoring the input shape mask of @window
|
||||
* itself. Contrast with gdk_window_merge_child_input_shapes() which includes
|
||||
* the input shape mask of @window in the masks to be merged.
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
void
|
||||
gdk_window_set_child_input_shapes (GdkWindow *window)
|
||||
@ -4939,8 +4876,6 @@ gdk_window_set_child_input_shapes (GdkWindow *window)
|
||||
* without pass through, so you can get events on a subset of a window. And in
|
||||
* that cases you would get the in-between related events such as the pointer
|
||||
* enter/leave events on its way to the destination window.
|
||||
*
|
||||
* Since: 3.18
|
||||
**/
|
||||
void
|
||||
gdk_window_set_pass_through (GdkWindow *window,
|
||||
@ -4959,8 +4894,6 @@ gdk_window_set_pass_through (GdkWindow *window,
|
||||
* below.
|
||||
*
|
||||
* See gdk_window_set_pass_through() for details
|
||||
*
|
||||
* Since: 3.18
|
||||
**/
|
||||
gboolean
|
||||
gdk_window_get_pass_through (GdkWindow *window)
|
||||
@ -4982,8 +4915,6 @@ gdk_window_get_pass_through (GdkWindow *window)
|
||||
* This function is distinct from gdk_window_set_child_input_shapes()
|
||||
* because it includes @window’s input shape mask in the set of
|
||||
* shapes to be merged.
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
void
|
||||
gdk_window_merge_child_input_shapes (GdkWindow *window)
|
||||
@ -5002,8 +4933,6 @@ gdk_window_merge_child_input_shapes (GdkWindow *window)
|
||||
* has modal behaviour.
|
||||
*
|
||||
* Returns: whether or not the window has the modal hint set.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_get_modal_hint (GdkWindow *window)
|
||||
@ -5021,8 +4950,6 @@ gdk_window_get_modal_hint (GdkWindow *window)
|
||||
* the window does not want to receive input focus.
|
||||
*
|
||||
* Returns: whether or not the window should receive input focus.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_get_accept_focus (GdkWindow *window)
|
||||
@ -5041,8 +4968,6 @@ gdk_window_get_accept_focus (GdkWindow *window)
|
||||
*
|
||||
* Returns: whether or not the window wants to receive input focus when
|
||||
* it is mapped.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_get_focus_on_map (GdkWindow *window)
|
||||
@ -5059,8 +4984,6 @@ gdk_window_get_focus_on_map (GdkWindow *window)
|
||||
* Determines whether or not the window is an input only window.
|
||||
*
|
||||
* Returns: %TRUE if @window is input only
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_is_input_only (GdkWindow *window)
|
||||
@ -5077,8 +5000,6 @@ gdk_window_is_input_only (GdkWindow *window)
|
||||
* Determines whether or not the window is shaped.
|
||||
*
|
||||
* Returns: %TRUE if @window is shaped
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_is_shaped (GdkWindow *window)
|
||||
@ -5336,8 +5257,6 @@ _gdk_window_find_descendant_at (GdkWindow *window,
|
||||
* Emits a short beep associated to @window in the appropriate
|
||||
* display, if supported. Otherwise, emits a short beep on
|
||||
* the display just as gdk_display_beep().
|
||||
*
|
||||
* Since: 2.12
|
||||
**/
|
||||
void
|
||||
gdk_window_beep (GdkWindow *window)
|
||||
@ -5372,8 +5291,6 @@ gdk_window_beep (GdkWindow *window)
|
||||
*
|
||||
* Multidevice aware windows will need to handle properly multiple,
|
||||
* per device enter/leave events, device grabs and grab ownerships.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_window_set_support_multidevice (GdkWindow *window,
|
||||
@ -5400,8 +5317,6 @@ gdk_window_set_support_multidevice (GdkWindow *window,
|
||||
* devices.
|
||||
*
|
||||
* Returns: %TRUE if the window handles multidevice features.
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
gboolean
|
||||
gdk_window_get_support_multidevice (GdkWindow *window)
|
||||
@ -5752,8 +5667,6 @@ _gdk_windowing_got_event (GdkDisplay *display,
|
||||
* This function always returns a valid pointer, but it will return a
|
||||
* pointer to a “nil” surface if @other is already in an error state
|
||||
* or any other error occurs.
|
||||
*
|
||||
* Since: 2.22
|
||||
**/
|
||||
cairo_surface_t *
|
||||
gdk_window_create_similar_surface (GdkWindow * window,
|
||||
@ -5835,8 +5748,6 @@ gdk_window_create_similar_surface (GdkWindow * window,
|
||||
* This function always returns a valid pointer, but it will return a
|
||||
* pointer to a “nil” surface if @other is already in an error state
|
||||
* or any other error occurs.
|
||||
*
|
||||
* Since: 3.10
|
||||
**/
|
||||
cairo_surface_t *
|
||||
gdk_window_create_similar_image_surface (GdkWindow * window,
|
||||
@ -5922,8 +5833,6 @@ gdk_window_set_type_hint (GdkWindow *window,
|
||||
* This function returns the type hint set for a window.
|
||||
*
|
||||
* Returns: The type hint set for @window
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
GdkWindowTypeHint
|
||||
gdk_window_get_type_hint (GdkWindow *window)
|
||||
@ -5962,8 +5871,6 @@ gdk_window_set_modal_hint (GdkWindow *window,
|
||||
* function should not be called in addition,
|
||||
* instead you should allow the window to be treated according to
|
||||
* standard policy for its semantic type.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_window_set_skip_taskbar_hint (GdkWindow *window,
|
||||
@ -5985,8 +5892,6 @@ gdk_window_set_skip_taskbar_hint (GdkWindow *window,
|
||||
* not be called in addition, instead you should
|
||||
* allow the window to be treated according to standard policy for
|
||||
* its semantic type.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_window_set_skip_pager_hint (GdkWindow *window,
|
||||
@ -6002,8 +5907,6 @@ gdk_window_set_skip_pager_hint (GdkWindow *window,
|
||||
*
|
||||
* Toggles whether a window needs the user's
|
||||
* urgent attention.
|
||||
*
|
||||
* Since: 2.8
|
||||
**/
|
||||
void
|
||||
gdk_window_set_urgency_hint (GdkWindow *window,
|
||||
@ -6101,9 +6004,6 @@ gdk_window_set_role (GdkWindow *window,
|
||||
*
|
||||
* When using GTK+, typically you should use gtk_window_set_startup_id()
|
||||
* instead of this low-level function.
|
||||
*
|
||||
* Since: 2.12
|
||||
*
|
||||
**/
|
||||
void
|
||||
gdk_window_set_startup_id (GdkWindow *window,
|
||||
@ -6188,8 +6088,6 @@ gdk_window_get_frame_extents (GdkWindow *window,
|
||||
*
|
||||
* On X, it is the responsibility of the window manager to interpret this
|
||||
* hint. ICCCM-compliant window manager usually respect it.
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
void
|
||||
gdk_window_set_accept_focus (GdkWindow *window,
|
||||
@ -6211,8 +6109,6 @@ gdk_window_set_accept_focus (GdkWindow *window,
|
||||
* On X, it is the responsibility of the window manager to interpret
|
||||
* this hint. Window managers following the freedesktop.org window
|
||||
* manager extension specification should respect it.
|
||||
*
|
||||
* Since: 2.6
|
||||
**/
|
||||
void
|
||||
gdk_window_set_focus_on_map (GdkWindow *window,
|
||||
@ -6401,8 +6297,6 @@ gdk_window_unmaximize (GdkWindow *window)
|
||||
* fullscreenification actually happening. But it will happen with
|
||||
* most standard window managers, and GDK makes a best effort to get
|
||||
* it to happen.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_window_fullscreen (GdkWindow *window)
|
||||
@ -6419,7 +6313,6 @@ gdk_window_fullscreen (GdkWindow *window)
|
||||
* the window covers the entire screen and is above any panels or task bars.
|
||||
*
|
||||
* If the window was already fullscreen, then this function does nothing.
|
||||
* Since: UNRELEASED
|
||||
**/
|
||||
void
|
||||
gdk_window_fullscreen_on_monitor (GdkWindow *window,
|
||||
@ -6458,8 +6351,6 @@ gdk_window_fullscreen_on_monitor (GdkWindow *window,
|
||||
* Not all window managers support this, so you can’t rely on the fullscreen
|
||||
* window to span over the multiple monitors when #GDK_FULLSCREEN_ON_ALL_MONITORS
|
||||
* is specified.
|
||||
*
|
||||
* Since: 3.8
|
||||
**/
|
||||
void
|
||||
gdk_window_set_fullscreen_mode (GdkWindow *window,
|
||||
@ -6486,8 +6377,6 @@ gdk_window_set_fullscreen_mode (GdkWindow *window,
|
||||
* Obtains the #GdkFullscreenMode of the @window.
|
||||
*
|
||||
* Returns: The #GdkFullscreenMode applied to the window when fullscreen.
|
||||
*
|
||||
* Since: 3.8
|
||||
**/
|
||||
GdkFullscreenMode
|
||||
gdk_window_get_fullscreen_mode (GdkWindow *window)
|
||||
@ -6511,8 +6400,6 @@ gdk_window_get_fullscreen_mode (GdkWindow *window)
|
||||
* unfullscreenification actually happening. But it will happen with
|
||||
* most standard window managers, and GDK makes a best effort to get
|
||||
* it to happen.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_window_unfullscreen (GdkWindow *window)
|
||||
@ -6534,8 +6421,6 @@ gdk_window_unfullscreen (GdkWindow *window)
|
||||
* “keep above”; so you can’t rely on the window being kept above.
|
||||
* But it will happen with most standard window managers,
|
||||
* and GDK makes a best effort to get it to happen.
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
void
|
||||
gdk_window_set_keep_above (GdkWindow *window,
|
||||
@ -6558,8 +6443,6 @@ gdk_window_set_keep_above (GdkWindow *window,
|
||||
* “keep below”; so you can’t rely on the window being kept below.
|
||||
* But it will happen with most standard window managers,
|
||||
* and GDK makes a best effort to get it to happen.
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
void
|
||||
gdk_window_set_keep_below (GdkWindow *window, gboolean setting)
|
||||
@ -6574,8 +6457,6 @@ gdk_window_set_keep_below (GdkWindow *window, gboolean setting)
|
||||
* Returns the group leader window for @window. See gdk_window_set_group().
|
||||
*
|
||||
* Returns: (transfer none): the group leader window for @window
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_window_get_group (GdkWindow *window)
|
||||
@ -6694,8 +6575,6 @@ gdk_window_set_functions (GdkWindow *window,
|
||||
* with window managers that support the
|
||||
* [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec)
|
||||
* but has a fallback implementation for other window managers.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
void
|
||||
gdk_window_begin_resize_drag_for_device (GdkWindow *window,
|
||||
@ -6755,8 +6634,6 @@ gdk_window_begin_resize_drag (GdkWindow *window,
|
||||
* example. The function works best with window managers that support the
|
||||
* [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec)
|
||||
* but has a fallback implementation for other window managers.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
void
|
||||
gdk_window_begin_move_drag_for_device (GdkWindow *window,
|
||||
@ -6818,8 +6695,6 @@ gdk_window_begin_move_drag (GdkWindow *window,
|
||||
* for your widgets.
|
||||
*
|
||||
* Support for non-toplevel windows was added in 3.8.
|
||||
*
|
||||
* Since: 2.12
|
||||
*/
|
||||
void
|
||||
gdk_window_set_opacity (GdkWindow *window,
|
||||
@ -6985,7 +6860,6 @@ gdk_window_set_frame_clock (GdkWindow *window,
|
||||
* never changes unless the window is reparented to a new toplevel
|
||||
* window.
|
||||
*
|
||||
* Since: 3.8
|
||||
* Returns: (transfer none): the frame clock
|
||||
*/
|
||||
GdkFrameClock*
|
||||
@ -7017,7 +6891,6 @@ gdk_window_get_frame_clock (GdkWindow *window)
|
||||
* The scale of a window may change during runtime, if this happens
|
||||
* a configure event will be sent to the toplevel window.
|
||||
*
|
||||
* Since: 3.10
|
||||
* Returns: the scale factor
|
||||
*/
|
||||
gint
|
||||
@ -7090,8 +6963,6 @@ gdk_window_get_unscaled_size (GdkWindow *window,
|
||||
* the @window background is opaque, as we know where the opaque regions
|
||||
* are. If your window background is not opaque, please update this
|
||||
* property in your #GtkWidget::style-updated handler.
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
void
|
||||
gdk_window_set_opaque_region (GdkWindow *window,
|
||||
@ -7133,8 +7004,6 @@ gdk_window_set_opaque_region (GdkWindow *window,
|
||||
* Note that this property is automatically updated by GTK+, so this
|
||||
* function should only be used by applications which do not use GTK+
|
||||
* to create toplevel windows.
|
||||
*
|
||||
* Since: 3.12
|
||||
*/
|
||||
void
|
||||
gdk_window_set_shadow_width (GdkWindow *window,
|
||||
@ -7172,8 +7041,6 @@ gdk_window_set_shadow_width (GdkWindow *window,
|
||||
* on the window decorations.
|
||||
*
|
||||
* Returns: %TRUE if the window menu was shown and %FALSE otherwise.
|
||||
*
|
||||
* Since: 3.14
|
||||
*/
|
||||
gboolean
|
||||
gdk_window_show_window_menu (GdkWindow *window,
|
||||
|
@ -445,16 +445,16 @@ struct _GdkWindowClass
|
||||
*/
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_window_get_type (void) G_GNUC_CONST;
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_window_new_toplevel (GdkDisplay *display,
|
||||
int width,
|
||||
int height);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_window_new_popup (GdkDisplay *display,
|
||||
const GdkRectangle *position);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_window_new_temp (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_window_new_child (GdkWindow *parent,
|
||||
const GdkRectangle *position);
|
||||
|
||||
@ -572,10 +572,10 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_merge_child_input_shapes (GdkWindow *window);
|
||||
|
||||
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_set_pass_through (GdkWindow *window,
|
||||
gboolean pass_through);
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_window_get_pass_through (GdkWindow *window);
|
||||
|
||||
/*
|
||||
@ -633,11 +633,11 @@ cairo_region_t *gdk_window_get_clip_region (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
cairo_region_t *gdk_window_get_visible_region(GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDrawingContext *gdk_window_begin_draw_frame (GdkWindow *window,
|
||||
GdkDrawContext *context,
|
||||
const cairo_region_t *region);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_end_draw_frame (GdkWindow *window,
|
||||
GdkDrawingContext *context);
|
||||
|
||||
@ -714,7 +714,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_get_frame_extents (GdkWindow *window,
|
||||
GdkRectangle *rect);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_window_get_scale_factor (GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -723,7 +723,7 @@ GdkWindow * gdk_window_get_device_position (GdkWindow *window,
|
||||
gint *x,
|
||||
gint *y,
|
||||
GdkModifierType *mask);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_window_get_device_position_double (GdkWindow *window,
|
||||
GdkDevice *device,
|
||||
gdouble *x,
|
||||
@ -738,7 +738,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
GList * gdk_window_get_children (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GList * gdk_window_peek_children (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GList * gdk_window_get_children_with_user_data (GdkWindow *window,
|
||||
gpointer user_data);
|
||||
|
||||
@ -782,7 +782,7 @@ cairo_surface_t *
|
||||
cairo_content_t content,
|
||||
int width,
|
||||
int height);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
cairo_surface_t *
|
||||
gdk_window_create_similar_image_surface (GdkWindow *window,
|
||||
cairo_format_t format,
|
||||
@ -806,13 +806,13 @@ GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_unmaximize (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_fullscreen (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_fullscreen_on_monitor (GdkWindow *window,
|
||||
GdkMonitor *monitor);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_set_fullscreen_mode (GdkWindow *window,
|
||||
GdkFullscreenMode mode);
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkFullscreenMode
|
||||
gdk_window_get_fullscreen_mode (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -836,7 +836,7 @@ void gdk_window_begin_resize_drag (GdkWindow *window,
|
||||
gint root_x,
|
||||
gint root_y,
|
||||
guint32 timestamp);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_begin_resize_drag_for_device (GdkWindow *window,
|
||||
GdkWindowEdge edge,
|
||||
GdkDevice *device,
|
||||
@ -850,7 +850,7 @@ void gdk_window_begin_move_drag (GdkWindow *window,
|
||||
gint root_x,
|
||||
gint root_y,
|
||||
guint32 timestamp);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_begin_move_drag_for_device (GdkWindow *window,
|
||||
GdkDevice *device,
|
||||
gint button,
|
||||
@ -911,27 +911,27 @@ GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_window_get_support_multidevice (GdkWindow *window);
|
||||
|
||||
/* Frame clock */
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkFrameClock* gdk_window_get_frame_clock (GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_set_opaque_region (GdkWindow *window,
|
||||
cairo_region_t *region);
|
||||
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_window_set_shadow_width (GdkWindow *window,
|
||||
gint left,
|
||||
gint right,
|
||||
gint top,
|
||||
gint bottom);
|
||||
GDK_AVAILABLE_IN_3_14
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_window_show_window_menu (GdkWindow *window,
|
||||
GdkEvent *event);
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkGLContext * gdk_window_create_gl_context (GdkWindow *window,
|
||||
GError **error);
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkVulkanContext *
|
||||
gdk_window_create_vulkan_context(GdkWindow *window,
|
||||
GError **error);
|
||||
|
@ -35,7 +35,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkQuartzMonitor GdkQuartzMonitor;
|
||||
typedef struct _GdkQuartzMonitorClass GdkQuartzMonitorClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_92
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_quartz_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
NSImage *gdk_quartz_pixbuf_to_ns_image_libgtk_only (GdkPixbuf *pixbuf);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
NSEvent *gdk_quartz_event_get_nsevent (GdkEvent *event);
|
||||
GDK_AVAILABLE_IN_3_12
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gunichar gdk_quartz_get_key_equivalent (guint key);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -996,8 +996,6 @@ gdk_wayland_device_pad_init (GdkWaylandDevicePad *pad)
|
||||
* Returns the Wayland wl_seat of a #GdkDevice.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_seat
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
struct wl_seat *
|
||||
gdk_wayland_device_get_wl_seat (GdkDevice *device)
|
||||
@ -1017,8 +1015,6 @@ gdk_wayland_device_get_wl_seat (GdkDevice *device)
|
||||
* Returns the Wayland wl_pointer of a #GdkDevice.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_pointer
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
struct wl_pointer *
|
||||
gdk_wayland_device_get_wl_pointer (GdkDevice *device)
|
||||
@ -1038,8 +1034,6 @@ gdk_wayland_device_get_wl_pointer (GdkDevice *device)
|
||||
* Returns the Wayland wl_keyboard of a #GdkDevice.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_keyboard
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
struct wl_keyboard *
|
||||
gdk_wayland_device_get_wl_keyboard (GdkDevice *device)
|
||||
@ -5031,8 +5025,6 @@ gdk_wayland_device_set_selection (GdkDevice *gdk_device,
|
||||
* Returns the Wayland wl_seat of a #GdkSeat.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_seat
|
||||
*
|
||||
* Since: 3.20
|
||||
*/
|
||||
struct wl_seat *
|
||||
gdk_wayland_seat_get_wl_seat (GdkSeat *seat)
|
||||
|
@ -843,8 +843,6 @@ gdk_wayland_display_get_next_serial (GdkDisplay *display)
|
||||
* The startup ID is also what is used to signal that the startup is
|
||||
* complete (for example, when opening a window or when calling
|
||||
* gdk_notify_startup_complete()).
|
||||
*
|
||||
* Since: 3.22
|
||||
**/
|
||||
void
|
||||
gdk_wayland_display_set_startup_notification_id (GdkDisplay *display,
|
||||
@ -1120,8 +1118,6 @@ _gdk_wayland_display_update_serial (GdkWaylandDisplay *display_wayland,
|
||||
* Returns the Wayland wl_display of a #GdkDisplay.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_display
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
struct wl_display *
|
||||
gdk_wayland_display_get_wl_display (GdkDisplay *display)
|
||||
@ -1138,8 +1134,6 @@ gdk_wayland_display_get_wl_display (GdkDisplay *display)
|
||||
* Returns the Wayland global singleton compositor of a #GdkDisplay.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_compositor
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
struct wl_compositor *
|
||||
gdk_wayland_display_get_wl_compositor (GdkDisplay *display)
|
||||
|
@ -53,7 +53,6 @@ gdk_wayland_monitor_class_init (GdkWaylandMonitorClass *class)
|
||||
* Returns the Wayland wl_output of a #GdkMonitor.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_output
|
||||
* Since: 3.22
|
||||
*/
|
||||
struct wl_output *
|
||||
gdk_wayland_monitor_get_wl_output (GdkMonitor *monitor)
|
||||
|
@ -51,7 +51,7 @@ struct _GdkWaylandVulkanContextClass
|
||||
GdkVulkanContextClass parent_class;
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_wayland_vulkan_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -52,13 +52,13 @@ 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);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
struct wl_seat *gdk_wayland_seat_get_wl_seat (GdkSeat *seat);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
const gchar *gdk_wayland_device_get_node_path (GdkDevice *device);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_wayland_device_pad_set_feedback (GdkDevice *device,
|
||||
GdkDevicePadFeature element,
|
||||
guint idx,
|
||||
|
@ -49,11 +49,11 @@ GDK_AVAILABLE_IN_ALL
|
||||
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);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
|
||||
const gchar *theme,
|
||||
gint size);
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_wayland_display_set_startup_notification_id (GdkDisplay *display,
|
||||
const char *startup_id);
|
||||
|
||||
|
@ -37,7 +37,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkWaylandGLContext GdkWaylandGLContext;
|
||||
typedef struct _GdkWaylandGLContextClass GdkWaylandGLContextClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_wayland_gl_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -37,10 +37,10 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkWaylandMonitor GdkWaylandMonitor;
|
||||
typedef struct _GdkWaylandMonitorClass GdkWaylandMonitorClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_wayland_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
struct wl_output *gdk_wayland_monitor_get_wl_output (GdkMonitor *monitor);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -45,7 +45,7 @@ typedef struct _GdkWaylandWindowClass GdkWaylandWindowClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_wayland_window_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWindow * gdk_wayland_window_new_subsurface (GdkDisplay *display,
|
||||
const GdkRectangle *position);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -54,7 +54,7 @@ struct wl_surface *gdk_wayland_window_get_wl_surface (GdkWindow *win
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_wayland_window_set_use_custom_surface (GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_wayland_window_set_dbus_properties_libgtk_only (GdkWindow *window,
|
||||
const char *application_id,
|
||||
const char *app_menu_path,
|
||||
@ -67,16 +67,16 @@ typedef void (*GdkWaylandWindowExported) (GdkWindow *window,
|
||||
const char *handle,
|
||||
gpointer user_data);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_wayland_window_export_handle (GdkWindow *window,
|
||||
GdkWaylandWindowExported callback,
|
||||
gpointer user_data,
|
||||
GDestroyNotify destroy_func);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_wayland_window_unexport_handle (GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_wayland_window_set_transient_for_exported (GdkWindow *window,
|
||||
char *parent_handle_str);
|
||||
|
||||
|
@ -3706,8 +3706,6 @@ _gdk_wayland_window_set_grab_seat (GdkWindow *window,
|
||||
* Creates a new subsurface window.
|
||||
*
|
||||
* Returns: (transfer full): the new #GdkWindow
|
||||
*
|
||||
* Since: 3.90
|
||||
**/
|
||||
GdkWindow *
|
||||
gdk_wayland_window_new_subsurface (GdkDisplay *display,
|
||||
@ -3735,8 +3733,6 @@ gdk_wayland_window_new_subsurface (GdkDisplay *display,
|
||||
* Returns the Wayland surface of a #GdkWindow.
|
||||
*
|
||||
* Returns: (transfer none): a Wayland wl_surface
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
struct wl_surface *
|
||||
gdk_wayland_window_get_wl_surface (GdkWindow *window)
|
||||
@ -3873,8 +3869,6 @@ gdk_wayland_window_get_gtk_surface (GdkWindow *window)
|
||||
* g_signal_connect (window, "realize", G_CALLBACK (widget_realize_cb), NULL);
|
||||
* }
|
||||
* ]|
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
void
|
||||
gdk_wayland_window_set_use_custom_surface (GdkWindow *window)
|
||||
@ -3989,8 +3983,6 @@ static const struct zxdg_exported_v1_listener xdg_exported_listener = {
|
||||
* obtained from the Wayland compositor. The handle can be passed
|
||||
* to other processes, for the purpose of marking windows as transient
|
||||
* for out-of-process surfaces.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
|
||||
static gboolean
|
||||
@ -4027,8 +4019,6 @@ gdk_wayland_window_is_exported (GdkWindow *window)
|
||||
*
|
||||
* Return value: %TRUE if the handle has been requested, %FALSE if
|
||||
* an error occurred.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_wayland_window_export_handle (GdkWindow *window,
|
||||
@ -4079,8 +4069,6 @@ gdk_wayland_window_export_handle (GdkWindow *window,
|
||||
*
|
||||
* Note that this API depends on an unstable Wayland protocol,
|
||||
* and thus may require changes in the future.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
void
|
||||
gdk_wayland_window_unexport_handle (GdkWindow *window)
|
||||
@ -4134,8 +4122,6 @@ static const struct zxdg_imported_v1_listener xdg_imported_listener = {
|
||||
*
|
||||
* Return value: %TRUE if the window has been marked as transient,
|
||||
* %FALSE if an error occurred.
|
||||
*
|
||||
* Since: 3.22
|
||||
*/
|
||||
gboolean
|
||||
gdk_wayland_window_set_transient_for_exported (GdkWindow *window,
|
||||
|
@ -221,8 +221,6 @@ _gdk_win32_display_init_monitors (GdkWin32Display *win32_display)
|
||||
* by the application (GTK+ applications can learn about
|
||||
* cursor theme changes by listening for change notification
|
||||
* for the corresponding #GtkSetting).
|
||||
*
|
||||
* Since: 3.18
|
||||
*/
|
||||
void
|
||||
gdk_win32_display_set_cursor_theme (GdkDisplay *display,
|
||||
|
@ -848,8 +848,6 @@ _gdk_win32_display_make_gl_context_current (GdkDisplay *display,
|
||||
* Retrieves the version of the WGL implementation.
|
||||
*
|
||||
* Returns: %TRUE if WGL is available
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
gboolean
|
||||
gdk_win32_display_get_wgl_version (GdkDisplay *display,
|
||||
|
@ -52,7 +52,7 @@ struct _GdkWin32VulkanContextClass
|
||||
GdkVulkanContextClass parent_class;
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_win32_vulkan_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -52,12 +52,12 @@ typedef struct _GdkWin32DisplayClass GdkWin32DisplayClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_win32_display_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_18
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_win32_display_set_cursor_theme (GdkDisplay *display,
|
||||
const gchar *name,
|
||||
gint size);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
HCURSOR gdk_win32_display_get_hcursor (GdkDisplay *display,
|
||||
GdkCursor *cursor);
|
||||
|
||||
|
@ -36,10 +36,10 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkWin32GLContext GdkWin32GLContext;
|
||||
typedef struct _GdkWin32GLContextClass GdkWin32GLContextClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_win32_gl_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_win32_display_get_wgl_version (GdkDisplay *display,
|
||||
gint *major,
|
||||
gint *minor);
|
||||
|
@ -61,7 +61,7 @@ typedef struct _GdkWin32KeymapClass GdkWin32KeymapClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_win32_keymap_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_20
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkWin32KeymapMatch gdk_win32_keymap_check_compose (GdkWin32Keymap *keymap,
|
||||
guint16 *compose_buffer,
|
||||
gsize compose_buffer_len,
|
||||
|
@ -42,7 +42,7 @@ typedef GdkMonitor GdkWin32Monitor;
|
||||
#endif
|
||||
typedef struct _GdkWin32MonitorClass GdkWin32MonitorClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_win32_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -276,8 +276,6 @@ gdk_x11_cursor_create_for_name (GdkDisplay *display,
|
||||
* by the application (GTK+ applications can learn about
|
||||
* cursor theme changes by listening for change notification
|
||||
* for the corresponding #GtkSetting).
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
void
|
||||
gdk_x11_display_set_cursor_theme (GdkDisplay *display,
|
||||
|
@ -88,8 +88,6 @@ _gdk_x11_device_manager_new (GdkDisplay *display)
|
||||
*
|
||||
* Returns: (transfer none) (allow-none) (type GdkX11DeviceCore): The #GdkDevice wrapping the device ID,
|
||||
* or %NULL if the given ID doesn’t currently represent a device.
|
||||
*
|
||||
* Since: 3.2
|
||||
**/
|
||||
GdkDevice *
|
||||
gdk_x11_device_manager_lookup (GdkX11DeviceManagerCore *device_manager,
|
||||
@ -133,8 +131,6 @@ gdk_x11_device_manager_lookup (GdkX11DeviceManagerCore *device_manager,
|
||||
* > those managed via XInput 1.x), will return 0.
|
||||
*
|
||||
* Returns: the XInput2 device ID.
|
||||
*
|
||||
* Since: 3.2
|
||||
**/
|
||||
gint
|
||||
gdk_x11_device_get_id (GdkDevice *device)
|
||||
@ -170,8 +166,6 @@ gdk_x11_device_get_id (GdkDevice *device)
|
||||
* applications that do mixed GDK/Xlib calls could want to disable
|
||||
* multidevice support if such Xlib code deals with input devices in
|
||||
* any way and doesn’t observe the presence of XInput 2.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
void
|
||||
gdk_disable_multidevice (void)
|
||||
|
@ -1692,8 +1692,6 @@ gdk_x11_display_open (const gchar *display_name)
|
||||
*
|
||||
* The X11 backend uses the program class to set the class name part
|
||||
* of the `WM_CLASS` property on toplevel windows; see the ICCCM.
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
void
|
||||
gdk_x11_display_set_program_class (GdkDisplay *display,
|
||||
@ -1903,8 +1901,6 @@ gdk_x11_display_get_default_group (GdkDisplay *display)
|
||||
* To ungrab the display again, use gdk_x11_display_ungrab().
|
||||
*
|
||||
* gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_x11_display_grab (GdkDisplay *display)
|
||||
@ -1926,8 +1922,6 @@ gdk_x11_display_grab (GdkDisplay *display)
|
||||
*
|
||||
* Ungrab @display after it has been grabbed with
|
||||
* gdk_x11_display_grab().
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
void
|
||||
gdk_x11_display_ungrab (GdkDisplay *display)
|
||||
@ -2032,8 +2026,6 @@ gdk_x11_display_finalize (GObject *object)
|
||||
* Find the #GdkDisplay corresponding to @xdisplay, if any exists.
|
||||
*
|
||||
* Returns: (transfer none) (type GdkX11Display): the #GdkDisplay, if found, otherwise %NULL.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
GdkDisplay *
|
||||
gdk_x11_lookup_xdisplay (Display *xdisplay)
|
||||
@ -2114,8 +2106,6 @@ _gdk_x11_display_screen_for_xrootwin (GdkDisplay *display,
|
||||
* Returns the X display of a #GdkDisplay.
|
||||
*
|
||||
* Returns: (transfer none): an X display
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
Display *
|
||||
gdk_x11_display_get_xdisplay (GdkDisplay *display)
|
||||
@ -2132,8 +2122,6 @@ gdk_x11_display_get_xdisplay (GdkDisplay *display)
|
||||
* Returns the X Screen used by #GdkDisplay.
|
||||
*
|
||||
* Returns: (transfer none): an X Screen
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
Screen *
|
||||
gdk_x11_display_get_xscreen (GdkDisplay *display)
|
||||
@ -2150,8 +2138,6 @@ gdk_x11_display_get_xscreen (GdkDisplay *display)
|
||||
* Returns the root X window used by #GdkDisplay.
|
||||
*
|
||||
* Returns: an X Window
|
||||
*
|
||||
* Since: 3.94
|
||||
*/
|
||||
Window
|
||||
gdk_x11_display_get_xrootwindow (GdkDisplay *display)
|
||||
@ -2289,8 +2275,6 @@ broadcast_xmessage (GdkDisplay *display,
|
||||
* not normally need to call it directly. See the
|
||||
* [Startup Notification Protocol specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt)
|
||||
* for definitions of the message types and keys that can be used.
|
||||
*
|
||||
* Since: 2.12
|
||||
**/
|
||||
void
|
||||
gdk_x11_display_broadcast_startup_message (GdkDisplay *display,
|
||||
@ -2398,8 +2382,6 @@ gdk_x11_display_request_selection_notification (GdkDisplay *display,
|
||||
* movements. See gdk_x11_window_set_user_time().
|
||||
*
|
||||
* Returns: the timestamp of the last user interaction
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
guint32
|
||||
gdk_x11_display_get_user_time (GdkDisplay *display)
|
||||
@ -2427,8 +2409,6 @@ gdk_x11_display_supports_input_shapes (GdkDisplay *display)
|
||||
* Gets the startup notification ID for a display.
|
||||
*
|
||||
* Returns: the startup notification ID for @display
|
||||
*
|
||||
* Since: 2.12
|
||||
*/
|
||||
const gchar *
|
||||
gdk_x11_display_get_startup_notification_id (GdkDisplay *display)
|
||||
@ -2455,8 +2435,6 @@ gdk_x11_display_get_startup_notification_id (GdkDisplay *display)
|
||||
* The startup ID is also what is used to signal that the startup is
|
||||
* complete (for example, when opening a window or when calling
|
||||
* gdk_notify_startup_complete()).
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
void
|
||||
gdk_x11_display_set_startup_notification_id (GdkDisplay *display,
|
||||
@ -2528,8 +2506,6 @@ gdk_x11_display_set_startup_notification_id (GdkDisplay *display,
|
||||
*
|
||||
* This function should only be needed in unusual circumstances, e.g.
|
||||
* when filtering XInput extension events on the root window.
|
||||
*
|
||||
* Since: 2.4
|
||||
**/
|
||||
void
|
||||
gdk_x11_register_standard_event_type (GdkDisplay *display,
|
||||
@ -2679,8 +2655,6 @@ delete_outdated_error_traps (GdkX11Display *display_x11)
|
||||
* with this function.
|
||||
*
|
||||
* See also gdk_error_trap_push() to push a trap on all displays.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
void
|
||||
gdk_x11_display_error_trap_push (GdkDisplay *display)
|
||||
@ -2785,8 +2759,6 @@ gdk_x11_display_error_trap_pop_internal (GdkDisplay *display,
|
||||
*
|
||||
* Once the scale is set by this call it will not change in response
|
||||
* to later user configuration changes.
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
void
|
||||
gdk_x11_display_set_window_scale (GdkDisplay *display,
|
||||
@ -2833,8 +2805,6 @@ gdk_x11_display_set_window_scale (GdkDisplay *display,
|
||||
* See gdk_error_trap_pop() for the all-displays-at-once
|
||||
* equivalent.
|
||||
*
|
||||
* Since: 3.0
|
||||
*
|
||||
* Returns: X error code or 0 on success
|
||||
*/
|
||||
gint
|
||||
@ -2856,8 +2826,6 @@ gdk_x11_display_error_trap_pop (GdkDisplay *display)
|
||||
*
|
||||
* See gdk_error_trap_pop_ignored() for the all-displays-at-once
|
||||
* equivalent.
|
||||
*
|
||||
* Since: 3.0
|
||||
*/
|
||||
void
|
||||
gdk_x11_display_error_trap_pop_ignored (GdkDisplay *display)
|
||||
@ -2878,8 +2846,6 @@ gdk_x11_display_error_trap_pop_ignored (GdkDisplay *display)
|
||||
*
|
||||
* See the X Session Management Library documentation for more information on
|
||||
* session management and the Inter-Client Communication Conventions Manual
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
void
|
||||
gdk_x11_set_sm_client_id (const gchar *sm_client_id)
|
||||
|
@ -1297,8 +1297,6 @@ gdk_x11_display_make_gl_context_current (GdkDisplay *display,
|
||||
* Retrieves the version of the GLX implementation.
|
||||
*
|
||||
* Returns: %TRUE if GLX is available
|
||||
*
|
||||
* Since: 3.16
|
||||
*/
|
||||
gboolean
|
||||
gdk_x11_display_get_glx_version (GdkDisplay *display,
|
||||
|
@ -1393,8 +1393,6 @@ gdk_x11_keymap_translate_keyboard_state (GdkKeymap *keymap,
|
||||
* directly includes an is_modifier field.
|
||||
*
|
||||
* Returns: the index of the active keyboard group for the event
|
||||
*
|
||||
* Since: 3.6
|
||||
*/
|
||||
gint
|
||||
gdk_x11_keymap_get_group_for_state (GdkKeymap *keymap,
|
||||
@ -1484,8 +1482,6 @@ gdk_x11_keymap_add_virtual_modifiers (GdkKeymap *keymap,
|
||||
* an is_modifier field.
|
||||
*
|
||||
* Returns: %TRUE if the hardware keycode is a modifier key
|
||||
*
|
||||
* Since: 3.6
|
||||
*/
|
||||
gboolean
|
||||
gdk_x11_keymap_key_is_modifier (GdkKeymap *keymap,
|
||||
|
@ -75,8 +75,6 @@ lookup_cached_xatom (GdkDisplay *display,
|
||||
* is converted to %None.
|
||||
*
|
||||
* Returns: the X atom corresponding to @atom, or %None
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
Atom
|
||||
gdk_x11_atom_to_xatom_for_display (GdkDisplay *display,
|
||||
@ -153,8 +151,6 @@ _gdk_x11_precache_atoms (GdkDisplay *display,
|
||||
* #GdkAtom.
|
||||
*
|
||||
* Returns: (transfer none): the corresponding #GdkAtom.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
GdkAtom
|
||||
gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
|
||||
@ -211,8 +207,6 @@ gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
|
||||
* faster than XInternAtom(), which is a round trip to the server each time.
|
||||
*
|
||||
* Returns: a X atom for a #GdkDisplay
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
Atom
|
||||
gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display,
|
||||
@ -254,8 +248,6 @@ _gdk_x11_get_xatom_for_display_printf (GdkDisplay *display,
|
||||
*
|
||||
* Returns: name of the X atom; this string is owned by GDK,
|
||||
* so it shouldn’t be modifed or freed.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
const gchar *
|
||||
gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
|
||||
|
@ -127,8 +127,6 @@ gdk_x11_screen_finalize (GObject *object)
|
||||
* extension, 0 is returned.
|
||||
*
|
||||
* Returns: the XID of the monitor
|
||||
*
|
||||
* Since: 2.14
|
||||
*/
|
||||
XID
|
||||
gdk_x11_screen_get_monitor_output (GdkX11Screen *x11_screen,
|
||||
@ -261,8 +259,6 @@ out:
|
||||
* Returns the screen of a #GdkX11Screen.
|
||||
*
|
||||
* Returns: (transfer none): an Xlib Screen*
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
Screen *
|
||||
gdk_x11_screen_get_xscreen (GdkX11Screen *screen)
|
||||
@ -278,8 +274,6 @@ gdk_x11_screen_get_xscreen (GdkX11Screen *screen)
|
||||
*
|
||||
* Returns: the position of @screen among the screens
|
||||
* of its display
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
int
|
||||
gdk_x11_screen_get_screen_number (GdkX11Screen *screen)
|
||||
@ -1078,8 +1072,6 @@ fetch_net_wm_check_window (GdkX11Screen *x11_screen)
|
||||
* a window manager change.
|
||||
*
|
||||
* Returns: %TRUE if the window manager supports @property
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
gboolean
|
||||
gdk_x11_screen_supports_net_wm_hint (GdkX11Screen *x11_screen,
|
||||
@ -1157,8 +1149,6 @@ gdk_x11_screen_supports_net_wm_hint (GdkX11Screen *x11_screen,
|
||||
* Returns: the name of the window manager screen @screen, or
|
||||
* "unknown" if the window manager is unknown. The string is owned by GDK
|
||||
* and should not be freed.
|
||||
*
|
||||
* Since: 2.2
|
||||
**/
|
||||
const char*
|
||||
gdk_x11_screen_get_window_manager_name (GdkX11Screen *x11_screen)
|
||||
@ -1278,8 +1268,6 @@ get_netwm_cardinal_property (GdkX11Screen *x11_screen,
|
||||
* [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
|
||||
*
|
||||
* Returns: the number of workspaces, or 0 if workspaces are not supported
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
guint32
|
||||
gdk_x11_screen_get_number_of_desktops (GdkX11Screen *screen)
|
||||
@ -1297,8 +1285,6 @@ gdk_x11_screen_get_number_of_desktops (GdkX11Screen *screen)
|
||||
* [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
|
||||
*
|
||||
* Returns: the current workspace, or 0 if workspaces are not supported
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
guint32
|
||||
gdk_x11_screen_get_current_desktop (GdkX11Screen *screen)
|
||||
|
@ -53,8 +53,6 @@
|
||||
*
|
||||
* Returns: the number of strings stored in list, or 0,
|
||||
* if the conversion failed
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
gint
|
||||
gdk_x11_display_text_property_to_text_list (GdkDisplay *display,
|
||||
@ -102,8 +100,6 @@ gdk_x11_display_text_property_to_text_list (GdkDisplay *display,
|
||||
*
|
||||
* Frees the array of strings created by
|
||||
* gdk_x11_display_text_property_to_text_list().
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
void
|
||||
gdk_x11_free_text_list (gchar **list)
|
||||
@ -289,8 +285,6 @@ _gdk_x11_display_text_property_to_utf8_list (GdkDisplay *display,
|
||||
* locale into a form suitable for storing in a window property.
|
||||
*
|
||||
* Returns: 0 upon success, non-zero upon failure
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
gint
|
||||
gdk_x11_display_string_to_compound_text (GdkDisplay *display,
|
||||
@ -409,8 +403,6 @@ _gdk_x11_display_utf8_to_string_target (GdkDisplay *display,
|
||||
*
|
||||
* Returns: %TRUE if the conversion succeeded,
|
||||
* otherwise %FALSE
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
gboolean
|
||||
gdk_x11_display_utf8_to_compound_text (GdkDisplay *display,
|
||||
@ -480,8 +472,6 @@ gdk_x11_display_utf8_to_compound_text (GdkDisplay *display,
|
||||
* gdk_x11_display_string_to_compound_text().
|
||||
*
|
||||
* Frees the data returned from gdk_x11_display_string_to_compound_text().
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
void
|
||||
gdk_x11_free_compound_text (guchar *ctext)
|
||||
|
@ -290,8 +290,6 @@ _gdk_x11_screen_init_visuals (GdkX11Screen *x11_screen,
|
||||
*
|
||||
* Returns: (transfer none) (type GdkX11Visual): the #GdkVisual (owned by the screen
|
||||
* object), or %NULL if the visual ID wasn’t found.
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
GdkX11Visual *
|
||||
gdk_x11_screen_lookup_visual (GdkX11Screen *x11_screen,
|
||||
|
@ -51,7 +51,7 @@ struct _GdkX11VulkanContextClass
|
||||
GdkVulkanContextClass parent_class;
|
||||
};
|
||||
|
||||
GDK_AVAILABLE_IN_3_90
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_x11_vulkan_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -1050,8 +1050,6 @@ x_event_mask_to_gdk_event_mask (long mask)
|
||||
* Returns: (transfer full): a #GdkWindow wrapper for the native
|
||||
* window, or %NULL if the window has been destroyed. The wrapper
|
||||
* will be newly created, if one doesn’t exist already.
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_x11_window_foreign_new_for_display (GdkDisplay *display,
|
||||
@ -1678,8 +1676,6 @@ gdk_window_x11_lower (GdkWindow *window)
|
||||
* window manager that supports multiple workspaces, as described
|
||||
* in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
|
||||
* Will not do anything if the window is already on all workspaces.
|
||||
*
|
||||
* Since: 2.8
|
||||
*/
|
||||
void
|
||||
gdk_x11_window_move_to_current_desktop (GdkWindow *window)
|
||||
@ -1746,8 +1742,6 @@ get_netwm_cardinal_property (GdkWindow *window,
|
||||
* Gets the number of the workspace @window is on.
|
||||
*
|
||||
* Returns: the current workspace of @window
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
guint32
|
||||
gdk_x11_window_get_desktop (GdkWindow *window)
|
||||
@ -1765,8 +1759,6 @@ gdk_x11_window_get_desktop (GdkWindow *window)
|
||||
* Moves the window to the given workspace when running unde a
|
||||
* window manager that supports multiple workspaces, as described
|
||||
* in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
|
||||
*
|
||||
* Since: 3.10
|
||||
*/
|
||||
void
|
||||
gdk_x11_window_move_to_desktop (GdkWindow *window,
|
||||
@ -2888,8 +2880,6 @@ gdk_x11_window_set_focus_on_map (GdkWindow *window,
|
||||
* Note that this property is automatically updated by GDK, so this
|
||||
* function should only be used by applications which handle input
|
||||
* events bypassing GDK.
|
||||
*
|
||||
* Since: 2.6
|
||||
**/
|
||||
void
|
||||
gdk_x11_window_set_user_time (GdkWindow *window,
|
||||
@ -2945,8 +2935,6 @@ gdk_x11_window_set_user_time (GdkWindow *window,
|
||||
* This function modifies or removes an arbitrary X11 window
|
||||
* property of type UTF8_STRING. If the given @window is
|
||||
* not a toplevel window, it is ignored.
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
void
|
||||
gdk_x11_window_set_utf8_property (GdkWindow *window,
|
||||
@ -3012,8 +3000,6 @@ gdk_x11_window_set_shadow_width (GdkWindow *window,
|
||||
* This is the same as gdk_window_set_shadow_width() but it only works
|
||||
* on GdkX11Window.
|
||||
*
|
||||
* Since: 3.10
|
||||
*
|
||||
* Deprecated: 3.12: Use gdk_window_set_shadow_width() instead.
|
||||
*/
|
||||
void
|
||||
@ -3040,8 +3026,6 @@ gdk_x11_window_set_frame_extents (GdkWindow *window,
|
||||
* Note that this property is automatically updated by GTK+, so this
|
||||
* function should only be used by applications which do not use GTK+
|
||||
* to create toplevel windows.
|
||||
*
|
||||
* Since: 3.2
|
||||
*/
|
||||
void
|
||||
gdk_x11_window_set_theme_variant (GdkWindow *window,
|
||||
@ -4800,8 +4784,6 @@ gdk_x11_window_get_scale_factor (GdkWindow *window)
|
||||
* the window is not directly managed by the window manager, then frame
|
||||
* synchronziation may need to be disabled. This is the case for a window
|
||||
* embedded via the XEMBED protocol.
|
||||
*
|
||||
* Since: 3.8
|
||||
*/
|
||||
void
|
||||
gdk_x11_window_set_frame_sync_enabled (GdkWindow *window,
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_x11_device_get_id (GdkDevice *device);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDevice * gdk_x11_device_manager_lookup (GdkX11DeviceManagerCore *device_manager,
|
||||
gint device_id);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
@ -54,16 +54,16 @@ typedef struct _GdkX11DisplayClass GdkX11DisplayClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_x11_display_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay * gdk_x11_display_open (const char *display_name);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
Display * gdk_x11_display_get_xdisplay (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
Screen * gdk_x11_display_get_xscreen (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
Window gdk_x11_display_get_xrootwindow (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
Cursor gdk_x11_display_get_xcursor (GdkDisplay *display,
|
||||
GdkCursor *cursor);
|
||||
|
||||
@ -85,7 +85,7 @@ const gchar * gdk_x11_display_get_startup_notification_id (GdkDisplay *d
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_display_set_startup_notification_id (GdkDisplay *display,
|
||||
const gchar *startup_id);
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_display_set_program_class (GdkDisplay *display,
|
||||
const char *program_class);
|
||||
|
||||
@ -102,7 +102,7 @@ void gdk_x11_display_broadcast_startup_message (GdkDisplay *display,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkDisplay *gdk_x11_lookup_xdisplay (Display *xdisplay);
|
||||
|
||||
GDK_AVAILABLE_IN_3_94
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GdkX11Screen *gdk_x11_display_get_screen (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
@ -110,7 +110,7 @@ void gdk_x11_display_grab (GdkDisplay *display);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_display_ungrab (GdkDisplay *display);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_display_set_window_scale (GdkDisplay *display,
|
||||
gint scale);
|
||||
|
||||
|
@ -36,10 +36,10 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkX11GLContext GdkX11GLContext;
|
||||
typedef struct _GdkX11GLContextClass GdkX11GLContextClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_x11_gl_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_16
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_x11_display_get_glx_version (GdkDisplay *display,
|
||||
gint *major,
|
||||
gint *minor);
|
||||
|
@ -43,11 +43,11 @@ typedef struct _GdkX11KeymapClass GdkX11KeymapClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_x11_keymap_get_type (void);
|
||||
|
||||
GDK_AVAILABLE_IN_3_6
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gint gdk_x11_keymap_get_group_for_state (GdkKeymap *keymap,
|
||||
guint state);
|
||||
|
||||
GDK_AVAILABLE_IN_3_6
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gdk_x11_keymap_key_is_modifier (GdkKeymap *keymap,
|
||||
guint keycode);
|
||||
G_END_DECLS
|
||||
|
@ -37,10 +37,10 @@ G_BEGIN_DECLS
|
||||
typedef struct _GdkX11Monitor GdkX11Monitor;
|
||||
typedef struct _GdkX11MonitorClass GdkX11MonitorClass;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_x11_monitor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_3_22
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
XID gdk_x11_monitor_get_output (GdkMonitor *monitor);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -65,9 +65,9 @@ GDK_AVAILABLE_IN_ALL
|
||||
XID gdk_x11_screen_get_monitor_output (GdkX11Screen *screen,
|
||||
gint monitor_num);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
guint32 gdk_x11_screen_get_number_of_desktops (GdkX11Screen *screen);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
guint32 gdk_x11_screen_get_current_desktop (GdkX11Screen *screen);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -58,14 +58,14 @@ Window gdk_x11_window_get_xid (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_window_set_user_time (GdkWindow *window,
|
||||
guint32 timestamp);
|
||||
GDK_AVAILABLE_IN_3_4
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_window_set_utf8_property (GdkWindow *window,
|
||||
const gchar *name,
|
||||
const gchar *value);
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_window_set_theme_variant (GdkWindow *window,
|
||||
const char *variant);
|
||||
GDK_DEPRECATED_IN_3_12_FOR(gdk_window_set_shadow_width)
|
||||
GDK_DEPRECATED_FOR(gdk_window_set_shadow_width)
|
||||
void gdk_x11_window_set_frame_extents (GdkWindow *window,
|
||||
int left,
|
||||
int right,
|
||||
@ -74,13 +74,13 @@ void gdk_x11_window_set_frame_extents (GdkWindow *window,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_window_move_to_current_desktop (GdkWindow *window);
|
||||
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
guint32 gdk_x11_window_get_desktop (GdkWindow *window);
|
||||
GDK_AVAILABLE_IN_3_10
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_window_move_to_desktop (GdkWindow *window,
|
||||
guint32 desktop);
|
||||
|
||||
GDK_AVAILABLE_IN_3_8
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
void gdk_x11_window_set_frame_sync_enabled (GdkWindow *window,
|
||||
gboolean frame_sync_enabled);
|
||||
|
||||
|
@ -97,8 +97,6 @@ _gdk_x11_display_remove_window (GdkDisplay *display,
|
||||
*
|
||||
* Returns: (transfer none) (type GdkX11Window): the #GdkWindow wrapper for the native
|
||||
* window, or %NULL if there is none.
|
||||
*
|
||||
* Since: 2.24
|
||||
*/
|
||||
GdkWindow *
|
||||
gdk_x11_window_lookup_for_display (GdkDisplay *display,
|
||||
|
@ -272,8 +272,6 @@ gsk_renderer_class_init (GskRendererClass *klass)
|
||||
* GskRenderer:display:
|
||||
*
|
||||
* The #GdkDisplay used by the #GskRenderer.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gsk_renderer_properties[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
@ -296,8 +294,6 @@ gsk_renderer_class_init (GskRendererClass *klass)
|
||||
* GskRenderer:drawing-context:
|
||||
*
|
||||
* The drawing context used when rendering.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gsk_renderer_properties[PROP_DRAWING_CONTEXT] =
|
||||
g_param_spec_object ("drawing-context",
|
||||
@ -327,8 +323,6 @@ gsk_renderer_init (GskRenderer *self)
|
||||
* has not been realized yet, %NULL will be returned.
|
||||
*
|
||||
* Returns: (transfer none) (nullable): a #GdkWindow
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkWindow *
|
||||
gsk_renderer_get_window (GskRenderer *renderer)
|
||||
@ -383,8 +377,6 @@ gsk_renderer_get_drawing_context (GskRenderer *renderer)
|
||||
* Retrieves the #GdkDisplay used when creating the #GskRenderer.
|
||||
*
|
||||
* Returns: (transfer none): a #GdkDisplay
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkDisplay *
|
||||
gsk_renderer_get_display (GskRenderer *renderer)
|
||||
@ -403,8 +395,6 @@ gsk_renderer_get_display (GskRenderer *renderer)
|
||||
* Checks whether the @renderer is realized or not.
|
||||
*
|
||||
* Returns: %TRUE if the #GskRenderer was realized, and %FALSE otherwise
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gboolean
|
||||
gsk_renderer_is_realized (GskRenderer *renderer)
|
||||
@ -424,8 +414,6 @@ gsk_renderer_is_realized (GskRenderer *renderer)
|
||||
*
|
||||
* Creates the resources needed by the @renderer to render the scene
|
||||
* graph.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
gboolean
|
||||
gsk_renderer_realize (GskRenderer *renderer,
|
||||
@ -456,8 +444,6 @@ gsk_renderer_realize (GskRenderer *renderer,
|
||||
* @renderer: a #GskRenderer
|
||||
*
|
||||
* Releases all the resources created by gsk_renderer_realize().
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
void
|
||||
gsk_renderer_unrealize (GskRenderer *renderer)
|
||||
@ -490,8 +476,6 @@ gsk_renderer_unrealize (GskRenderer *renderer)
|
||||
* transform node and pass that node instead.
|
||||
*
|
||||
* Returns: (transfer full): a #GdkTexture with the rendered contents of @root.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkTexture *
|
||||
gsk_renderer_render_texture (GskRenderer *renderer,
|
||||
@ -550,8 +534,6 @@ gsk_renderer_render_texture (GskRenderer *renderer,
|
||||
*
|
||||
* The @renderer will acquire a reference on the #GskRenderNode tree while
|
||||
* the rendering is in progress.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
void
|
||||
gsk_renderer_render (GskRenderer *renderer,
|
||||
@ -710,8 +692,6 @@ static struct {
|
||||
* The renderer will be realized when it is returned.
|
||||
*
|
||||
* Returns: (transfer full) (nullable): a #GskRenderer
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GskRenderer *
|
||||
gsk_renderer_new_for_window (GdkWindow *window)
|
||||
@ -786,8 +766,6 @@ gsk_renderer_create_cairo_surface (GskRenderer *renderer,
|
||||
*
|
||||
* Returns: (transfer none): a #GdkDrawingContext context that should be used to
|
||||
* draw the contents of the @renderer. This context is owned by GDK.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
GdkDrawingContext *
|
||||
gsk_renderer_begin_draw_frame (GskRenderer *renderer,
|
||||
@ -831,8 +809,6 @@ gsk_renderer_begin_draw_frame (GskRenderer *renderer,
|
||||
*
|
||||
* Calls to gsk_renderer_begin_draw_frame() and gsk_renderer_end_draw_frame()
|
||||
* must be paired.
|
||||
*
|
||||
* Since: 3.90
|
||||
*/
|
||||
void
|
||||
gsk_renderer_end_draw_frame (GskRenderer *renderer,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user