[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files



commit 269fd1dede7cecdc887f0bc6b98815efca78acc4
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Fri Nov 10 19:16:02 2017 +0100

    Gdk, Gtk: Regenerate docs.xml and .defs files
    
    and update gdk_docs_override.xml and gdk_extra_objects.defs.

 gdk/src/gdk_docs.xml           |  672 +++++++++++++++++-----------------------
 gdk/src/gdk_docs_override.xml  |    1 +
 gdk/src/gdk_enums.defs         |  174 -----------
 gdk/src/gdk_extra_objects.defs |   12 +-
 gdk/src/gdk_methods.defs       |  117 ++++++--
 gdk/src/gdk_signals.defs       |   72 +++++
 gtk/src/gtk_docs.xml           |  352 ++++++++++++++++-----
 gtk/src/gtk_enums.defs         |    4 +-
 gtk/src/gtk_methods.defs       |  119 ++++++--
 gtk/src/gtk_signals.defs       |   62 ++++-
 10 files changed, 873 insertions(+), 712 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 33477cd..38c50d3 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -253,341 +253,6 @@ is synthetic as the pointer didn’t leave the window.
 </parameters>
 </enum>
 
-<enum name="GdkCursorType">
-<description>
-Predefined cursors.
-
-Note that these IDs are directly taken from the X cursor font, and many
-of these cursors are either not useful, or are not available on other platforms.
-
-The recommended way to create cursors is to use gdk_cursor_new_from_name().
-
-</description>
-<parameters>
-<parameter name="GDK_X_CURSOR">
-<parameter_description> ![](X_cursor.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_ARROW">
-<parameter_description> ![](arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BASED_ARROW_DOWN">
-<parameter_description> ![](based_arrow_down.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BASED_ARROW_UP">
-<parameter_description> ![](based_arrow_up.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOAT">
-<parameter_description> ![](boat.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOGOSITY">
-<parameter_description> ![](bogosity.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOTTOM_LEFT_CORNER">
-<parameter_description> ![](bottom_left_corner.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOTTOM_RIGHT_CORNER">
-<parameter_description> ![](bottom_right_corner.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOTTOM_SIDE">
-<parameter_description> ![](bottom_side.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOTTOM_TEE">
-<parameter_description> ![](bottom_tee.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_BOX_SPIRAL">
-<parameter_description> ![](box_spiral.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_CENTER_PTR">
-<parameter_description> ![](center_ptr.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_CIRCLE">
-<parameter_description> ![](circle.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_CLOCK">
-<parameter_description> ![](clock.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_COFFEE_MUG">
-<parameter_description> ![](coffee_mug.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_CROSS">
-<parameter_description> ![](cross.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_CROSS_REVERSE">
-<parameter_description> ![](cross_reverse.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_CROSSHAIR">
-<parameter_description> ![](crosshair.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DIAMOND_CROSS">
-<parameter_description> ![](diamond_cross.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DOT">
-<parameter_description> ![](dot.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DOTBOX">
-<parameter_description> ![](dotbox.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DOUBLE_ARROW">
-<parameter_description> ![](double_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DRAFT_LARGE">
-<parameter_description> ![](draft_large.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DRAFT_SMALL">
-<parameter_description> ![](draft_small.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_DRAPED_BOX">
-<parameter_description> ![](draped_box.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_EXCHANGE">
-<parameter_description> ![](exchange.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_FLEUR">
-<parameter_description> ![](fleur.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_GOBBLER">
-<parameter_description> ![](gobbler.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_GUMBY">
-<parameter_description> ![](gumby.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_HAND1">
-<parameter_description> ![](hand1.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_HAND2">
-<parameter_description> ![](hand2.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_HEART">
-<parameter_description> ![](heart.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_ICON">
-<parameter_description> ![](icon.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_IRON_CROSS">
-<parameter_description> ![](iron_cross.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LEFT_PTR">
-<parameter_description> ![](left_ptr.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LEFT_SIDE">
-<parameter_description> ![](left_side.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LEFT_TEE">
-<parameter_description> ![](left_tee.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LEFTBUTTON">
-<parameter_description> ![](leftbutton.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LL_ANGLE">
-<parameter_description> ![](ll_angle.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LR_ANGLE">
-<parameter_description> ![](lr_angle.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_MAN">
-<parameter_description> ![](man.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_MIDDLEBUTTON">
-<parameter_description> ![](middlebutton.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_MOUSE">
-<parameter_description> ![](mouse.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_PENCIL">
-<parameter_description> ![](pencil.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_PIRATE">
-<parameter_description> ![](pirate.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_PLUS">
-<parameter_description> ![](plus.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_QUESTION_ARROW">
-<parameter_description> ![](question_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_RIGHT_PTR">
-<parameter_description> ![](right_ptr.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_RIGHT_SIDE">
-<parameter_description> ![](right_side.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_RIGHT_TEE">
-<parameter_description> ![](right_tee.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_RIGHTBUTTON">
-<parameter_description> ![](rightbutton.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_RTL_LOGO">
-<parameter_description> ![](rtl_logo.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SAILBOAT">
-<parameter_description> ![](sailboat.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SB_DOWN_ARROW">
-<parameter_description> ![](sb_down_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SB_H_DOUBLE_ARROW">
-<parameter_description> ![](sb_h_double_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SB_LEFT_ARROW">
-<parameter_description> ![](sb_left_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SB_RIGHT_ARROW">
-<parameter_description> ![](sb_right_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SB_UP_ARROW">
-<parameter_description> ![](sb_up_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SB_V_DOUBLE_ARROW">
-<parameter_description> ![](sb_v_double_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SHUTTLE">
-<parameter_description> ![](shuttle.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SIZING">
-<parameter_description> ![](sizing.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SPIDER">
-<parameter_description> ![](spider.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_SPRAYCAN">
-<parameter_description> ![](spraycan.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_STAR">
-<parameter_description> ![](star.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TARGET">
-<parameter_description> ![](target.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TCROSS">
-<parameter_description> ![](tcross.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TOP_LEFT_ARROW">
-<parameter_description> ![](top_left_arrow.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TOP_LEFT_CORNER">
-<parameter_description> ![](top_left_corner.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TOP_RIGHT_CORNER">
-<parameter_description> ![](top_right_corner.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TOP_SIDE">
-<parameter_description> ![](top_side.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TOP_TEE">
-<parameter_description> ![](top_tee.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_TREK">
-<parameter_description> ![](trek.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_UL_ANGLE">
-<parameter_description> ![](ul_angle.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_UMBRELLA">
-<parameter_description> ![](umbrella.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_UR_ANGLE">
-<parameter_description> ![](ur_angle.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_WATCH">
-<parameter_description> ![](watch.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_XTERM">
-<parameter_description> ![](xterm.png)
-</parameter_description>
-</parameter>
-<parameter name="GDK_LAST_CURSOR">
-<parameter_description> last cursor type
-</parameter_description>
-</parameter>
-<parameter name="GDK_BLANK_CURSOR">
-<parameter_description> Blank cursor. Since 2.16
-</parameter_description>
-</parameter>
-<parameter name="GDK_CURSOR_IS_PIXMAP">
-<parameter_description> type of cursors constructed with
-gdk_cursor_new_from_pixbuf()
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
 <signal name="GdkDevice::changed">
 <description>
 The ::changed signal is emitted either when the #GdkDevice
@@ -3063,6 +2728,24 @@ Since: 3.22
 </parameters>
 </enum>
 
+<property name="GdkTexture:height">
+<description>
+The height of the texture.
+
+Since: 3.94
+
+</description>
+</property>
+
+<property name="GdkTexture:width">
+<description>
+The width of the texture.
+
+Since: 3.94
+
+</description>
+</property>
+
 <enum name="GdkTouchpadGesturePhase">
 <description>
 Specifies the current state of a touchpad gesture. All gestures are
@@ -4030,11 +3713,17 @@ bound context
 <return></return>
 </function>
 
-<function name="gdk_cursor_get_display">
+<function name="gdk_cursor_get_fallback">
 <description>
-Returns the display on which the #GdkCursor is defined.
+Returns the fallback for this @cursor. The fallback will be used if this
+cursor is not available on a given #GdkDisplay.
 
-Since: 2.2
+For named cursors, this can happen when using nonstandard names or when
+using an incomplete cursor theme.
+For textured cursors, this can happen when the texture is too large or
+when the #GdkDisplay it is used on does not support textured cursors.
+
+Since: 3.94
 
 </description>
 <parameters>
@@ -4043,63 +3732,86 @@ Since: 2.2
 </parameter_description>
 </parameter>
 </parameters>
-<return> the #GdkDisplay associated to @cursor
+<return> the fallback of the cursor or %NULL to use
+the default cursor as fallback.
 
 </return>
 </function>
 
-<function name="gdk_cursor_get_image">
+<function name="gdk_cursor_get_hotspot_x">
 <description>
-Returns a #GdkPixbuf with the image used to display the cursor.
-
-Note that depending on the capabilities of the windowing system and 
-on the cursor, GDK may not be able to obtain the image data. In this 
-case, %NULL is returned.
+Returns the horizontal offset of the hotspot. The hotspot indicates the
+pixel that will be directly above the cursor.
 
-Since: 2.8
+Since: 3.94
 
 </description>
 <parameters>
 <parameter name="cursor">
-<parameter_description> a #GdkCursor
+<parameter_description> a #GdkCursor.
 </parameter_description>
 </parameter>
 </parameters>
-<return> a #GdkPixbuf representing
-@cursor, or %NULL
+<return> the horizontal offset of the hotspot or 0 for named cursors
 
 </return>
 </function>
 
-<function name="gdk_cursor_get_surface">
+<function name="gdk_cursor_get_hotspot_y">
 <description>
-Returns a cairo image surface with the image used to display the cursor.
+Returns the vertical offset of the hotspot. The hotspot indicates the
+pixel that will be directly above the cursor.
 
-Note that depending on the capabilities of the windowing system and
-on the cursor, GDK may not be able to obtain the image data. In this
-case, %NULL is returned.
-
-Since: 3.10
+Since: 3.94
 
 </description>
 <parameters>
 <parameter name="cursor">
-<parameter_description> a #GdkCursor
+<parameter_description> a #GdkCursor.
 </parameter_description>
 </parameter>
-<parameter name="x_hot">
-<parameter_description> Location to store the hotspot x position,
-or %NULL
+</parameters>
+<return> the vertical offset of the hotspot or 0 for named cursors
+
+</return>
+</function>
+
+<function name="gdk_cursor_get_name">
+<description>
+Returns the name of the cursor. If the cursor is not a named cursor, %NULL
+will be returned and the GdkCursor::texture property will be set.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="cursor">
+<parameter_description> a #GdkCursor.
 </parameter_description>
 </parameter>
-<parameter name="y_hot">
-<parameter_description> Location to store the hotspot y position,
-or %NULL
+</parameters>
+<return> the name of the cursor or %NULL if it is not
+a named cursor
+
+</return>
+</function>
+
+<function name="gdk_cursor_get_texture">
+<description>
+Returns the texture for the cursor. If the cursor is a named cursor, %NULL
+will be returned and the GdkCursor::name property will be set.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="cursor">
+<parameter_description> a #GdkCursor.
 </parameter_description>
 </parameter>
 </parameters>
-<return> a #cairo_surface_t
-representing @cursor, or %NULL
+<return> the texture for cursor or %NULL if it is a
+named cursor
 
 </return>
 </function>
@@ -4152,8 +3864,9 @@ Since: 2.8
 
 </description>
 <parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay for which the cursor will be created
+<parameter name="fallback">
+<parameter_description> %NULL or the #GdkCursor to fall back to when
+this one cannot be supported
 </parameter_description>
 </parameter>
 <parameter name="name">
@@ -4192,10 +3905,6 @@ Since: 2.4
 
 </description>
 <parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay for which the cursor will be created
-</parameter_description>
-</parameter>
 <parameter name="pixbuf">
 <parameter_description> the #GdkPixbuf containing the cursor image
 </parameter_description>
@@ -4208,15 +3917,20 @@ Since: 2.4
 <parameter_description> the vertical offset of the “hotspot” of the cursor.
 </parameter_description>
 </parameter>
+<parameter name="fallback">
+<parameter_description> %NULL or the #GdkCursor to fall back to when
+this one cannot be supported
+</parameter_description>
+</parameter>
 </parameters>
 <return> a new #GdkCursor.
 
 </return>
 </function>
 
-<function name="gdk_cursor_new_from_surface">
+<function name="gdk_cursor_new_from_texture">
 <description>
-Creates a new cursor from a cairo image surface.
+Creates a new cursor from a #GdkTexture.
 
 Not all GDK backends support RGBA cursors. If they are not
 supported, a monochrome approximation will be displayed.
@@ -4230,26 +3944,27 @@ cursor sizes.
 On the X backend, support for RGBA cursors requires a
 sufficently new version of the X Render extension.
 
-Since: 3.10
+Since: 3.94
 
 </description>
 <parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay for which the cursor will be created
+<parameter name="texture">
+<parameter_description> the texture providing the pixel data
 </parameter_description>
 </parameter>
-<parameter name="surface">
-<parameter_description> the cairo image surface containing the cursor pixel data
-</parameter_description>
-</parameter>
-<parameter name="x">
+<parameter name="hotspot_x">
 <parameter_description> the horizontal offset of the “hotspot” of the cursor
 </parameter_description>
 </parameter>
-<parameter name="y">
+<parameter name="hotspot_y">
 <parameter_description> the vertical offset of the “hotspot” of the cursor
 </parameter_description>
 </parameter>
+<parameter name="fallback">
+<parameter_description> %NULL or the #GdkCursor to fall back to when
+this one cannot be supported
+</parameter_description>
+</parameter>
 </parameters>
 <return> a new #GdkCursor.
 
@@ -15057,6 +14772,199 @@ g_strfreev().
 </return>
 </function>
 
+<function name="gdk_texture_download">
+<description>
+Downloads the @texture into local memory. This may be
+an expensive operation, as the actual texture data may
+reside on a GPU or on a remote display server.
+
+The data format of the downloaded data is equivalent to
+%CAIRO_FORMAT_ARGB32, so every downloaded pixel requires
+4 bytes of memory.
+
+Downloading a texture into a Cairo image surface:
+|[&lt;!-- language=&quot;C&quot; --&gt;
+surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
+gdk_texture_get_width (texture),
+gdk_texture_get_height (texture));
+gdk_texture_download (texture,
+cairo_image_surface_get_data (surface),
+cairo_image_surface_get_stride (surface));
+cairo_surface_mark_dirty (surface);
+]|
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="texture">
+<parameter_description> a #GdkTexture
+</parameter_description>
+</parameter>
+<parameter name="data">
+<parameter_description> pointer to enough memory to be filled with the
+downloaded data of @texture
+</parameter_description>
+</parameter>
+<parameter name="stride">
+<parameter_description> rowstride in bytes
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_texture_get_height">
+<description>
+Returns the height of the @texture.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="texture">
+<parameter_description> a #GdkTexture
+</parameter_description>
+</parameter>
+</parameters>
+<return> the height of the #GdkTexture
+
+</return>
+</function>
+
+<function name="gdk_texture_get_width">
+<description>
+Returns the width of @texture.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="texture">
+<parameter_description> a #GdkTexture
+</parameter_description>
+</parameter>
+</parameters>
+<return> the width of the #GdkTexture
+
+</return>
+</function>
+
+<function name="gdk_texture_new_for_data">
+<description>
+Creates a new texture object holding the given data.
+The data is assumed to be in CAIRO_FORMAT_ARGB32 format.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="data">
+<parameter_description> the pixel data
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> the number of pixels in each row
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> the number of rows
+</parameter_description>
+</parameter>
+<parameter name="stride">
+<parameter_description> the distance from the beginning of one row to the next, in bytes
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GdkTexture
+
+</return>
+</function>
+
+<function name="gdk_texture_new_for_pixbuf">
+<description>
+Creates a new texture object representing the GdkPixbuf.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="pixbuf">
+<parameter_description> a #GdkPixbuf
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GdkTexture
+
+</return>
+</function>
+
+<function name="gdk_texture_new_for_surface">
+<description>
+Creates a new texture object representing the surface.
+@surface must be an image surface with format CAIRO_FORMAT_ARGB32.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="surface">
+<parameter_description> a cairo image surface
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GdkTexture
+
+</return>
+</function>
+
+<function name="gdk_texture_new_from_file">
+<description>
+Creates a new texture by loading an image from a file.  The file format is
+detected automatically. If %NULL is returned, then @error will be set.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="file">
+<parameter_description> #GFile to load
+</parameter_description>
+</parameter>
+<parameter name="error">
+<parameter_description> Return location for an error
+</parameter_description>
+</parameter>
+</parameters>
+<return> A newly-created #GdkTexture or %NULL if an error occured.
+
+</return>
+</function>
+
+<function name="gdk_texture_new_from_resource">
+<description>
+Creates a new texture by loading an image from a resource.
+The file format is detected automatically.
+
+It is a fatal error if @resource_path does not specify a valid
+image resource and the program will abort if that happens.
+If you are unsure about the validity of a resource, use
+gdk_texture_new_from_file() to load it.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="resource_path">
+<parameter_description> the path of the resource file
+</parameter_description>
+</parameter>
+</parameters>
+<return> A newly-created texture
+
+</return>
+</function>
+
 <function name="gdk_threads_add_idle">
 <description>
 A wrapper for the common usage of gdk_threads_add_idle_full() 
diff --git a/gdk/src/gdk_docs_override.xml b/gdk/src/gdk_docs_override.xml
index ebede17..64a5a04 100644
--- a/gdk/src/gdk_docs_override.xml
+++ b/gdk/src/gdk_docs_override.xml
@@ -15,6 +15,7 @@
 <substitute_type_name from="GdkWindowTypeHint" to="Gdk::Window::TypeHint" />
 <substitute_type_name from="GdkVisualType" to="Gdk::Visual::Type" />
 
+<substitute_enumerator_name from_prefix="CAIRO_FORMAT_" to_prefix="Cairo::Surface::Format::" />
 <substitute_enumerator_name from_prefix="GDK_TOUCH_" to_prefix="Gdk::Event::Type::TOUCH_" />
 <substitute_enumerator_name from_prefix="GDK_DEVICE_TYPE_" to_prefix="Gdk::Device::Type::" />
 <substitute_enumerator_name from_prefix="GDK_ACTION_" to_prefix="Gdk::DragAction::" />
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index df34ae6..3ff5ea5 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -1,177 +1,3 @@
-;; From gdkcursor.h
-
-;; Original typedef:
-;; typedef enum
-;; {
-;;   GDK_X_CURSOR                = 0,
-;;   GDK_ARROW                   = 2,
-;;   GDK_BASED_ARROW_DOWN    = 4,
-;;   GDK_BASED_ARROW_UP          = 6,
-;;   GDK_BOAT            = 8,
-;;   GDK_BOGOSITY                = 10,
-;;   GDK_BOTTOM_LEFT_CORNER  = 12,
-;;   GDK_BOTTOM_RIGHT_CORNER = 14,
-;;   GDK_BOTTOM_SIDE     = 16,
-;;   GDK_BOTTOM_TEE      = 18,
-;;   GDK_BOX_SPIRAL      = 20,
-;;   GDK_CENTER_PTR      = 22,
-;;   GDK_CIRCLE                  = 24,
-;;   GDK_CLOCK           = 26,
-;;   GDK_COFFEE_MUG      = 28,
-;;   GDK_CROSS                   = 30,
-;;   GDK_CROSS_REVERSE           = 32,
-;;   GDK_CROSSHAIR       = 34,
-;;   GDK_DIAMOND_CROSS           = 36,
-;;   GDK_DOT             = 38,
-;;   GDK_DOTBOX                  = 40,
-;;   GDK_DOUBLE_ARROW    = 42,
-;;   GDK_DRAFT_LARGE     = 44,
-;;   GDK_DRAFT_SMALL     = 46,
-;;   GDK_DRAPED_BOX      = 48,
-;;   GDK_EXCHANGE                = 50,
-;;   GDK_FLEUR                   = 52,
-;;   GDK_GOBBLER                 = 54,
-;;   GDK_GUMBY                   = 56,
-;;   GDK_HAND1                   = 58,
-;;   GDK_HAND2                   = 60,
-;;   GDK_HEART                   = 62,
-;;   GDK_ICON            = 64,
-;;   GDK_IRON_CROSS      = 66,
-;;   GDK_LEFT_PTR                = 68,
-;;   GDK_LEFT_SIDE       = 70,
-;;   GDK_LEFT_TEE                = 72,
-;;   GDK_LEFTBUTTON      = 74,
-;;   GDK_LL_ANGLE                = 76,
-;;   GDK_LR_ANGLE                = 78,
-;;   GDK_MAN             = 80,
-;;   GDK_MIDDLEBUTTON    = 82,
-;;   GDK_MOUSE                   = 84,
-;;   GDK_PENCIL                  = 86,
-;;   GDK_PIRATE                  = 88,
-;;   GDK_PLUS            = 90,
-;;   GDK_QUESTION_ARROW          = 92,
-;;   GDK_RIGHT_PTR       = 94,
-;;   GDK_RIGHT_SIDE      = 96,
-;;   GDK_RIGHT_TEE       = 98,
-;;   GDK_RIGHTBUTTON     = 100,
-;;   GDK_RTL_LOGO                = 102,
-;;   GDK_SAILBOAT                = 104,
-;;   GDK_SB_DOWN_ARROW           = 106,
-;;   GDK_SB_H_DOUBLE_ARROW   = 108,
-;;   GDK_SB_LEFT_ARROW           = 110,
-;;   GDK_SB_RIGHT_ARROW          = 112,
-;;   GDK_SB_UP_ARROW     = 114,
-;;   GDK_SB_V_DOUBLE_ARROW   = 116,
-;;   GDK_SHUTTLE                 = 118,
-;;   GDK_SIZING                  = 120,
-;;   GDK_SPIDER                  = 122,
-;;   GDK_SPRAYCAN                = 124,
-;;   GDK_STAR            = 126,
-;;   GDK_TARGET                  = 128,
-;;   GDK_TCROSS                  = 130,
-;;   GDK_TOP_LEFT_ARROW          = 132,
-;;   GDK_TOP_LEFT_CORNER         = 134,
-;;   GDK_TOP_RIGHT_CORNER        = 136,
-;;   GDK_TOP_SIDE                = 138,
-;;   GDK_TOP_TEE                 = 140,
-;;   GDK_TREK            = 142,
-;;   GDK_UL_ANGLE                = 144,
-;;   GDK_UMBRELLA                = 146,
-;;   GDK_UR_ANGLE                = 148,
-;;   GDK_WATCH                   = 150,
-;;   GDK_XTERM                   = 152,
-;;   GDK_LAST_CURSOR,
-;;   GDK_BLANK_CURSOR        = -2,
-;;   GDK_CURSOR_IS_PIXMAP        = -1
-;; } GdkCursorType;
-
-(define-enum-extended CursorType
-  (in-module "Gdk")
-  (c-name "GdkCursorType")
-  (values
-    '("x-cursor" "GDK_X_CURSOR" "0")
-    '("arrow" "GDK_ARROW" "2")
-    '("based-arrow-down" "GDK_BASED_ARROW_DOWN" "4")
-    '("based-arrow-up" "GDK_BASED_ARROW_UP" "6")
-    '("boat" "GDK_BOAT" "8")
-    '("bogosity" "GDK_BOGOSITY" "10")
-    '("bottom-left-corner" "GDK_BOTTOM_LEFT_CORNER" "12")
-    '("bottom-right-corner" "GDK_BOTTOM_RIGHT_CORNER" "14")
-    '("bottom-side" "GDK_BOTTOM_SIDE" "16")
-    '("bottom-tee" "GDK_BOTTOM_TEE" "18")
-    '("box-spiral" "GDK_BOX_SPIRAL" "20")
-    '("center-ptr" "GDK_CENTER_PTR" "22")
-    '("circle" "GDK_CIRCLE" "24")
-    '("clock" "GDK_CLOCK" "26")
-    '("coffee-mug" "GDK_COFFEE_MUG" "28")
-    '("cross" "GDK_CROSS" "30")
-    '("cross-reverse" "GDK_CROSS_REVERSE" "32")
-    '("crosshair" "GDK_CROSSHAIR" "34")
-    '("diamond-cross" "GDK_DIAMOND_CROSS" "36")
-    '("dot" "GDK_DOT" "38")
-    '("dotbox" "GDK_DOTBOX" "40")
-    '("double-arrow" "GDK_DOUBLE_ARROW" "42")
-    '("draft-large" "GDK_DRAFT_LARGE" "44")
-    '("draft-small" "GDK_DRAFT_SMALL" "46")
-    '("draped-box" "GDK_DRAPED_BOX" "48")
-    '("exchange" "GDK_EXCHANGE" "50")
-    '("fleur" "GDK_FLEUR" "52")
-    '("gobbler" "GDK_GOBBLER" "54")
-    '("gumby" "GDK_GUMBY" "56")
-    '("hand1" "GDK_HAND1" "58")
-    '("hand2" "GDK_HAND2" "60")
-    '("heart" "GDK_HEART" "62")
-    '("icon" "GDK_ICON" "64")
-    '("iron-cross" "GDK_IRON_CROSS" "66")
-    '("left-ptr" "GDK_LEFT_PTR" "68")
-    '("left-side" "GDK_LEFT_SIDE" "70")
-    '("left-tee" "GDK_LEFT_TEE" "72")
-    '("leftbutton" "GDK_LEFTBUTTON" "74")
-    '("ll-angle" "GDK_LL_ANGLE" "76")
-    '("lr-angle" "GDK_LR_ANGLE" "78")
-    '("man" "GDK_MAN" "80")
-    '("middlebutton" "GDK_MIDDLEBUTTON" "82")
-    '("mouse" "GDK_MOUSE" "84")
-    '("pencil" "GDK_PENCIL" "86")
-    '("pirate" "GDK_PIRATE" "88")
-    '("plus" "GDK_PLUS" "90")
-    '("question-arrow" "GDK_QUESTION_ARROW" "92")
-    '("right-ptr" "GDK_RIGHT_PTR" "94")
-    '("right-side" "GDK_RIGHT_SIDE" "96")
-    '("right-tee" "GDK_RIGHT_TEE" "98")
-    '("rightbutton" "GDK_RIGHTBUTTON" "100")
-    '("rtl-logo" "GDK_RTL_LOGO" "102")
-    '("sailboat" "GDK_SAILBOAT" "104")
-    '("sb-down-arrow" "GDK_SB_DOWN_ARROW" "106")
-    '("sb-h-double-arrow" "GDK_SB_H_DOUBLE_ARROW" "108")
-    '("sb-left-arrow" "GDK_SB_LEFT_ARROW" "110")
-    '("sb-right-arrow" "GDK_SB_RIGHT_ARROW" "112")
-    '("sb-up-arrow" "GDK_SB_UP_ARROW" "114")
-    '("sb-v-double-arrow" "GDK_SB_V_DOUBLE_ARROW" "116")
-    '("shuttle" "GDK_SHUTTLE" "118")
-    '("sizing" "GDK_SIZING" "120")
-    '("spider" "GDK_SPIDER" "122")
-    '("spraycan" "GDK_SPRAYCAN" "124")
-    '("star" "GDK_STAR" "126")
-    '("target" "GDK_TARGET" "128")
-    '("tcross" "GDK_TCROSS" "130")
-    '("top-left-arrow" "GDK_TOP_LEFT_ARROW" "132")
-    '("top-left-corner" "GDK_TOP_LEFT_CORNER" "134")
-    '("top-right-corner" "GDK_TOP_RIGHT_CORNER" "136")
-    '("top-side" "GDK_TOP_SIDE" "138")
-    '("top-tee" "GDK_TOP_TEE" "140")
-    '("trek" "GDK_TREK" "142")
-    '("ul-angle" "GDK_UL_ANGLE" "144")
-    '("umbrella" "GDK_UMBRELLA" "146")
-    '("ur-angle" "GDK_UR_ANGLE" "148")
-    '("watch" "GDK_WATCH" "150")
-    '("xterm" "GDK_XTERM" "152")
-    '("last-cursor" "GDK_LAST_CURSOR" "153")
-    '("blank-cursor" "GDK_BLANK_CURSOR" "-2")
-    '("cursor-is-pixmap" "GDK_CURSOR_IS_PIXMAP" "-1")
-  )
-)
-
 ;; From gdkdevice.h
 
 ;; Original typedef:
diff --git a/gdk/src/gdk_extra_objects.defs b/gdk/src/gdk_extra_objects.defs
index 36d65b2..0b507c0 100644
--- a/gdk/src/gdk_extra_objects.defs
+++ b/gdk/src/gdk_extra_objects.defs
@@ -107,22 +107,16 @@
   (gtype-id "GDK_TYPE_RGBA")
 )
 
-(define-object Screen
-  (in-module "Gdk")
-  (c-name "GdkScreen")
-  (gtype-id "GDK_TYPE_SCREEN")
-)
-
 (define-object Seat
   (in-module "Gdk")
   (c-name "GdkSeat")
   (gtype-id "GDK_TYPE_SEAT")
 )
 
-(define-object Visual
+(define-object Texture
   (in-module "Gdk")
-  (c-name "GdkVisual")
-  (gtype-id "GDK_TYPE_VISUAL")
+  (c-name "GdkTexture")
+  (gtype-id "GDK_TYPE_TEXTURE")
 )
 
 (define-object Window
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index a728b8a..428714f 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -843,21 +843,21 @@
   (c-name "gdk_cursor_new_from_pixbuf")
   (return-type "GdkCursor*")
   (parameters
-    '("GdkDisplay*" "display")
     '("GdkPixbuf*" "pixbuf")
     '("gint" "x")
     '("gint" "y")
+    '("GdkCursor*" "fallback")
   )
 )
 
-(define-function gdk_cursor_new_from_surface
-  (c-name "gdk_cursor_new_from_surface")
+(define-function gdk_cursor_new_from_texture
+  (c-name "gdk_cursor_new_from_texture")
   (return-type "GdkCursor*")
   (parameters
-    '("GdkDisplay*" "display")
-    '("cairo_surface_t*" "surface")
-    '("gdouble" "x")
-    '("gdouble" "y")
+    '("GdkTexture*" "texture")
+    '("int" "hotspot_x")
+    '("int" "hotspot_y")
+    '("GdkCursor*" "fallback")
   )
 )
 
@@ -865,31 +865,39 @@
   (c-name "gdk_cursor_new_from_name")
   (return-type "GdkCursor*")
   (parameters
-    '("GdkDisplay*" "display")
     '("const-gchar*" "name")
+    '("GdkCursor*" "fallback")
   )
 )
 
-(define-method get_display
+(define-method get_fallback
   (of-object "GdkCursor")
-  (c-name "gdk_cursor_get_display")
-  (return-type "GdkDisplay*")
+  (c-name "gdk_cursor_get_fallback")
+  (return-type "GdkCursor*")
 )
 
-(define-method get_image
+(define-method get_name
   (of-object "GdkCursor")
-  (c-name "gdk_cursor_get_image")
-  (return-type "GdkPixbuf*")
+  (c-name "gdk_cursor_get_name")
+  (return-type "const-char*")
 )
 
-(define-method get_surface
+(define-method get_texture
   (of-object "GdkCursor")
-  (c-name "gdk_cursor_get_surface")
-  (return-type "cairo_surface_t*")
-  (parameters
-    '("gdouble*" "x_hot")
-    '("gdouble*" "y_hot")
-  )
+  (c-name "gdk_cursor_get_texture")
+  (return-type "GdkTexture*")
+)
+
+(define-method get_hotspot_x
+  (of-object "GdkCursor")
+  (c-name "gdk_cursor_get_hotspot_x")
+  (return-type "int")
+)
+
+(define-method get_hotspot_y
+  (of-object "GdkCursor")
+  (c-name "gdk_cursor_get_hotspot_y")
+  (return-type "int")
 )
 
 
@@ -3544,6 +3552,68 @@
 
 
 
+;; From gdktexture.h
+
+(define-function gdk_texture_new_for_data
+  (c-name "gdk_texture_new_for_data")
+  (return-type "GdkTexture*")
+  (parameters
+    '("const-guchar*" "data")
+    '("int" "width")
+    '("int" "height")
+    '("int" "stride")
+  )
+)
+
+(define-function gdk_texture_new_for_pixbuf
+  (c-name "gdk_texture_new_for_pixbuf")
+  (return-type "GdkTexture*")
+  (parameters
+    '("GdkPixbuf*" "pixbuf")
+  )
+)
+
+(define-function gdk_texture_new_from_resource
+  (c-name "gdk_texture_new_from_resource")
+  (return-type "GdkTexture*")
+  (parameters
+    '("const-char*" "resource_path")
+  )
+)
+
+(define-function gdk_texture_new_from_file
+  (c-name "gdk_texture_new_from_file")
+  (return-type "GdkTexture*")
+  (parameters
+    '("GFile*" "file")
+    '("GError**" "error")
+  )
+)
+
+(define-method get_width
+  (of-object "GdkTexture")
+  (c-name "gdk_texture_get_width")
+  (return-type "int")
+)
+
+(define-method get_height
+  (of-object "GdkTexture")
+  (c-name "gdk_texture_get_height")
+  (return-type "int")
+)
+
+(define-method download
+  (of-object "GdkTexture")
+  (c-name "gdk_texture_download")
+  (return-type "none")
+  (parameters
+    '("guchar*" "data")
+    '("gsize" "stride")
+  )
+)
+
+
+
 ;; From gdkthreads.h
 
 (define-function gdk_threads_init
@@ -4877,11 +4947,6 @@
 
 ;; From gdkenumtypes.h
 
-(define-function gdk_cursor_type_get_type
-  (c-name "gdk_cursor_type_get_type")
-  (return-type "GType")
-)
-
 (define-function gdk_input_source_get_type
   (c-name "gdk_input_source_get_type")
   (return-type "GType")
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index 176e7c3..92253d8 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -44,6 +44,56 @@
   )
 )
 
+;; From GdkCursor
+
+(define-property fallback
+  (of-object "GdkCursor")
+  (prop-type "GParamObject")
+  (docs "Cursor image to fall back to if this cursor cannot be displayed")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+)
+
+(define-property hotspot-x
+  (of-object "GdkCursor")
+  (prop-type "GParamInt")
+  (docs "Horizontal offset of the cursor hotspot")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+  (default-value "0")
+)
+
+(define-property hotspot-y
+  (of-object "GdkCursor")
+  (prop-type "GParamInt")
+  (docs "Vertical offset of the cursor hotspot")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+  (default-value "0")
+)
+
+(define-property name
+  (of-object "GdkCursor")
+  (prop-type "GParamString")
+  (docs "Name of this cursor")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+  (default-value "")
+)
+
+(define-property texture
+  (of-object "GdkCursor")
+  (prop-type "GParamObject")
+  (docs "The texture displayed by this cursor")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+)
+
 ;; From GdkDevice
 
 (define-signal changed
@@ -687,6 +737,28 @@
   (construct-only #t)
 )
 
+;; From GdkTexture
+
+(define-property width
+  (of-object "GdkTexture")
+  (prop-type "GParamInt")
+  (docs "The width of the texture")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+  (default-value "1")
+)
+
+(define-property height
+  (of-object "GdkTexture")
+  (prop-type "GParamInt")
+  (docs "The height of the texture")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+  (default-value "1")
+)
+
 ;; From GdkWindow
 
 (define-signal moved-to-rect
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index be0862e..0d723d9 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -2124,6 +2124,13 @@ Since: 3.10
 </description>
 </property>
 
+<property name="GtkCellRendererPixbuf:texture">
+<description>
+Since: 3.94
+
+</description>
+</property>
+
 <property name="GtkCellRendererProgress:pulse">
 <description>
 Setting this to a non-negative value causes the cell renderer to
@@ -3935,11 +3942,11 @@ Since: 2.16
 </description>
 </property>
 
-<property name="GtkEntry:primary-icon-surface">
+<property name="GtkEntry:primary-icon-texture">
 <description>
-A surface to use as the primary icon for the entry.
+A #GdkTexture to use as the primary icon for the entry.
 
-Since: 2.16
+Since: 3.94
 
 </description>
 </property>
@@ -4044,11 +4051,11 @@ Since: 2.16
 </description>
 </property>
 
-<property name="GtkEntry:secondary-icon-surface">
+<property name="GtkEntry:secondary-icon-texture">
 <description>
-An surface to use as the secondary icon for the entry.
+A #GtkTexture to use as the secondary icon for the entry.
 
-Since: 2.16
+Since: 3.94
 
 </description>
 </property>
@@ -6837,6 +6844,11 @@ This image type was added in GTK+ 2.14
 This image type was added in GTK+ 3.10
 </parameter_description>
 </parameter>
+<parameter name="GTK_IMAGE_TEXTURE">
+<parameter_description> the widget contains a #GdkTexture.
+This image type was added in GTK+ 3.94
+</parameter_description>
+</parameter>
 </parameters>
 </enum>
 
@@ -9414,6 +9426,25 @@ Since: 3.20
 <return></return>
 </signal>
 
+<signal name="GtkPlacesSidebar::show-starred-location">
+<description>
+The places sidebar emits this signal when it needs the calling
+application to present a way to show the starred files. In GNOME,
+starred files are implemented by setting the nao:predefined-tag-favorite
+tag in the tracker database.
+
+Since: 3.22.26
+
+</description>
+<parameters>
+<parameter name="sidebar">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
 <signal name="GtkPlacesSidebar::unmount">
 <description>
 The places sidebar emits this signal when it starts a new operation
@@ -17115,6 +17146,15 @@ Since: 3.90
 </description>
 </property>
 
+<property name="GtkWidget:cursor">
+<description>
+The cursor used by @widget. See gtk_widget_set_cursor() for details.
+
+Since: 3.94
+
+</description>
+</property>
+
 <property name="GtkWidget:expand">
 <description>
 Whether to expand in both directions. Setting this sets both #GtkWidget:hexpand and #GtkWidget:vexpand
@@ -17854,7 +17894,7 @@ Since: 3.0
 
 <function name="gtk_about_dialog_get_logo">
 <description>
-Returns the surface displayed as logo in the about dialog.
+Returns the texture displayed as logo in the about dialog.
 
 Since: 2.6
 
@@ -17865,9 +17905,9 @@ Since: 2.6
 </parameter_description>
 </parameter>
 </parameters>
-<return> the surface displayed as logo. The
-surface is owned by the about dialog. If you want to keep a
-reference to it, you have to call cairo_surface_reference() on it.
+<return> the texture displayed as logo. The
+texture is owned by the about dialog. If you want to keep a
+reference to it, you have to call g_object_ref() on it.
 
 </return>
 </function>
@@ -18187,7 +18227,7 @@ Since: 2.6
 </parameter_description>
 </parameter>
 <parameter name="logo">
-<parameter_description> a #cairo_surface_t, or %NULL
+<parameter_description> a #GdkTexture, or %NULL
 </parameter_description>
 </parameter>
 </parameters>
@@ -34568,7 +34608,7 @@ Since: 2.16
 <description>
 Retrieves the #GIcon used for the icon, or %NULL if there is
 no icon or if the icon was set by some other method (e.g., by
-stock, surface, or icon name).
+stock, texture, or icon name).
 
 Since: 2.16
 
@@ -34593,7 +34633,7 @@ or if the icon is not a #GIcon
 <description>
 Retrieves the icon name used for the icon, or %NULL if there is
 no icon or if the icon was set by some other method (e.g., by
-surface, stock or gicon).
+texture, stock or gicon).
 
 Since: 2.16
 
@@ -34660,13 +34700,11 @@ Since: 2.16
 </return>
 </function>
 
-<function name="gtk_entry_get_icon_surface">
+<function name="gtk_entry_get_icon_texture">
 <description>
-Retrieves the image used for the icon.
+Retrieves the #GdkTexture used for the icon.
 
-Unlike the other methods of setting and getting icon data, this
-method will work regardless of whether the icon was set using a
-#cairo_surface_t, a #GIcon or an icon name.
+If no #GdkTexture was used for the icon, %NULL is returned.
 
 Since: 3.94
 
@@ -34681,8 +34719,8 @@ Since: 3.94
 </parameter_description>
 </parameter>
 </parameters>
-<return> A #cairo_surface_t, or %NULL if no icon is
-set for this position.
+<return> A #GdkTexture, or %NULL if no icon is
+set for this position or the icon set is not a #GdkTexture.
 
 </return>
 </function>
@@ -35503,11 +35541,11 @@ Since: 2.16
 <return></return>
 </function>
 
-<function name="gtk_entry_set_icon_from_surface">
+<function name="gtk_entry_set_icon_from_texture">
 <description>
-Sets the icon shown in the specified position using a image surface.
+Sets the icon shown in the specified position using a #GdkTexture
 
-If @surface is %NULL, no icon will be shown in the specified position.
+If @texture is %NULL, no icon will be shown in the specified position.
 
 Since: 3.94
 
@@ -35521,8 +35559,8 @@ Since: 3.94
 <parameter_description> Icon position
 </parameter_description>
 </parameter>
-<parameter name="surface">
-<parameter_description> An image #cairo_surface, or %NULL
+<parameter name="texture">
+<parameter_description> A #GdkTexture, or %NULL
 </parameter_description>
 </parameter>
 </parameters>
@@ -43380,9 +43418,8 @@ Since: 3.94
 </parameter>
 </parameters>
 <return> the icon texture; this may be a newly
-created texture or a new reference to an exiting texture, so you must
-not modify the icon. Use g_object_unref() to release your
-reference.
+created texture or a new reference to an exiting texture. Use
+g_object_unref() to release your reference.
 
 </return>
 </function>
@@ -46228,6 +46265,29 @@ the image is empty
 </return>
 </function>
 
+<function name="gtk_image_get_texture">
+<description>
+Gets the image #GdkTexture being displayed by the #GtkImage.
+The storage type of the image must be %GTK_IMAGE_EMPTY or
+%GTK_IMAGE_TEXTURE (see gtk_image_get_storage_type()).
+The caller of this function does not own a reference to the
+returned texture.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="image">
+<parameter_description> a #GtkImage
+</parameter_description>
+</parameter>
+</parameters>
+<return> the displayed texture, or %NULL if
+the image is empty
+
+</return>
+</function>
+
 <function name="gtk_image_new">
 <description>
 Creates a new empty #GtkImage widget.
@@ -46248,8 +46308,8 @@ display a “broken image” icon. This function never returns %NULL,
 it always returns a valid #GtkImage widget.
 
 If you need to detect failures to load the file, use
-gdk_pixbuf_new_from_file() to load the file yourself, then create
-the #GtkImage from the surface.
+gdk_texture_new_from_file() to load the file yourself, then create
+the #GtkImage from the texture.
 
 The storage type (gtk_image_get_storage_type()) of the returned
 image is not defined, it will be whatever is appropriate for
@@ -46519,6 +46579,26 @@ Since: 3.10
 <return></return>
 </function>
 
+<function name="gtk_image_set_from_texture">
+<description>
+See gtk_image_new_from_texture() for details.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="image">
+<parameter_description> a #GtkImage
+</parameter_description>
+</parameter>
+<parameter name="surface">
+<parameter_description> a #GdkTexture or %NULL
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_image_set_pixel_size">
 <description>
 Sets the pixel size to use for named icons. If the pixel size is set
@@ -55791,6 +55871,24 @@ Since: 3.18
 </return>
 </function>
 
+<function name="gtk_places_sidebar_get_show_starred_location">
+<description>
+Returns the value previously set with gtk_places_sidebar_set_show_starred_location()
+
+Since: 3.22.26
+
+</description>
+<parameters>
+<parameter name="sidebar">
+<parameter_description> a places sidebar
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the sidebar will display a Starred item.
+
+</return>
+</function>
+
 <function name="gtk_places_sidebar_get_show_trash">
 <description>
 Returns the value previously set with gtk_places_sidebar_set_show_trash()
@@ -56082,6 +56180,27 @@ Since: 3.18
 <return></return>
 </function>
 
+<function name="gtk_places_sidebar_set_show_starred_location">
+<description>
+If you enable this, you should connect to the
+#GtkPlacesSidebar::show-starred-location signal.
+
+Since: 3.22.26
+
+</description>
+<parameters>
+<parameter name="sidebar">
+<parameter_description> a places sidebar
+</parameter_description>
+</parameter>
+<parameter name="show_starred_location">
+<parameter_description> whether to show an item for Starred files
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_places_sidebar_set_show_trash">
 <description>
 Sets whether the @sidebar should show an item for the Trash location.
@@ -68144,7 +68263,7 @@ to the current render node of @snapshot.
 </parameter_description>
 </parameter>
 <parameter name="texture">
-<parameter_description> the #GskTexture to render
+<parameter_description> the #GdkTexture to render
 </parameter_description>
 </parameter>
 <parameter name="bounds">
@@ -70126,6 +70245,10 @@ Since: 3.0
 <parameter_description> a #GtkStyleContext
 </parameter_description>
 </parameter>
+<parameter name="first_property_name">
+<parameter_description> Name of the first property
+</parameter_description>
+</parameter>
 <parameter name="Varargs">
 <parameter_description> property name /return value pairs, followed by %NULL
 </parameter_description>
@@ -70497,6 +70620,10 @@ Since: 3.0
 <parameter_description> a #GtkStyleContext
 </parameter_description>
 </parameter>
+<parameter name="first_property_name">
+<parameter_description> Name of the first property
+</parameter_description>
+</parameter>
 <parameter name="args">
 <parameter_description> va_list of property name/return location pairs, followed by %NULL
 </parameter_description>
@@ -77386,54 +77513,6 @@ with gtk_text_view_buffer_to_window_coords().
 <return></return>
 </function>
 
-<function name="gtk_text_view_get_window">
-<description>
-Retrieves the #GdkWindow corresponding to an area of the text view;
-possible windows include the overall widget window, child windows
-on the left, right, top, bottom, and the window that displays the
-text buffer. Windows are %NULL and nonexistent if their width or
-height is 0, and are nonexistent before the widget has been
-realized.
-
-
-</description>
-<parameters>
-<parameter name="text_view">
-<parameter_description> a #GtkTextView
-</parameter_description>
-</parameter>
-<parameter name="win">
-<parameter_description> window to get
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #GdkWindow, or %NULL
-</return>
-</function>
-
-<function name="gtk_text_view_get_window_type">
-<description>
-Usually used to find out which window an event corresponds to.
-If you connect to an event signal on @text_view, this function
-should be called on `event-&gt;window` to
-see which window it was.
-
-
-</description>
-<parameters>
-<parameter name="text_view">
-<parameter_description> a #GtkTextView
-</parameter_description>
-</parameter>
-<parameter name="window">
-<parameter_description> a window type
-</parameter_description>
-</parameter>
-</parameters>
-<return> the window type.
-</return>
-</function>
-
 <function name="gtk_text_view_get_wrap_mode">
 <description>
 Gets the line wrapping for the view.
@@ -88808,6 +88887,26 @@ been created, it is persistent for all time.
 </return>
 </function>
 
+<function name="gtk_widget_get_cursor">
+<description>
+Queries the cursor set via gtk_widget_set_cursor(). See that function for
+details.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> the cursor curently in use or %NULL
+to use the default.
+
+</return>
+</function>
+
 <function name="gtk_widget_get_default_direction">
 <description>
 Obtains the current default reading direction. See
@@ -91371,6 +91470,44 @@ Since: 3.2
 <return></return>
 </function>
 
+<function name="gtk_widget_pick">
+<description>
+Finds the descendant of widget (including widget itself) closest
+to the screen at the point (@x, @y). The point must be given in
+widget coordinates, so (0, 0) is assumed to be the top left of
+@widget's content area.
+
+Usually widgets will return %NULL if the given coordinate is not
+contained in @widget checked via gtk_widget_contains(). Otherwise
+they will recursively try to find a child that does not return %NULL.
+Widgets are however free to customize their picking algorithm.
+
+This function is used on the toplevel to determine the widget below
+the mouse cursor for purposes of hover hilighting and delivering events.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> the widget to query
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X coordinate to test, relative to @widget's origin
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y coordinate to test, relative to @widget's origin
+</parameter_description>
+</parameter>
+</parameters>
+<return> The widget descendant at the given
+coordinate or %NULL if none.
+
+</return>
+</function>
+
 <function name="gtk_widget_queue_allocate">
 <description>
 This function is only for use in widget implementations.
@@ -91868,6 +92005,59 @@ the clip will be set to @widget's allocation.
 <return></return>
 </function>
 
+<function name="gtk_widget_set_cursor">
+<description>
+Sets the cursor to be shown when pointer devices point towards @widget.
+
+If the @cursor is NULL, @widget will use the cursor specified via CSS
+or the parent widget. If neither specifies a cursor, the default cursor
+will be shown. This is the default behavior.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+<parameter name="cursor">
+<parameter_description> the new cursor or %NULL to use the default
+cursor
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_widget_set_cursor_from_name">
+<description>
+Sets a named cursor to be shown when pointer devices point towards @widget.
+
+This is a utility function that calls creates a cursor via
+gdk_cursor_new_from_name() and then sets it on @widget with
+gtk_widget_set_cursor(). See those 2 functions for details.
+
+On top of that, this function allows @name to be %NULL, which will
+do the same as calling gtk_widget_set_cursor() with a %NULL cursor.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> The name of the cursor or %NULL to use the default
+cursor
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_widget_set_default_direction">
 <description>
 Sets the default reading direction for widgets where the
@@ -93572,7 +93762,7 @@ the icon list).
 </parameter_description>
 </parameter>
 </parameters>
-<return> icon for window
+<return> icon for window or %NULL if none
 </return>
 </function>
 
@@ -94746,7 +94936,7 @@ See gtk_window_set_icon_list() for more details.
 </description>
 <parameters>
 <parameter name="list">
-<parameter_description> a list of #cairo_surface_t image surfaces
+<parameter_description> a list of #GdkTextures
 </parameter_description>
 </parameter>
 </parameters>
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 4d853af..3b6d4db 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -1721,7 +1721,8 @@
 ;;   GTK_IMAGE_EMPTY,
 ;;   GTK_IMAGE_ICON_NAME,
 ;;   GTK_IMAGE_GICON,
-;;   GTK_IMAGE_SURFACE
+;;   GTK_IMAGE_SURFACE,
+;;   GTK_IMAGE_TEXTURE
 ;; } GtkImageType;
 
 (define-enum-extended ImageType
@@ -1732,6 +1733,7 @@
     '("icon-name" "GTK_IMAGE_ICON_NAME" "1")
     '("gicon" "GTK_IMAGE_GICON" "2")
     '("surface" "GTK_IMAGE_SURFACE" "3")
+    '("texture" "GTK_IMAGE_TEXTURE" "4")
   )
 )
 
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 21c15ad..3f63425 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -2176,6 +2176,7 @@
     '("icon-name" "GTK_IMAGE_ICON_NAME")
     '("gicon" "GTK_IMAGE_GICON")
     '("surface" "GTK_IMAGE_SURFACE")
+    '("texture" "GTK_IMAGE_TEXTURE")
   )
 )
 
@@ -2995,7 +2996,7 @@
 (define-method get_logo
   (of-object "GtkAboutDialog")
   (c-name "gtk_about_dialog_get_logo")
-  (return-type "cairo_surface_t*")
+  (return-type "GdkTexture*")
 )
 
 (define-method set_logo
@@ -3003,7 +3004,7 @@
   (c-name "gtk_about_dialog_set_logo")
   (return-type "none")
   (parameters
-    '("cairo_surface_t*" "logo")
+    '("GdkTexture*" "logo")
   )
 )
 
@@ -9714,13 +9715,13 @@
   )
 )
 
-(define-method set_icon_from_surface
+(define-method set_icon_from_texture
   (of-object "GtkEntry")
-  (c-name "gtk_entry_set_icon_from_surface")
+  (c-name "gtk_entry_set_icon_from_texture")
   (return-type "none")
   (parameters
     '("GtkEntryIconPosition" "icon_pos")
-    '("cairo_surface_t*" "surface")
+    '("GdkTexture*" "texture")
   )
 )
 
@@ -9753,10 +9754,10 @@
   )
 )
 
-(define-method get_icon_surface
+(define-method get_icon_texture
   (of-object "GtkEntry")
-  (c-name "gtk_entry_get_icon_surface")
-  (return-type "cairo_surface_t*")
+  (c-name "gtk_entry_get_icon_texture")
+  (return-type "GdkTexture*")
   (parameters
     '("GtkEntryIconPosition" "icon_pos")
   )
@@ -12823,7 +12824,7 @@
 (define-method load_texture
   (of-object "GtkIconInfo")
   (c-name "gtk_icon_info_load_texture")
-  (return-type "GskTexture*")
+  (return-type "GdkTexture*")
 )
 
 (define-method load_icon_async
@@ -13510,6 +13511,14 @@
   )
 )
 
+(define-function gtk_image_new_from_texture
+  (c-name "gtk_image_new_from_texture")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GdkTexture*" "texture")
+  )
+)
+
 (define-function gtk_image_new_from_icon_name
   (c-name "gtk_image_new_from_icon_name")
   (return-type "GtkWidget*")
@@ -13569,6 +13578,15 @@
   )
 )
 
+(define-method set_from_texture
+  (of-object "GtkImage")
+  (c-name "gtk_image_set_from_texture")
+  (return-type "none")
+  (parameters
+    '("GdkTexture*" "texture")
+  )
+)
+
 (define-method set_from_icon_name
   (of-object "GtkImage")
   (c-name "gtk_image_set_from_icon_name")
@@ -13619,6 +13637,12 @@
   (return-type "cairo_surface_t*")
 )
 
+(define-method get_texture
+  (of-object "GtkImage")
+  (c-name "gtk_image_get_texture")
+  (return-type "GdkTexture*")
+)
+
 (define-method get_icon_name
   (of-object "GtkImage")
   (c-name "gtk_image_get_icon_name")
@@ -17901,6 +17925,21 @@
   (return-type "gboolean")
 )
 
+(define-method set_show_starred_location
+  (of-object "GtkPlacesSidebar")
+  (c-name "gtk_places_sidebar_set_show_starred_location")
+  (return-type "none")
+  (parameters
+    '("gboolean" "show_starred_location")
+  )
+)
+
+(define-method get_show_starred_location
+  (of-object "GtkPlacesSidebar")
+  (c-name "gtk_places_sidebar_get_show_starred_location")
+  (return-type "gboolean")
+)
+
 
 
 ;; From gtkpopover.h
@@ -23400,7 +23439,7 @@
   (c-name "gtk_snapshot_append_texture")
   (return-type "none")
   (parameters
-    '("GskTexture*" "texture")
+    '("GdkTexture*" "texture")
     '("const-graphene_rect_t*" "bounds")
     '("const-char*" "name")
   )
@@ -24183,6 +24222,7 @@
   (c-name "gtk_style_context_get_valist")
   (return-type "none")
   (parameters
+    '("const-char*" "first_property_name")
     '("va_list" "args")
   )
 )
@@ -24192,6 +24232,7 @@
   (c-name "gtk_style_context_get")
   (return-type "none")
   (parameters
+    '("const-char*" "first_property_name")
   )
   (varargs #t)
 )
@@ -26873,24 +26914,6 @@
   )
 )
 
-(define-method get_window
-  (of-object "GtkTextView")
-  (c-name "gtk_text_view_get_window")
-  (return-type "GdkWindow*")
-  (parameters
-    '("GtkTextWindowType" "win")
-  )
-)
-
-(define-method get_window_type
-  (of-object "GtkTextView")
-  (c-name "gtk_text_view_get_window_type")
-  (return-type "GtkTextWindowType")
-  (parameters
-    '("GdkWindow*" "window")
-  )
-)
-
 (define-method set_border_window_size
   (of-object "GtkTextView")
   (c-name "gtk_text_view_set_border_window_size")
@@ -31850,6 +31873,16 @@
   )
 )
 
+(define-method pick
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_pick")
+  (return-type "GtkWidget*")
+  (parameters
+    '("gdouble" "x")
+    '("gdouble" "y")
+  )
+)
+
 (define-method hide_on_delete
   (of-object "GtkWidget")
   (c-name "gtk_widget_hide_on_delete")
@@ -31944,6 +31977,30 @@
   )
 )
 
+(define-method set_cursor
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_cursor")
+  (return-type "none")
+  (parameters
+    '("GdkCursor*" "cursor")
+  )
+)
+
+(define-method set_cursor_from_name
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_set_cursor_from_name")
+  (return-type "none")
+  (parameters
+    '("const-char*" "name")
+  )
+)
+
+(define-method get_cursor
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_cursor")
+  (return-type "GdkCursor*")
+)
+
 (define-method list_mnemonic_labels
   (of-object "GtkWidget")
   (c-name "gtk_widget_list_mnemonic_labels")
@@ -33012,7 +33069,7 @@
   (c-name "gtk_window_set_icon")
   (return-type "none")
   (parameters
-    '("cairo_surface_t*" "icon")
+    '("GdkTexture*" "texture")
   )
 )
 
@@ -33038,7 +33095,7 @@
 (define-method get_icon
   (of-object "GtkWindow")
   (c-name "gtk_window_get_icon")
-  (return-type "cairo_surface_t*")
+  (return-type "GdkTexture*")
 )
 
 (define-method get_icon_name
@@ -33064,7 +33121,7 @@
   (c-name "gtk_window_set_default_icon")
   (return-type "none")
   (parameters
-    '("cairo_surface_t*" "icon")
+    '("GdkTexture*" "icon")
   )
 )
 
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 1402de6..941fd87 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -128,7 +128,7 @@
 
 (define-property logo
   (of-object "GtkAboutDialog")
-  (prop-type "GParamBoxed")
+  (prop-type "GParamObject")
   (docs "A logo for the about box. If this is not set, it defaults to gtk_window_get_default_icon_list()")
   (readable #t)
   (writable #t)
@@ -2049,6 +2049,15 @@
   (construct-only #f)
 )
 
+(define-property texture
+  (of-object "GtkCellRendererPixbuf")
+  (prop-type "GParamObject")
+  (docs "The texture to render")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property stock-size
   (of-object "GtkCellRendererPixbuf")
   (prop-type "GParamUInt")
@@ -2981,19 +2990,19 @@
   (default-value "0")
 )
 
-(define-property primary-icon-surface
+(define-property primary-icon-texture
   (of-object "GtkEntry")
-  (prop-type "GParamBoxed")
-  (docs "Primary surface for the entry")
+  (prop-type "GParamObject")
+  (docs "Primary texture for the entry")
   (readable #t)
   (writable #t)
   (construct-only #f)
 )
 
-(define-property secondary-icon-surface
+(define-property secondary-icon-texture
   (of-object "GtkEntry")
-  (prop-type "GParamBoxed")
-  (docs "Secondary surface for the entry")
+  (prop-type "GParamObject")
+  (docs "Secondary texture for the entry")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -4590,6 +4599,15 @@
   (construct-only #f)
 )
 
+(define-property texture
+  (of-object "GtkImage")
+  (prop-type "GParamObject")
+  (docs "A GdkTexture to display")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property file
   (of-object "GtkImage")
   (prop-type "GParamString")
@@ -6450,6 +6468,15 @@
   )
 )
 
+(define-signal show-starred-location
+  (of-object "GtkPlacesSidebar")
+  (return-type "void")
+  (flags "Run First")
+  (parameters
+    '("GtkPlacesOpenFlags" "p0")
+  )
+)
+
 (define-property location
   (of-object "GtkPlacesSidebar")
   (prop-type "GParamObject")
@@ -6509,6 +6536,16 @@
   (default-value "TRUE")
 )
 
+(define-property show-starred-location
+  (of-object "GtkPlacesSidebar")
+  (prop-type "GParamBoolean")
+  (docs "Whether the sidebar includes an item to show starred files")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+  (default-value "FALSE")
+)
+
 (define-property local-only
   (of-object "GtkPlacesSidebar")
   (prop-type "GParamBoolean")
@@ -12039,6 +12076,15 @@
   (default-value "FALSE")
 )
 
+(define-property cursor
+  (of-object "GtkWidget")
+  (prop-type "GParamObject")
+  (docs "The cursor to show when hoving above widget")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property has-tooltip
   (of-object "GtkWidget")
   (prop-type "GParamBoolean")
@@ -12358,7 +12404,7 @@
 
 (define-property icon
   (of-object "GtkWindow")
-  (prop-type "GParamBoxed")
+  (prop-type "GParamObject")
   (docs "Icon for this window")
   (readable #t)
   (writable #t)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]