[gtkmm] Gdk: Regenerate gdk_docs.xml and the .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk: Regenerate gdk_docs.xml and the .defs files
- Date: Tue, 1 Nov 2016 14:41:55 +0000 (UTC)
commit 1e6860911dbe05d37a907e2abe8f28a56e896158
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Tue Nov 1 15:35:16 2016 +0100
Gdk: Regenerate gdk_docs.xml and the .defs files
gdk/src/gdk_docs.xml | 2514 +++-------------------------------------------
gdk/src/gdk_enums.defs | 24 +-
gdk/src/gdk_methods.defs | 723 +-------------
gdk/src/gdk_signals.defs | 68 +--
4 files changed, 178 insertions(+), 3151 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 16d4b3c..e5ec77f 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -1897,6 +1897,14 @@ Since: 3.16
<parameter_description> The requested profile is not supported
</parameter_description>
</parameter>
+<parameter name="GDK_GL_ERROR_COMPILATION_FAILED">
+<parameter_description> The shader compilation failed (available since 3.22)
+</parameter_description>
+</parameter>
+<parameter name="GDK_GL_ERROR_LINK_FAILED">
+<parameter_description> The shader linking failed (available since 3.22)
+</parameter_description>
+</parameter>
</parameters>
</enum>
@@ -1923,8 +1931,8 @@ Defines how device grabs interact with other devices.
<enum name="GdkGrabStatus">
<description>
-Returned by gdk_device_grab(), gdk_pointer_grab() and gdk_keyboard_grab() to
-indicate success or the reason for the failure of the grab attempt.
+Returned by gdk_device_grab() to indicate success or the reason for the
+failure of the grab attempt.
</description>
<parameters>
@@ -2911,23 +2919,6 @@ Since: 2.14
<return></return>
</signal>
-<signal name="GdkScreen::size-changed">
-<description>
-The ::size-changed signal is emitted when the pixel width or
-height of a screen changes.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> the object on which the signal is emitted
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<enum name="GdkScrollDirection">
<description>
Specifies the direction for #GdkEventScroll.
@@ -3338,78 +3329,6 @@ hint must be set before mapping the window.
</parameters>
</enum>
-<signal name="GdkWindow::create-surface">
-<description>
-The ::create-surface signal is emitted when an offscreen window
-needs its surface (re)created, which happens either when the
-window is first drawn to, or when the window is being
-resized. The first signal handler that returns a non-%NULL
-surface will stop any further signal emission, and its surface
-will be used.
-
-Note that it is not possible to access the window's previous
-surface from within any callback of this signal. Calling
-gdk_offscreen_window_get_surface() will lead to a crash.
-
-Since: 3.0
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the offscreen window on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="width">
-<parameter_description> the width of the offscreen surface to create
-</parameter_description>
-</parameter>
-<parameter name="height">
-<parameter_description> the height of the offscreen surface to create
-</parameter_description>
-</parameter>
-</parameters>
-<return> the newly created #cairo_surface_t for the offscreen window
-
-</return>
-</signal>
-
-<signal name="GdkWindow::from-embedder">
-<description>
-The ::from-embedder signal is emitted to translate coordinates
-in the embedder of an offscreen window to the offscreen window.
-
-See also #GdkWindow::to-embedder.
-
-Since: 2.18
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the offscreen window on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="embedder_x">
-<parameter_description> x coordinate in the embedder window
-</parameter_description>
-</parameter>
-<parameter name="embedder_y">
-<parameter_description> y coordinate in the embedder window
-</parameter_description>
-</parameter>
-<parameter name="offscreen_x">
-<parameter_description> return location for the x
-coordinate in the offscreen window
-</parameter_description>
-</parameter>
-<parameter name="offscreen_y">
-<parameter_description> return location for the y
-coordinate in the offscreen window
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GdkWindow::moved-to-rect">
<description>
Emitted when the position of @window is finalized after being moved to a
@@ -3455,77 +3374,22 @@ backend can't obtain it
<return></return>
</signal>
-<signal name="GdkWindow::pick-embedded-child">
-<description>
-The ::pick-embedded-child signal is emitted to find an embedded
-child at the given position.
-
-Since: 2.18
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the window on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> x coordinate in the window
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> y coordinate in the window
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #GdkWindow of the
-embedded child at @x, @y, or %NULL
-
-</return>
-</signal>
-
-<signal name="GdkWindow::to-embedder">
+<property name="GdkWindow:cursor">
<description>
-The ::to-embedder signal is emitted to translate coordinates
-in an offscreen window to its embedder.
-
-See also #GdkWindow::from-embedder.
+The mouse pointer for a #GdkWindow. See gdk_window_set_cursor() and
+gdk_window_get_cursor() for details.
Since: 2.18
</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the offscreen window on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="offscreen_x">
-<parameter_description> x coordinate in the offscreen window
-</parameter_description>
-</parameter>
-<parameter name="offscreen_y">
-<parameter_description> y coordinate in the offscreen window
-</parameter_description>
-</parameter>
-<parameter name="embedder_x">
-<parameter_description> return location for the x
-coordinate in the embedder window
-</parameter_description>
-</parameter>
-<parameter name="embedder_y">
-<parameter_description> return location for the y
-coordinate in the embedder window
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
+</property>
-<property name="GdkWindow:cursor">
+<property name="GdkWindow:display">
<description>
-The mouse pointer for a #GdkWindow. See gdk_window_set_cursor() and
-gdk_window_get_cursor() for details.
+The #GdkDisplay connection of the window. See gdk_window_get_display()
+for details.
-Since: 2.18
+Since: 3.90
</description>
</property>
@@ -3533,8 +3397,8 @@ Since: 2.18
<enum name="GdkWindowAttributesType">
<description>
Used to indicate which fields in the #GdkWindowAttr struct should be honored.
-For example, if you filled in the “cursor” and “x” fields of #GdkWindowAttr,
-pass “@GDK_WA_X | @GDK_WA_CURSOR” to gdk_window_new(). Fields in
+For example, if you filled in the “title” and “x” fields of #GdkWindowAttr,
+pass “@GDK_WA_X | @GDK_WA_TITLE” to gdk_window_new(). Fields in
#GdkWindowAttr not covered by a bit in this enum are required; for example,
the @width/@height, @wclass, and @window_type fields are required, they have
no corresponding flag in #GdkWindowAttributesType.
@@ -3553,18 +3417,6 @@ no corresponding flag in #GdkWindowAttributesType.
<parameter_description> Honor the Y coordinate field
</parameter_description>
</parameter>
-<parameter name="GDK_WA_CURSOR">
-<parameter_description> Honor the cursor field
-</parameter_description>
-</parameter>
-<parameter name="GDK_WA_VISUAL">
-<parameter_description> Honor the visual field
-</parameter_description>
-</parameter>
-<parameter name="GDK_WA_WMCLASS">
-<parameter_description> Honor the wmclass_class and wmclass_name fields
-</parameter_description>
-</parameter>
<parameter name="GDK_WA_NOREDIR">
<parameter_description> Honor the override_redirect field
</parameter_description>
@@ -3745,11 +3597,6 @@ screen, and is created by the window system
<parameter_description> foreign window (see gdk_window_foreign_new())
</parameter_description>
</parameter>
-<parameter name="GDK_WINDOW_OFFSCREEN">
-<parameter_description> offscreen window (see
-[Offscreen Windows][OFFSCREEN-WINDOWS]). Since 2.18
-</parameter_description>
-</parameter>
<parameter name="GDK_WINDOW_SUBSURFACE">
<parameter_description> subsurface-based window; This window is visually
tied to a toplevel, and is moved/stacked with it. Currently this window
@@ -3856,40 +3703,6 @@ windows in order to trap or filter the events. You can’t draw on
</parameters>
</enum>
-<function name="gdk_add_option_entries_libgtk_only">
-<description>
-Appends gdk option entries to the passed in option group. This is
-not public API and must not be used by applications.
-
-Deprecated: 3.16: This symbol was never meant to be used outside
-of GTK+
-
-</description>
-<parameters>
-<parameter name="group">
-<parameter_description> An option group.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_app_launch_context_new">
-<description>
-Creates a new #GdkAppLaunchContext.
-
-Since: 2.14
-
-Deprecated: 3.0: Use gdk_display_get_app_launch_context() instead
-
-</description>
-<parameters>
-</parameters>
-<return> a new #GdkAppLaunchContext
-
-</return>
-</function>
-
<function name="gdk_app_launch_context_set_desktop">
<description>
Sets the workspace on which applications will be launched when
@@ -3917,29 +3730,6 @@ Since: 2.14
<return></return>
</function>
-<function name="gdk_app_launch_context_set_display">
-<description>
-Sets the display on which applications will be launched when
-using this context. See also gdk_app_launch_context_set_screen().
-
-Since: 2.14
-
-Deprecated: 3.0: Use gdk_display_get_app_launch_context() instead
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GdkAppLaunchContext
-</parameter_description>
-</parameter>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_app_launch_context_set_icon">
<description>
Sets the icon for applications that are launched with this
@@ -4320,28 +4110,6 @@ set with cairo_surface_set_device_offset().
</return>
</function>
-<function name="gdk_cairo_set_source_color">
-<description>
-Sets the specified #GdkColor as the source color of @cr.
-
-Since: 2.8
-
-Deprecated: 3.4: Use gdk_cairo_set_source_rgba() instead
-
-</description>
-<parameters>
-<parameter name="cr">
-<parameter_description> a cairo context
-</parameter_description>
-</parameter>
-<parameter name="color">
-<parameter_description> a #GdkColor
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_cairo_set_source_pixbuf">
<description>
Sets the given pixbuf as the source pattern for @cr.
@@ -4455,6 +4223,39 @@ Since: 3.10
</return>
</function>
+<function name="gdk_cairo_surface_upload_to_gl">
+<description>
+Uploads the contents of a Cairo @surface to a GL texture @target.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="surface">
+<parameter_description> a Cairo surface
+</parameter_description>
+</parameter>
+<parameter name="target">
+<parameter_description> a GL texture target
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> the width of the texture @target
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> the height of the texture @target
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> a #GdkGLContext, or %NULL to use the currently
+bound context
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gdk_color_copy">
<description>
Makes a copy of a #GdkColor.
@@ -4679,27 +4480,6 @@ representing @cursor, or %NULL
</return>
</function>
-<function name="gdk_cursor_new">
-<description>
-Creates a new cursor from the set of builtin cursors for the default display.
-See gdk_cursor_new_for_display().
-
-To make the cursor invisible, use %GDK_BLANK_CURSOR.
-
-Deprecated: 3.16: Use gdk_cursor_new_for_display() instead.
-
-</description>
-<parameters>
-<parameter name="cursor_type">
-<parameter_description> cursor to create
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new #GdkCursor
-
-</return>
-</function>
-
<function name="gdk_cursor_new_for_display">
<description>
Creates a new cursor from the set of builtin cursors.
@@ -4874,41 +4654,6 @@ Since: 3.10
</return>
</function>
-<function name="gdk_cursor_ref">
-<description>
-Adds a reference to @cursor.
-
-Deprecated: 3.0: Use g_object_ref() instead
-
-</description>
-<parameters>
-<parameter name="cursor">
-<parameter_description> a #GdkCursor
-</parameter_description>
-</parameter>
-</parameters>
-<return> Same @cursor that was passed in
-
-</return>
-</function>
-
-<function name="gdk_cursor_unref">
-<description>
-Removes a reference from @cursor, deallocating the cursor
-if no references remain.
-
-Deprecated: 3.0: Use g_object_unref() instead
-
-</description>
-<parameters>
-<parameter name="cursor">
-<parameter_description> a #GdkCursor
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_device_free_history">
<description>
Frees an array of #GdkTimeCoord that was returned by gdk_device_get_history().
@@ -5624,41 +5369,6 @@ can be used if the time isn’t known.
</return>
</function>
-<function name="gdk_device_grab_info_libgtk_only">
-<description>
-Determines information about the current keyboard grab.
-This is not public API and must not be used by applications.
-
-Deprecated: 3.16: The symbol was never meant to be used outside
-of GTK+
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the display for which to get the grab information
-</parameter_description>
-</parameter>
-<parameter name="device">
-<parameter_description> device to get the grab information from
-</parameter_description>
-</parameter>
-<parameter name="grab_window">
-<parameter_description> location to store current grab window
-</parameter_description>
-</parameter>
-<parameter name="owner_events">
-<parameter_description> location to store boolean indicating whether
-the @owner_events flag to gdk_keyboard_grab() or
-gdk_pointer_grab() was %TRUE.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if this application currently has the
-keyboard grabbed.
-
-</return>
-</function>
-
<function name="gdk_device_list_axes">
<description>
Returns a #GList of #GdkAtoms, containing the labels for
@@ -5700,32 +5410,6 @@ owned by GTK+ and should not be freed.
</return>
</function>
-<function name="gdk_device_manager_get_client_pointer">
-<description>
-Returns the client pointer, that is, the master pointer that acts as the core pointer
-for this application. In X11, window managers may change this depending on the interaction
-pattern under the presence of several pointers.
-
-You should use this function seldomly, only in code that isn’t triggered by a #GdkEvent
-and there aren’t other means to get a meaningful #GdkDevice to operate on.
-
-Since: 3.0
-
-Deprecated: 3.20: Use gdk_seat_get_pointer() instead.
-
-</description>
-<parameters>
-<parameter name="device_manager">
-<parameter_description> a #GdkDeviceManager
-</parameter_description>
-</parameter>
-</parameters>
-<return> The client pointer. This memory is
-owned by GDK and must not be freed or unreferenced.
-
-</return>
-</function>
-
<function name="gdk_device_manager_get_display">
<description>
Gets the #GdkDisplay associated to @device_manager.
@@ -6432,26 +6116,6 @@ Since: 3.22
</return>
</function>
-<function name="gdk_display_get_n_screens">
-<description>
-Gets the number of screen managed by the @display.
-
-Since: 2.2
-
-Deprecated: 3.10: The number of screens is always 1.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> number of screens.
-
-</return>
-</function>
-
<function name="gdk_display_get_name">
<description>
Gets the name of the display.
@@ -6471,42 +6135,6 @@ by GDK and should not be modified or freed.
</return>
</function>
-<function name="gdk_display_get_pointer">
-<description>
-Gets the current location of the pointer and the current modifier
-mask for a given display.
-
-Since: 2.2
-
-Deprecated: 3.0: Use gdk_device_get_position() instead.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="screen">
-<parameter_description> location to store the screen that the
-cursor is on, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> location to store root window X coordinate of pointer, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> location to store root window Y coordinate of pointer, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="mask">
-<parameter_description> location to store current modifier mask, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_display_get_primary_monitor">
<description>
Gets the primary monitor for the display.
@@ -6516,53 +6144,11 @@ lives. While normal application windows typically allow the window
manager to place the windows, specialized desktop applications
such as panels should place themselves on the primary monitor.
-Since: 3.22
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> the primary monitor, or %NULL if no primary
-monitor is configured by the user
-</return>
-</function>
-
-<function name="gdk_display_get_screen">
-<description>
-Returns a screen object for one of the screens of the display.
-
-Since: 2.2
-Deprecated: 3.20: There is only one screen; use gdk_display_get_default_screen() to get it.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="screen_num">
-<parameter_description> the screen number
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #GdkScreen object
-
-</return>
-</function>
-
-<function name="gdk_display_get_window_at_pointer">
-<description>
-Obtains the window underneath the mouse pointer, returning the location
-of the pointer in that window in @win_x, @win_y for @screen. Returns %NULL
-if the window under the mouse pointer is not known to GDK (for example,
-belongs to another application).
-
-Since: 2.2
+If no monitor is the designated primary monitor, any monitor
+(usually the first) may be returned. To make sure there is a dedicated
+primary monitor, use gdk_monitor_is_primary() on the returned monitor.
-Deprecated: 3.0: Use gdk_device_get_window_at_position() instead.
+Since: 3.22
</description>
<parameters>
@@ -6570,19 +6156,9 @@ Deprecated: 3.0: Use gdk_device_get_window_at_position() instead.
<parameter_description> a #GdkDisplay
</parameter_description>
</parameter>
-<parameter name="win_x">
-<parameter_description> return location for x coordinate of the pointer location relative
-to the window origin, or %NULL
-</parameter_description>
-</parameter>
-<parameter name="win_y">
-<parameter_description> return location for y coordinate of the pointer location relative
- & to the window origin, or %NULL
-</parameter_description>
-</parameter>
</parameters>
-<return> the window under the mouse
-pointer, or %NULL
+<return> the primary monitor, or any monitor if no
+primary monitor is configured by the user
</return>
</function>
@@ -6624,51 +6200,6 @@ Since: 2.22
</return>
</function>
-<function name="gdk_display_keyboard_ungrab">
-<description>
-Release any keyboard grab
-
-Since: 2.2
-
-Deprecated: 3.0: Use gdk_device_ungrab(), together with gdk_device_grab()
-instead.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> a timestap (e.g #GDK_CURRENT_TIME).
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_display_list_devices">
-<description>
-Returns the list of available input devices attached to @display.
-The list is statically allocated and should not be freed.
-
-Since: 2.2
-
-Deprecated: 3.0: Use gdk_device_manager_list_devices() instead.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return>
-a list of #GdkDevice
-
-</return>
-</function>
-
<function name="gdk_display_list_seats">
<description>
Returns the list of seats known to @display.
@@ -6838,26 +6369,6 @@ display could not be opened
</return>
</function>
-<function name="gdk_display_open_default_libgtk_only">
-<description>
-Opens the default display specified by command line arguments or
-environment variables, sets it as the default display, and returns
-it. gdk_parse_args() must have been called first. If the default
-display has previously been set, simply returns that. An internal
-function that should not be used by applications.
-
-Deprecated: 3.16: This symbol was never meant to be used outside
-of GTK+
-
-</description>
-<parameters>
-</parameters>
-<return> the default display, if it
-could be opened, otherwise %NULL.
-
-</return>
-</function>
-
<function name="gdk_display_peek_event">
<description>
Gets a copy of the first #GdkEvent in the @display’s event queue, without
@@ -6881,49 +6392,6 @@ queue, or %NULL if no events are in the queue. The returned
</return>
</function>
-<function name="gdk_display_pointer_is_grabbed">
-<description>
-Test if the pointer is grabbed.
-
-Since: 2.2
-
-Deprecated: 3.0: Use gdk_display_device_is_grabbed() instead.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if an active X pointer grab is in effect
-
-</return>
-</function>
-
-<function name="gdk_display_pointer_ungrab">
-<description>
-Release any pointer grab.
-
-Since: 2.2
-
-Deprecated: 3.0: Use gdk_device_ungrab(), together with gdk_device_grab()
-instead.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> a timestap (e.g. %GDK_CURRENT_TIME).
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_display_put_event">
<description>
Appends a copy of the given event onto the front of the event
@@ -7075,31 +6543,6 @@ Since: 2.6
</return>
</function>
-<function name="gdk_display_supports_composite">
-<description>
-Returns %TRUE if gdk_window_set_composited() can be used
-to redirect drawing on the window using compositing.
-
-Currently this only works on X11 with XComposite and
-XDamage extensions available.
-
-Since: 2.12
-
-Deprecated: 3.16: Compositing is an outdated technology that
-only ever worked on X11.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if windows may be composited.
-
-</return>
-</function>
-
<function name="gdk_display_supports_cursor_alpha">
<description>
Returns %TRUE if cursors can use an 8bit alpha channel
@@ -7222,46 +6665,6 @@ Since: 2.2
<return></return>
</function>
-<function name="gdk_display_warp_pointer">
-<description>
-Warps the pointer of @display to the point @x,@y on
-the screen @screen, unless the pointer is confined
-to a window by a grab, in which case it will be moved
-as far as allowed by the grab. Warping the pointer
-creates events as if the user had moved the mouse
-instantaneously to the destination.
-
-Note that the pointer should normally be under the
-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: 2.8
-
-Deprecated: 3.0: Use gdk_device_warp() instead.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="screen">
-<parameter_description> the screen of @display to warp the pointer to
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> the x coordinate of the destination
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> the y coordinate of the destination
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_drag_abort">
<description>
Aborts a drag without dropping.
@@ -7396,7 +6799,7 @@ Since: 2.22
<function name="gdk_drag_context_get_dest_window">
<description>
-Returns the destination windw for the DND operation.
+Returns the destination window for the DND operation.
Since: 3.0
@@ -9297,23 +8700,6 @@ for the default display and screen.
</return>
</function>
-<function name="gdk_get_display">
-<description>
-Gets the name of the display, which usually comes from the
-`DISPLAY` environment variable or the
-`--display` command line option.
-
-Deprecated: 3.8: Call gdk_display_get_name (gdk_display_get_default ()))
-instead.
-
-</description>
-<parameters>
-</parameters>
-<return> the name of the display.
-
-</return>
-</function>
-
<function name="gdk_get_display_arg_name">
<description>
Gets the display name specified in the command line arguments passed
@@ -9708,6 +9094,10 @@ if the platform and windowing system allows it.
The @context must not have been realized.
+By default, GDK will attempt to automatically detect whether the
+underlying GL implementation is OpenGL or OpenGL ES once the @context
+is realized.
+
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.
@@ -9721,7 +9111,8 @@ Since: 3.22
</parameter_description>
</parameter>
<parameter name="use_es">
-<parameter_description> whether the context should use OpenGL ES instead of OpenGL
+<parameter_description> whether the context should use OpenGL ES instead of OpenGL,
+or -1 to allow auto-detection
</parameter_description>
</parameter>
</parameters>
@@ -9811,63 +9202,6 @@ needed by GTK+ applications.
</return>
</function>
-<function name="gdk_keyboard_grab">
-<description>
-Grabs the keyboard so that all events are passed to this
-application until the keyboard is ungrabbed with gdk_keyboard_ungrab().
-This overrides any previous keyboard grab by this client.
-
-If you set up anything at the time you take the grab that needs to be cleaned
-up when the grab ends, you should handle the #GdkEventGrabBroken events that
-are emitted when the grab ends unvoluntarily.
-
-Deprecated: 3.0: Use gdk_device_grab() instead.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the #GdkWindow which will own the grab (the grab window).
-</parameter_description>
-</parameter>
-<parameter name="owner_events">
-<parameter_description> if %FALSE then all keyboard events are reported with respect to
-@window. If %TRUE then keyboard events for this application are
-reported as normal, but keyboard events outside this application
-are reported with respect to @window. Both key press and key
-release events are always reported, independant of the event mask
-set by the application.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no timestamp is
-available.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %GDK_GRAB_SUCCESS if the grab was successful.
-
-</return>
-</function>
-
-<function name="gdk_keyboard_ungrab">
-<description>
-Ungrabs the keyboard on the default display, if it is grabbed by this
-application.
-
-Deprecated: 3.0: Use gdk_device_ungrab(), together with gdk_device_grab()
-instead.
-
-</description>
-<parameters>
-<parameter name="time_">
-<parameter_description> a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no
-timestamp is available.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_keymap_add_virtual_modifiers">
<description>
Maps the non-virtual modifiers (i.e Mod2, Mod3, ...) which are set
@@ -10442,25 +9776,6 @@ in upper case or it is not subject to case conversion.
</return>
</function>
-<function name="gdk_list_visuals">
-<description>
-Lists the available visuals for the default screen.
-(See gdk_screen_list_visuals())
-A visual describes a hardware image data format.
-For example, a visual might support 24-bit color, or 8-bit color,
-and might expect pixels to be in a certain format.
-
-Call g_list_free() on the return value when you’re finished with it.
-
-
-</description>
-<parameters>
-</parameters>
-<return>
-a list of visuals; the list must be freed, but not its contents
-</return>
-</function>
-
<function name="gdk_monitor_get_display">
<description>
Gets the display that this monitor belongs to.
@@ -10720,69 +10035,6 @@ notification process should be completed
<return></return>
</function>
-<function name="gdk_offscreen_window_get_embedder">
-<description>
-Gets the window that @window is embedded in.
-
-Since: 2.18
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> the embedding #GdkWindow, or
-%NULL if @window is not an mbedded offscreen window
-
-</return>
-</function>
-
-<function name="gdk_offscreen_window_get_surface">
-<description>
-Gets the offscreen surface that an offscreen window renders into.
-If you need to keep this around over window resizes, you need to
-add a reference to it.
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> The offscreen surface, or
-%NULL if not offscreen
-</return>
-</function>
-
-<function name="gdk_offscreen_window_set_embedder">
-<description>
-Sets @window to be embedded in @embedder.
-
-To fully embed an offscreen window, in addition to calling this
-function, it is also necessary to handle the #GdkWindow::pick-embedded-child
-signal on the @embedder and the #GdkWindow::to-embedder and
-#GdkWindow::from-embedder signals on @window.
-
-Since: 2.18
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="embedder">
-<parameter_description> the #GdkWindow that @window gets embedded in
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_pango_context_get">
<description>
Creates a #PangoContext for the default GDK screen.
@@ -14744,128 +13996,6 @@ of @pixdata.
</return>
</function>
-<function name="gdk_pointer_grab">
-<description>
-Grabs the pointer (usually a mouse) so that all events are passed to this
-application until the pointer is ungrabbed with gdk_pointer_ungrab(), or
-the grab window becomes unviewable.
-This overrides any previous pointer grab by this client.
-
-Pointer grabs are used for operations which need complete control over mouse
-events, even if the mouse leaves the application.
-For example in GTK+ it is used for Drag and Drop, for dragging the handle in
-the #GtkHPaned and #GtkVPaned widgets.
-
-Note that if the event mask of an X window has selected both button press and
-button release events, then a button press event will cause an automatic
-pointer grab until the button is released.
-X does this automatically since most applications expect to receive button
-press and release events in pairs.
-It is equivalent to a pointer grab on the window with @owner_events set to
-%TRUE.
-
-If you set up anything at the time you take the grab that needs to be cleaned
-up when the grab ends, you should handle the #GdkEventGrabBroken events that
-are emitted when the grab ends unvoluntarily.
-
-Deprecated: 3.0: Use gdk_device_grab() instead.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the #GdkWindow which will own the grab (the grab window).
-</parameter_description>
-</parameter>
-<parameter name="owner_events">
-<parameter_description> if %FALSE then all pointer events are reported with respect to
-@window and are only reported if selected by @event_mask. If %TRUE then pointer
-events for this application are reported as normal, but pointer events outside
-this application are reported with respect to @window and only if selected by
-@event_mask. In either mode, unreported events are discarded.
-</parameter_description>
-</parameter>
-<parameter name="event_mask">
-<parameter_description> specifies the event mask, which is used in accordance with
-@owner_events. Note that only pointer events (i.e. button and motion events)
-may be selected.
-</parameter_description>
-</parameter>
-<parameter name="confine_to">
-<parameter_description> If non-%NULL, the pointer will be confined to this
-window during the grab. If the pointer is outside @confine_to, it will
-automatically be moved to the closest edge of @confine_to and enter
-and leave events will be generated as necessary.
-</parameter_description>
-</parameter>
-<parameter name="cursor">
-<parameter_description> the cursor to display while the grab is active. If this is %NULL then
-the normal cursors are used for @window and its descendants, and the cursor
-for @window is used for all other windows.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> the timestamp of the event which led to this pointer grab. This usually
-comes from a #GdkEventButton struct, though %GDK_CURRENT_TIME can be used if
-the time isn’t known.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %GDK_GRAB_SUCCESS if the grab was successful.
-
-</return>
-</function>
-
-<function name="gdk_pointer_is_grabbed">
-<description>
-Returns %TRUE if the pointer on the default display is currently
-grabbed by this application.
-
-Note that this does not take the inmplicit pointer grab on button
-presses into account.
-
-Deprecated: 3.0: Use gdk_display_device_is_grabbed() instead.
-
-</description>
-<parameters>
-</parameters>
-<return> %TRUE if the pointer is currently grabbed by this application.
-
-</return>
-</function>
-
-<function name="gdk_pointer_ungrab">
-<description>
-Ungrabs the pointer on the default display, if it is grabbed by this
-application.
-
-Deprecated: 3.0: Use gdk_device_ungrab(), together with gdk_device_grab()
-instead.
-
-</description>
-<parameters>
-<parameter name="time_">
-<parameter_description> a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no
-timestamp is available.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_pre_parse_libgtk_only">
-<description>
-Prepare for parsing command line arguments for GDK. This is not
-public API and should not be used in application code.
-
-Deprecated: 3.16: This symbol was never meant to be used outside
-of GTK+
-
-</description>
-<parameters>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_property_change">
<description>
Changes the contents of a property on a window.
@@ -15013,54 +14143,6 @@ in @data, otherwise %FALSE.
</return>
</function>
-<function name="gdk_query_depths">
-<description>
-This function returns the available bit depths for the default
-screen. It’s equivalent to listing the visuals
-(gdk_list_visuals()) and then looking at the depth field in each
-visual, removing duplicates.
-
-The array returned by this function should not be freed.
-
-</description>
-<parameters>
-<parameter name="depths">
-<parameter_description> return
-location for available depths
-</parameter_description>
-</parameter>
-<parameter name="count">
-<parameter_description> return location for number of available depths
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_query_visual_types">
-<description>
-This function returns the available visual types for the default
-screen. It’s equivalent to listing the visuals
-(gdk_list_visuals()) and then looking at the type field in each
-visual, removing duplicates.
-
-The array returned by this function should not be freed.
-
-</description>
-<parameters>
-<parameter name="visual_types">
-<parameter_description> return
-location for the available visual types
-</parameter_description>
-</parameter>
-<parameter name="count">
-<parameter_description> return location for the number of available visual types
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_rectangle_equal">
<description>
Checks if the two given rectangles are equal.
@@ -15286,38 +14368,6 @@ Since: 3.0
</return>
</function>
-<function name="gdk_screen_get_active_window">
-<description>
-Returns the screen’s currently active window.
-
-On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property
-on the root window, as described in the
-[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec).
-If there is no currently currently active
-window, or the window manager does not support the
-_NET_ACTIVE_WINDOW hint, this function returns %NULL.
-
-On other platforms, this function may return %NULL, depending on whether
-it is implementable on that platform.
-
-The returned window should be unrefed using g_object_unref() when
-no longer needed.
-
-Since: 2.10
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the currently active window,
-or %NULL.
-
-</return>
-</function>
-
<function name="gdk_screen_get_default">
<description>
Gets the default screen for the default display. (See
@@ -15352,350 +14402,6 @@ Since: 2.2
</return>
</function>
-<function name="gdk_screen_get_font_options">
-<description>
-Gets any options previously set with gdk_screen_set_font_options().
-
-Since: 2.10
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current font options, or %NULL if no
-default font options have been set.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_height">
-<description>
-Gets the height of @screen in pixels. The returned size is in
-”application pixels”, not in ”device pixels” (see
-gdk_screen_get_monitor_scale_factor()).
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the height of @screen in pixels.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_height_mm">
-<description>
-Returns the height of @screen in millimeters.
-
-Note that this value is somewhat ill-defined when the screen
-has multiple monitors of different resolution. It is recommended
-to use the monitor dimensions instead.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the heigth of @screen in millimeters.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_at_point">
-<description>
-Returns the monitor number in which the point (@x,@y) is located.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen.
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> the x coordinate in the virtual screen.
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> the y coordinate in the virtual screen.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the monitor number in which the point (@x,@y) lies, or
-a monitor close to (@x,@y) if the point is not in any monitor.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_at_window">
-<description>
-Returns the number of the monitor in which the largest area of the
-bounding rectangle of @window resides.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen.
-</parameter_description>
-</parameter>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> the monitor number in which most of @window is located,
-or if @window does not intersect any monitors, a monitor,
-close to @window.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_geometry">
-<description>
-Retrieves the #GdkRectangle representing the size and position of
-the individual monitor within the entire screen area. The returned
-geometry is in ”application pixels”, not in ”device pixels” (see
-gdk_screen_get_monitor_scale_factor()).
-
-Monitor numbers start at 0. To obtain the number of monitors of
-@screen, use gdk_screen_get_n_monitors().
-
-Note that the size of the entire screen area can be retrieved via
-gdk_screen_get_width() and gdk_screen_get_height().
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> the monitor number
-</parameter_description>
-</parameter>
-<parameter name="dest">
-<parameter_description> a #GdkRectangle to be filled with
-the monitor geometry
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_screen_get_monitor_height_mm">
-<description>
-Gets the height in millimeters of the specified monitor.
-
-Since: 2.14
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)
-</parameter_description>
-</parameter>
-</parameters>
-<return> the height of the monitor, or -1 if not available
-
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_plug_name">
-<description>
-Returns the output name of the specified monitor.
-Usually something like VGA, DVI, or TV, not the actual
-product name of the display device.
-
-Since: 2.14
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly-allocated string containing the name
-of the monitor, or %NULL if the name cannot be determined
-
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_scale_factor">
-<description>
-Returns the internal scale factor that maps from monitor coordinates
-to the actual device pixels. On traditional systems this is 1, but
-on very high density outputs this can be a higher value (often 2).
-
-This can be used if you want to create pixel based data for a
-particular monitor, but most of the time you’re drawing to a window
-where it is better to use gdk_window_get_scale_factor() instead.
-
-Since: 3.10
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> screen to get scale factor for
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)
-</parameter_description>
-</parameter>
-</parameters>
-<return> the scale factor
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_width_mm">
-<description>
-Gets the width in millimeters of the specified monitor, if available.
-
-Since: 2.14
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)
-</parameter_description>
-</parameter>
-</parameters>
-<return> the width of the monitor, or -1 if not available
-
-</return>
-</function>
-
-<function name="gdk_screen_get_monitor_workarea">
-<description>
-Retrieves the #GdkRectangle representing the size and position of
-the “work area” on a monitor within the entire screen area. The returned
-geometry is in ”application pixels”, not in ”device pixels” (see
-gdk_screen_get_monitor_scale_factor()).
-
-The work area should be considered when positioning menus and
-similar popups, to avoid placing them below panels, docks or other
-desktop components.
-
-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.
-
-Monitor numbers start at 0. To obtain the number of monitors of
-@screen, use gdk_screen_get_n_monitors().
-
-Since: 3.4
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> the monitor number
-</parameter_description>
-</parameter>
-<parameter name="dest">
-<parameter_description> a #GdkRectangle to be filled with
-the monitor workarea
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_screen_get_n_monitors">
-<description>
-Returns the number of monitors which @screen consists of.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> number of monitors which @screen consists of
-
-</return>
-</function>
-
-<function name="gdk_screen_get_number">
-<description>
-Gets the index of @screen among the screens in the display
-to which it belongs. (See gdk_screen_get_display())
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the index
-
-</return>
-</function>
-
-<function name="gdk_screen_get_primary_monitor">
-<description>
-Gets the primary monitor for @screen. The primary monitor
-is considered the monitor where the “main desktop” lives.
-While normal application windows typically allow the window
-manager to place the windows, specialized desktop applications
-such as panels should place themselves on the primary monitor.
-
-If no primary monitor is configured by the user, the return value
-will be 0, defaulting to the first monitor.
-
-Since: 2.20
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen.
-</parameter_description>
-</parameter>
-</parameters>
-<return> An integer index for the primary monitor, or 0 if none is configured.
-
-</return>
-</function>
-
<function name="gdk_screen_get_resolution">
<description>
Gets the resolution for font handling on the screen; see
@@ -15841,109 +14547,6 @@ list of toplevel windows, free with g_list_free()
</return>
</function>
-<function name="gdk_screen_get_width">
-<description>
-Gets the width of @screen in pixels. The returned size is in
-”application pixels”, not in ”device pixels” (see
-gdk_screen_get_monitor_scale_factor()).
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the width of @screen in pixels.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_width_mm">
-<description>
-Gets the width of @screen in millimeters.
-
-Note that this value is somewhat ill-defined when the screen
-has multiple monitors of different resolution. It is recommended
-to use the monitor dimensions instead.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the width of @screen in millimeters.
-
-</return>
-</function>
-
-<function name="gdk_screen_get_window_stack">
-<description>
-Returns a #GList of #GdkWindows representing the current
-window stack.
-
-On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING
-property on the root window, as described in the
-[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec).
-If the window manager does not support the
-_NET_CLIENT_LIST_STACKING hint, this function returns %NULL.
-
-On other platforms, this function may return %NULL, depending on whether
-it is implementable on that platform.
-
-The returned list is newly allocated and owns references to the
-windows it contains, so it should be freed using g_list_free() and
-its windows unrefed using g_object_unref() when no longer needed.
-
-Since: 2.10
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> a
-list of #GdkWindows for the current window stack, or %NULL.
-
-</return>
-</function>
-
-<function name="gdk_screen_height">
-<description>
-Gets the height of the default screen in pixels. The returned
-size is in ”application pixels”, not in ”device pixels” (see
-gdk_screen_get_monitor_scale_factor()).
-
-
-</description>
-<parameters>
-</parameters>
-<return> the height of the default screen in pixels.
-</return>
-</function>
-
-<function name="gdk_screen_height_mm">
-<description>
-Returns the height of the default screen in millimeters.
-Note that on many X servers this value will not be correct.
-
-
-</description>
-<parameters>
-</parameters>
-<return> the height of the default screen in millimeters,
-though it is not always correct.
-</return>
-</function>
-
<function name="gdk_screen_is_composited">
<description>
Returns whether windows with an RGBA visual can reasonably
@@ -15992,50 +14595,6 @@ a list of visuals; the list must be freed, but not its contents
</return>
</function>
-<function name="gdk_screen_make_display_name">
-<description>
-Determines the name to pass to gdk_display_open() to get
-a #GdkDisplay with this screen as the default screen.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly allocated string, free with g_free()
-
-</return>
-</function>
-
-<function name="gdk_screen_set_font_options">
-<description>
-Sets the default font options for the screen. These
-options will be set on any #PangoContext’s newly created
-with gdk_pango_context_get_for_screen(). Changing the
-default set of font options does not affect contexts that
-have already been created.
-
-Since: 2.10
-
-</description>
-<parameters>
-<parameter name="screen">
-<parameter_description> a #GdkScreen
-</parameter_description>
-</parameter>
-<parameter name="options">
-<parameter_description> a #cairo_font_options_t, or %NULL to unset any
-previously set default font options.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_screen_set_resolution">
<description>
Sets the resolution for font handling on the screen. This is a
@@ -16060,34 +14619,6 @@ involved; the terminology is conventional.)
<return></return>
</function>
-<function name="gdk_screen_width">
-<description>
-Gets the width of the default screen in pixels. The returned
-size is in ”application pixels”, not in ”device pixels” (see
-gdk_screen_get_monitor_scale_factor()).
-
-
-</description>
-<parameters>
-</parameters>
-<return> the width of the default screen in pixels.
-</return>
-</function>
-
-<function name="gdk_screen_width_mm">
-<description>
-Returns the width of the default screen in millimeters.
-Note that on many X servers this value will not be correct.
-
-
-</description>
-<parameters>
-</parameters>
-<return> the width of the default screen in millimeters,
-though it is not always correct.
-</return>
-</function>
-
<function name="gdk_seat_get_capabilities">
<description>
Returns the capabilities this #GdkSeat currently has.
@@ -17141,49 +15672,6 @@ thread
<return></return>
</function>
-<function name="gdk_threads_set_lock_functions">
-<description>
-Allows the application to replace the standard method that
-GDK uses to protect its data structures. Normally, GDK
-creates a single #GMutex that is locked by gdk_threads_enter(),
-and released by gdk_threads_leave(); using this function an
-application provides, instead, a function @enter_fn that is
-called by gdk_threads_enter() and a function @leave_fn that is
-called by gdk_threads_leave().
-
-The functions must provide at least same locking functionality
-as the default implementation, but can also do extra application
-specific processing.
-
-As an example, consider an application that has its own recursive
-lock that when held, holds the GTK+ lock as well. When GTK+ unlocks
-the GTK+ lock when entering a recursive main loop, the application
-must temporarily release its lock as well.
-
-Most threaded GTK+ apps won’t need to use this method.
-
-This method must be called before gdk_threads_init(), and cannot
-be called multiple times.
-
-Deprecated:3.6: All GDK and GTK+ calls should be made from the main
-thread
-
-Since: 2.4
-
-</description>
-<parameters>
-<parameter name="enter_fn">
-<parameter_description> function called to guard GDK
-</parameter_description>
-</parameter>
-<parameter name="leave_fn">
-<parameter_description> function called to release the guard
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_unicode_to_keyval">
<description>
Convert from a ISO10646 character to a key symbol.
@@ -17224,128 +15712,6 @@ file descriptors are exceeded.)
</return>
</function>
-<function name="gdk_visual_get_best">
-<description>
-Get the visual with the most available colors for the default
-GDK screen. The return value should not be freed.
-
-
-</description>
-<parameters>
-</parameters>
-<return> best visual
-</return>
-</function>
-
-<function name="gdk_visual_get_best_depth">
-<description>
-Get the best available depth for the default GDK screen. “Best”
-means “largest,” i.e. 32 preferred over 24 preferred over 8 bits
-per pixel.
-
-
-</description>
-<parameters>
-</parameters>
-<return> best available depth
-</return>
-</function>
-
-<function name="gdk_visual_get_best_type">
-<description>
-Return the best available visual type for the default GDK screen.
-
-
-</description>
-<parameters>
-</parameters>
-<return> best visual type
-</return>
-</function>
-
-<function name="gdk_visual_get_best_with_both">
-<description>
-Combines gdk_visual_get_best_with_depth() and
-gdk_visual_get_best_with_type().
-
-
-</description>
-<parameters>
-<parameter name="depth">
-<parameter_description> a bit depth
-</parameter_description>
-</parameter>
-<parameter name="visual_type">
-<parameter_description> a visual type
-</parameter_description>
-</parameter>
-</parameters>
-<return> best visual with both @depth
-and @visual_type, or %NULL if none
-</return>
-</function>
-
-<function name="gdk_visual_get_best_with_depth">
-<description>
-Get the best visual with depth @depth for the default GDK screen.
-Color visuals and visuals with mutable colormaps are preferred
-over grayscale or fixed-colormap visuals. The return value should
-not be freed. %NULL may be returned if no visual supports @depth.
-
-
-</description>
-<parameters>
-<parameter name="depth">
-<parameter_description> a bit depth
-</parameter_description>
-</parameter>
-</parameters>
-<return> best visual for the given depth
-</return>
-</function>
-
-<function name="gdk_visual_get_best_with_type">
-<description>
-Get the best visual of the given @visual_type for the default GDK screen.
-Visuals with higher color depths are considered better. The return value
-should not be freed. %NULL may be returned if no visual has type
-@visual_type.
-
-
-</description>
-<parameters>
-<parameter name="visual_type">
-<parameter_description> a visual type
-</parameter_description>
-</parameter>
-</parameters>
-<return> best visual of the given type
-</return>
-</function>
-
-<function name="gdk_visual_get_bits_per_rgb">
-<description>
-Returns the number of significant bits per red, green and blue value.
-
-Not all GDK backend provide a meaningful value for this function.
-
-Since: 2.22
-
-Deprecated: 3.22. Use gdk_visual_get_red_pixel_details() and its variants to
-learn about the pixel layout of TrueColor and DirectColor visuals
-
-</description>
-<parameters>
-<parameter name="visual">
-<parameter_description> a #GdkVisual
-</parameter_description>
-</parameter>
-</parameters>
-<return> The number of significant bits per color value for @visual.
-
-</return>
-</function>
-
<function name="gdk_visual_get_blue_pixel_details">
<description>
Obtains values that are needed to calculate blue pixel values in TrueColor
@@ -17378,53 +15744,6 @@ Since: 2.22
<return></return>
</function>
-<function name="gdk_visual_get_byte_order">
-<description>
-Returns the byte order of this visual.
-
-The information returned by this function is only relevant
-when working with XImages, and not all backends return
-meaningful information for this.
-
-Since: 2.22
-
-Deprecated: 3.22: This information is not useful
-
-</description>
-<parameters>
-<parameter name="visual">
-<parameter_description> A #GdkVisual.
-</parameter_description>
-</parameter>
-</parameters>
-<return> A #GdkByteOrder stating the byte order of @visual.
-
-</return>
-</function>
-
-<function name="gdk_visual_get_colormap_size">
-<description>
-Returns the size of a colormap for this visual.
-
-You have to use platform-specific APIs to manipulate colormaps.
-
-Since: 2.22
-
-Deprecated: 3.22: This information is not useful, since GDK does not
-provide APIs to operate on colormaps.
-
-</description>
-<parameters>
-<parameter name="visual">
-<parameter_description> A #GdkVisual.
-</parameter_description>
-</parameter>
-</parameters>
-<return> The size of a colormap that is suitable for @visual.
-
-</return>
-</function>
-
<function name="gdk_visual_get_depth">
<description>
Returns the bit depth of this visual.
@@ -17525,20 +15844,6 @@ Since: 2.2
</return>
</function>
-<function name="gdk_visual_get_system">
-<description>
-Get the system’s default visual for the default GDK screen.
-This is the visual for the root window of the display.
-The return value should not be freed.
-
-
-</description>
-<parameters>
-</parameters>
-<return> system visual
-</return>
-</function>
-
<function name="gdk_visual_get_visual_type">
<description>
Returns the type of visual this is (PseudoColor, TrueColor, etc).
@@ -17587,35 +15892,6 @@ XFreeEventData() must not be called within @function.
<return></return>
</function>
-<function name="gdk_window_at_pointer">
-<description>
-Obtains the window underneath the mouse pointer, returning the
-location of that window in @win_x, @win_y. Returns %NULL if the
-window under the mouse pointer is not known to GDK (if the window
-belongs to another application and a #GdkWindow hasn’t been created
-for it with gdk_window_foreign_new())
-
-NOTE: For multihead-aware widgets or applications use
-gdk_display_get_window_at_pointer() instead.
-
-Deprecated: 3.0: Use gdk_device_get_window_at_position() instead.
-
-</description>
-<parameters>
-<parameter name="win_x">
-<parameter_description> return location for origin of the window under the pointer
-</parameter_description>
-</parameter>
-<parameter name="win_y">
-<parameter_description> return location for origin of the window under the pointer
-</parameter_description>
-</parameter>
-</parameters>
-<return> window under the mouse pointer
-
-</return>
-</function>
-
<function name="gdk_window_beep">
<description>
Emits a short beep associated to @window in the appropriate
@@ -17758,85 +16034,6 @@ Since: 3.4
<return></return>
</function>
-<function name="gdk_window_begin_paint_rect">
-<description>
-A convenience wrapper around gdk_window_begin_paint_region() which
-creates a rectangular region for you. See
-gdk_window_begin_paint_region() for details.
-
-Deprecated: 3.22: Use gdk_window_begin_draw_frame() instead
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="rectangle">
-<parameter_description> rectangle you intend to draw to
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_window_begin_paint_region">
-<description>
-Indicates that you are beginning the process of redrawing @region.
-A backing store (offscreen buffer) large enough to contain @region
-will be created. The backing store will be initialized with the
-background color or background surface for @window. Then, all
-drawing operations performed on @window will be diverted to the
-backing store. When you call gdk_window_end_paint(), the backing
-store will be copied to @window, making it visible onscreen. Only
-the part of @window contained in @region will be modified; that is,
-drawing operations are clipped to @region.
-
-The net result of all this is to remove flicker, because the user
-sees the finished product appear all at once when you call
-gdk_window_end_paint(). If you draw to @window directly without
-calling gdk_window_begin_paint_region(), the user may see flicker
-as individual drawing operations are performed in sequence. The
-clipping and background-initializing features of
-gdk_window_begin_paint_region() are conveniences for the
-programmer, so you can avoid doing that work yourself.
-
-When using GTK+, the widget system automatically places calls to
-gdk_window_begin_paint_region() and gdk_window_end_paint() around
-emissions of the expose_event signal. That is, if you’re writing an
-expose event handler, you can assume that the exposed area in
-#GdkEventExpose has already been cleared to the window background,
-is already set as the clip region, and already has a backing store.
-Therefore in most cases, application code need not call
-gdk_window_begin_paint_region(). (You can disable the automatic
-calls around expose events on a widget-by-widget basis by calling
-gtk_widget_set_double_buffered().)
-
-If you call this function multiple times before calling the
-matching gdk_window_end_paint(), the backing stores are pushed onto
-a stack. gdk_window_end_paint() copies the topmost backing store
-onscreen, subtracts the topmost region from all other regions in
-the stack, and pops the stack. All drawing operations affect only
-the topmost backing store in the stack. One matching call to
-gdk_window_end_paint() is required for each call to
-gdk_window_begin_paint_region().
-
-Deprecated: 3.22: Use gdk_window_begin_draw_frame() instead
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="region">
-<parameter_description> region you intend to draw to
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_begin_resize_drag">
<description>
Begins a window resize operation (for a toplevel window).
@@ -17920,23 +16117,6 @@ Since: 3.4
<return></return>
</function>
-<function name="gdk_window_configure_finished">
-<description>
-Does nothing, present only for compatiblity.
-
-Since: 2.6
-Deprecated: 3.8: this function is no longer needed
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a toplevel #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_constrain_size">
<description>
Constrains a desired width and height according to a
@@ -17975,19 +16155,10 @@ set of geometry hints (such as minimum and maximum size).
<function name="gdk_window_coords_from_parent">
<description>
Transforms window coordinates from a parent window to a child
-window, where the parent window is the normal parent as returned by
-gdk_window_get_parent() for normal windows, and the window's
-embedder as returned by gdk_offscreen_window_get_embedder() for
-offscreen windows.
-
-For normal windows, calling this function is equivalent to subtracting
-the return values of gdk_window_get_position() from the parent coordinates.
-For offscreen windows however (which can be arbitrarily transformed),
-this function calls the GdkWindow::from-embedder: signal to translate
-the coordinates.
+window.
-You should always use this function when writing generic code that
-walks down a window hierarchy.
+Calling this function is equivalent to subtracting the return
+values of gdk_window_get_position() from the parent coordinates.
See also: gdk_window_coords_to_parent()
@@ -18022,19 +16193,8 @@ Since: 2.22
<function name="gdk_window_coords_to_parent">
<description>
Transforms window coordinates from a child window to its parent
-window, where the parent window is the normal parent as returned by
-gdk_window_get_parent() for normal windows, and the window's
-embedder as returned by gdk_offscreen_window_get_embedder() for
-offscreen windows.
-
-For normal windows, calling this function is equivalent to adding
-the return values of gdk_window_get_position() to the child coordinates.
-For offscreen windows however (which can be arbitrarily transformed),
-this function calls the GdkWindow::to-embedder: signal to translate
-the coordinates.
-
-You should always use this function when writing generic code that
-walks up a window hierarchy.
+window. Calling this function is equivalent to adding the return
+values of gdk_window_get_position() to the child coordinates.
See also: gdk_window_coords_from_parent()
@@ -18245,23 +16405,6 @@ reaches zero. You must call this function yourself before that happens.
<return></return>
</function>
-<function name="gdk_window_enable_synchronized_configure">
-<description>
-Does nothing, present only for compatiblity.
-
-Since: 2.6
-Deprecated: 3.8: this function is no longer needed
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a toplevel #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_end_draw_frame">
<description>
Indicates that the drawing of the contents of @window started with
@@ -18288,34 +16431,11 @@ Since: 3.22
<return></return>
</function>
-<function name="gdk_window_end_paint">
-<description>
-Indicates that the backing store created by the most recent call
-to gdk_window_begin_paint_region() should be copied onscreen and
-deleted, leaving the next-most-recent backing store or no backing
-store at all as the active paint region. See
-gdk_window_begin_paint_region() for full details.
-
-It is an error to call this function without a matching
-gdk_window_begin_paint_region() first.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_ensure_native">
<description>
Tries to ensure that there is a window-system native window for this
GdkWindow. This may fail in some situations, returning %FALSE.
-Offscreen window and children of them can never have native windows.
-
Some backends may not support native child windows.
Since: 2.18
@@ -18332,24 +16452,6 @@ Since: 2.18
</return>
</function>
-<function name="gdk_window_flush">
-<description>
-This function does nothing.
-
-Since: 2.18
-
-Deprecated: 3.14
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_focus">
<description>
Sets keyboard focus to @window. In most cases, gtk_window_present()
@@ -18370,31 +16472,6 @@ should be used on a #GtkWindow, rather than calling this function.
<return></return>
</function>
-<function name="gdk_window_freeze_toplevel_updates_libgtk_only">
-<description>
-Temporarily freezes a window and all its descendants such that it won't
-receive expose events. The window will begin receiving expose events
-again when gdk_window_thaw_toplevel_updates_libgtk_only() is called. If
-gdk_window_freeze_toplevel_updates_libgtk_only()
-has been called more than once,
-gdk_window_thaw_toplevel_updates_libgtk_only() must be called
-an equal number of times to begin processing exposes.
-
-This function is not part of the GDK public API and is only
-for use by GTK+.
-
-Deprecated: 3.16: This symbol was never meant to be used outside of GTK+
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_freeze_updates">
<description>
Temporarily freezes a window such that it won’t receive expose
@@ -18463,24 +16540,6 @@ Since: UNRELEASED
<return></return>
</function>
-<function name="gdk_window_geometry_changed">
-<description>
-This function informs GDK that the geometry of an embedded
-offscreen window has changed. This is necessary for GDK to keep
-track of which offscreen window the pointer is in.
-
-Since: 2.18
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> an embedded offscreen #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_get_accept_focus">
<description>
Determines whether or not the desktop environment shuld be hinted that
@@ -18500,27 +16559,6 @@ Since: 2.22
</return>
</function>
-<function name="gdk_window_get_background_pattern">
-<description>
-Gets the pattern used to clear the background on @window. If @window
-does not have its own background and reuses the parent's, %NULL is
-returned and you’ll have to query it yourself.
-
-Since: 2.22
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a window
-</parameter_description>
-</parameter>
-</parameters>
-<return> The pattern to use for the
-background or %NULL to use the parent’s background.
-
-</return>
-</function>
-
<function name="gdk_window_get_children">
<description>
Gets the list of children of @window known to GDK.
@@ -18595,29 +16633,6 @@ when you are done.
</return>
</function>
-<function name="gdk_window_get_composited">
-<description>
-Determines whether @window is composited.
-
-See gdk_window_set_composited().
-
-Since: 2.22
-
-Deprecated: 3.16: Compositing is an outdated technology that
-only ever worked on X11.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the window is composited.
-
-</return>
-</function>
-
<function name="gdk_window_get_cursor">
<description>
Retrieves a #GdkCursor pointer for the cursor currently set on the
@@ -18833,51 +16848,6 @@ or %NULL if @window does not support Drag and Drop.
</return>
</function>
-<function name="gdk_window_get_effective_parent">
-<description>
-Obtains the parent of @window, as known to GDK. Works like
-gdk_window_get_parent() for normal windows, but returns the
-window’s embedder for offscreen windows.
-
-See also: gdk_offscreen_window_get_embedder()
-
-Since: 2.22
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> effective parent of @window
-
-</return>
-</function>
-
-<function name="gdk_window_get_effective_toplevel">
-<description>
-Gets the toplevel window that’s an ancestor of @window.
-
-Works like gdk_window_get_toplevel(), but treats an offscreen window's
-embedder as its parent, using gdk_window_get_effective_parent().
-
-See also: gdk_offscreen_window_get_embedder()
-
-Since: 2.22
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> the effective toplevel window containing @window
-
-</return>
-</function>
-
<function name="gdk_window_get_event_compression">
<description>
Get the current event compression setting for this window.
@@ -19136,11 +17106,6 @@ Xlib calls mixed with GDK calls on the X11 platform. It may also
matter for toplevel windows, because the window manager may choose
to reparent them.
-Note that you should use gdk_window_get_effective_parent() when
-writing generic code that walks up a window hierarchy, because
-gdk_window_get_parent() will most likely not do what you expect if
-there are offscreen windows in the hierarchy.
-
</description>
<parameters>
@@ -19172,43 +17137,6 @@ Since: 3.18
<return></return>
</function>
-<function name="gdk_window_get_pointer">
-<description>
-Obtains the current pointer position and modifier state.
-The position is given in coordinates relative to the upper left
-corner of @window.
-
-Deprecated: 3.0: Use gdk_window_get_device_position() instead.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> return location for X coordinate of pointer or %NULL to not
-return the X coordinate
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> return location for Y coordinate of pointer or %NULL to not
-return the Y coordinate
-</parameter_description>
-</parameter>
-<parameter name="mask">
-<parameter_description> return location for modifier mask or %NULL to not return the
-modifier mask
-</parameter_description>
-</parameter>
-</parameters>
-<return> the window containing the
-pointer (as with gdk_window_at_pointer()), or %NULL if the window
-containing the pointer isn’t known to GDK
-
-</return>
-</function>
-
<function name="gdk_window_get_position">
<description>
Obtains the position of the window as reported in the
@@ -19408,11 +17336,6 @@ Any window type but %GDK_WINDOW_CHILD is considered a
toplevel window, as is a %GDK_WINDOW_CHILD window that
has a root window as parent.
-Note that you should use gdk_window_get_effective_toplevel() when
-you want to get to a window’s toplevel as seen on screen, because
-gdk_window_get_toplevel() will most likely not do what you expect
-if there are offscreen windows in the hierarchy.
-
</description>
<parameters>
@@ -19504,24 +17427,6 @@ when you are done.
</return>
</function>
-<function name="gdk_window_get_visual">
-<description>
-Gets the #GdkVisual describing the pixel format of @window.
-
-Since: 2.24
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #GdkVisual
-
-</return>
-</function>
-
<function name="gdk_window_get_width">
<description>
Returns the width of the given @window.
@@ -20151,6 +18056,58 @@ fields in @attributes are valid
</return>
</function>
+<function name="gdk_window_new_child">
+<description>
+Creates a new client-side child window.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="parent">
+<parameter_description> the parent window
+</parameter_description>
+</parameter>
+<parameter name="event_mask">
+<parameter_description> event mask (see gdk_window_set_events())
+</parameter_description>
+</parameter>
+<parameter name="position">
+<parameter_description> placement of the window inside @parent
+</parameter_description>
+</parameter>
+</parameters>
+<return> the new #GdkWindow
+
+</return>
+</function>
+
+<function name="gdk_window_new_input">
+<description>
+Creates a new client-side input-only window.
+
+Since: 3.90
+
+</description>
+<parameters>
+<parameter name="parent">
+<parameter_description> the parent window
+</parameter_description>
+</parameter>
+<parameter name="event_mask">
+<parameter_description> event mask (see gdk_window_set_events())
+</parameter_description>
+</parameter>
+<parameter name="position">
+<parameter_description> placement of the window inside @parent
+</parameter_description>
+</parameter>
+</parameters>
+<return> the new #GdkWindow
+
+</return>
+</function>
+
<function name="gdk_window_peek_children">
<description>
Like gdk_window_get_children(), but does not copy the list of
@@ -20409,77 +18366,6 @@ Since: 2.4
<return></return>
</function>
-<function name="gdk_window_set_background">
-<description>
-Sets the background color of @window.
-
-However, when using GTK+, influence the background of a widget
-using a style class or CSS — if you’re an application — or with
-gtk_style_context_set_background() — if you're implementing a
-custom widget.
-
-See also gdk_window_set_background_pattern().
-
-Deprecated: 3.4: Use gdk_window_set_background_rgba() instead.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="color">
-<parameter_description> a #GdkColor
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_window_set_background_pattern">
-<description>
-Sets the background of @window.
-
-A background of %NULL means that the window will inherit its
-background from its parent window.
-
-The windowing system will normally fill a window with its background
-when the window is obscured then exposed.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="pattern">
-<parameter_description> a pattern to use, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_window_set_background_rgba">
-<description>
-Sets the background color of @window.
-
-See also gdk_window_set_background_pattern().
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="rgba">
-<parameter_description> a #GdkRGBA color
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_set_child_input_shapes">
<description>
Sets the input shape mask of @window to the union of input shape masks
@@ -20516,50 +18402,6 @@ the shape mask of @window in the masks to be merged.
<return></return>
</function>
-<function name="gdk_window_set_composited">
-<description>
-Sets a #GdkWindow as composited, or unsets it. Composited
-windows do not automatically have their contents drawn to
-the screen. Drawing is redirected to an offscreen buffer
-and an expose event is emitted on the parent of the composited
-window. It is the responsibility of the parent’s expose handler
-to manually merge the off-screen content onto the screen in
-whatever way it sees fit.
-
-It only makes sense for child windows to be composited; see
-gdk_window_set_opacity() if you need translucent toplevel
-windows.
-
-An additional effect of this call is that the area of this
-window is no longer clipped from regions marked for
-invalidation on its parent. Draws done on the parent
-window are also no longer clipped by the child.
-
-This call is only supported on some systems (currently,
-only X11 with new enough Xcomposite and Xdamage extensions).
-You must call gdk_display_supports_composite() to check if
-setting a window as composited is supported before
-attempting to do so.
-
-Since: 2.12
-
-Deprecated: 3.16: Compositing is an outdated technology that
-only ever worked on X11.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="composited">
-<parameter_description> %TRUE to set the window as composited
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_set_cursor">
<description>
Sets the default mouse pointer for a #GdkWindow.
@@ -20586,39 +18428,6 @@ should use this default.
<return></return>
</function>
-<function name="gdk_window_set_debug_updates">
-<description>
-With update debugging enabled, calls to
-gdk_window_invalidate_region() clear the invalidated region of the
-screen to a noticeable color, and GDK pauses for a short time
-before sending exposes to windows during
-gdk_window_process_updates(). The net effect is that you can see
-the invalid region for each window and watch redraws as they
-occur. This allows you to diagnose inefficiencies in your application.
-
-In essence, because the GDK rendering model prevents all flicker,
-if you are redrawing the same region 400 times you may never
-notice, aside from noticing a speed problem. Enabling update
-debugging causes GTK to flicker slowly and noticeably, so you can
-see exactly what’s being redrawn when, in what order.
-
-The --gtk-debug=updates command line option passed to GTK+ programs
-enables this debug option at application startup time. That's
-usually more useful than calling gdk_window_set_debug_updates()
-yourself, though you might want to use this function to enable
-updates sometime after application startup time.
-
-
-</description>
-<parameters>
-<parameter name="setting">
-<parameter_description> %TRUE to turn on update debugging
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_set_decorations">
<description>
“Decorations” are the features the window manager adds to a toplevel #GdkWindow.
@@ -20981,34 +18790,6 @@ Note that some platforms don't support window icons.
<return></return>
</function>
-<function name="gdk_window_set_invalidate_handler">
-<description>
-Registers an invalidate handler for a specific window. This
-will get called whenever a region in the window or its children
-is invalidated.
-
-This can be used to record the invalidated region, which is
-useful if you are keeping an offscreen copy of some region
-and want to keep it up to date. You can also modify the
-invalidated region in case you’re doing some effect where
-e.g. a child widget appears in multiple places.
-
-Since: 3.10
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="handler">
-<parameter_description> a #GdkWindowInvalidateHandlerFunc callback function
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_set_keep_above">
<description>
Set if @window must be kept above other windows. If the
@@ -21106,8 +18887,7 @@ for your widgets.
For child windows this function only works for non-native windows.
-For setting up per-pixel alpha topelevels, see gdk_screen_get_rgba_visual(),
-and for non-toplevels, see gdk_window_set_composited().
+For setting up per-pixel alpha topelevels, see gdk_screen_get_rgba_visual().
Support for non-toplevel windows was added in 3.8.
@@ -21393,32 +19173,6 @@ Since: 2.12
<return></return>
</function>
-<function name="gdk_window_set_static_gravities">
-<description>
-Used to set the bit gravity of the given window to static, and flag
-it so all children get static subwindow gravity. This is used if you
-are implementing scary features that involve deep knowledge of the
-windowing system. Don’t worry about it.
-
-Deprecated: 3.16: static gravities haven't worked on anything but X11
-for a long time.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="use_static">
-<parameter_description> %TRUE to turn on static gravity
-</parameter_description>
-</parameter>
-</parameters>
-<return> %FALSE
-
-</return>
-</function>
-
<function name="gdk_window_set_support_multidevice">
<description>
This function will enable multidevice features in @window.
@@ -21687,26 +19441,6 @@ there’s nothing you can do to force it to happen.
<return></return>
</function>
-<function name="gdk_window_thaw_toplevel_updates_libgtk_only">
-<description>
-Thaws a window frozen with
-gdk_window_freeze_toplevel_updates_libgtk_only().
-
-This function is not part of the GDK public API and is only
-for use by GTK+.
-
-Deprecated: 3.16: This symbol was never meant to be used outside of GTK+
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_thaw_updates">
<description>
Thaws a window frozen with gdk_window_freeze_updates().
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index 983bdf8..797a206 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -1053,7 +1053,9 @@
;; typedef enum {
;; GDK_GL_ERROR_NOT_AVAILABLE,
;; GDK_GL_ERROR_UNSUPPORTED_FORMAT,
-;; GDK_GL_ERROR_UNSUPPORTED_PROFILE
+;; GDK_GL_ERROR_UNSUPPORTED_PROFILE,
+;; GDK_GL_ERROR_COMPILATION_FAILED,
+;; GDK_GL_ERROR_LINK_FAILED
;; } GdkGLError;
(define-enum-extended GLError
@@ -1063,6 +1065,8 @@
'("not-available" "GDK_GL_ERROR_NOT_AVAILABLE" "0")
'("unsupported-format" "GDK_GL_ERROR_UNSUPPORTED_FORMAT" "1")
'("unsupported-profile" "GDK_GL_ERROR_UNSUPPORTED_PROFILE" "2")
+ '("compilation-failed" "GDK_GL_ERROR_COMPILATION_FAILED" "3")
+ '("link-failed" "GDK_GL_ERROR_LINK_FAILED" "4")
)
)
@@ -1222,7 +1226,6 @@
;; GDK_WINDOW_CHILD,
;; GDK_WINDOW_TEMP,
;; GDK_WINDOW_FOREIGN,
-;; GDK_WINDOW_OFFSCREEN,
;; GDK_WINDOW_SUBSURFACE
;; } GdkWindowType;
@@ -1235,8 +1238,7 @@
'("child" "GDK_WINDOW_CHILD" "2")
'("temp" "GDK_WINDOW_TEMP" "3")
'("foreign" "GDK_WINDOW_FOREIGN" "4")
- '("offscreen" "GDK_WINDOW_OFFSCREEN" "5")
- '("subsurface" "GDK_WINDOW_SUBSURFACE" "6")
+ '("subsurface" "GDK_WINDOW_SUBSURFACE" "5")
)
)
@@ -1246,11 +1248,8 @@
;; GDK_WA_TITLE = 1 << 1,
;; GDK_WA_X = 1 << 2,
;; GDK_WA_Y = 1 << 3,
-;; GDK_WA_CURSOR = 1 << 4,
-;; GDK_WA_VISUAL = 1 << 5,
-;; GDK_WA_WMCLASS = 1 << 6,
-;; GDK_WA_NOREDIR = 1 << 7,
-;; GDK_WA_TYPE_HINT = 1 << 8
+;; GDK_WA_NOREDIR = 1 << 4,
+;; GDK_WA_TYPE_HINT = 1 << 5
;; } GdkWindowAttributesType;
(define-flags-extended WindowAttributesType
@@ -1260,11 +1259,8 @@
'("title" "GDK_WA_TITLE" "1 << 1")
'("x" "GDK_WA_X" "1 << 2")
'("y" "GDK_WA_Y" "1 << 3")
- '("cursor" "GDK_WA_CURSOR" "1 << 4")
- '("visual" "GDK_WA_VISUAL" "1 << 5")
- '("wmclass" "GDK_WA_WMCLASS" "1 << 6")
- '("noredir" "GDK_WA_NOREDIR" "1 << 7")
- '("type-hint" "GDK_WA_TYPE_HINT" "1 << 8")
+ '("noredir" "GDK_WA_NOREDIR" "1 << 4")
+ '("type-hint" "GDK_WA_TYPE_HINT" "1 << 5")
)
)
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 0d566c3..5005560 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -510,6 +510,8 @@
'("not-available" "GDK_GL_ERROR_NOT_AVAILABLE")
'("unsupported-format" "GDK_GL_ERROR_UNSUPPORTED_FORMAT")
'("unsupported-profile" "GDK_GL_ERROR_UNSUPPORTED_PROFILE")
+ '("compilation-failed" "GDK_GL_ERROR_COMPILATION_FAILED")
+ '("link-failed" "GDK_GL_ERROR_LINK_FAILED")
)
)
@@ -605,7 +607,6 @@
'("child" "GDK_WINDOW_CHILD")
'("temp" "GDK_WINDOW_TEMP")
'("foreign" "GDK_WINDOW_FOREIGN")
- '("offscreen" "GDK_WINDOW_OFFSCREEN")
'("subsurface" "GDK_WINDOW_SUBSURFACE")
)
)
@@ -618,9 +619,6 @@
'("title" "GDK_WA_TITLE")
'("x" "GDK_WA_X")
'("y" "GDK_WA_Y")
- '("cursor" "GDK_WA_CURSOR")
- '("visual" "GDK_WA_VISUAL")
- '("wmclass" "GDK_WA_WMCLASS")
'("noredir" "GDK_WA_NOREDIR")
'("type-hint" "GDK_WA_TYPE_HINT")
)
@@ -736,21 +734,6 @@
;; From gdkapplaunchcontext.h
-(define-function gdk_app_launch_context_new
- (c-name "gdk_app_launch_context_new")
- (is-constructor-of "GdkAppLaunchContext")
- (return-type "GdkAppLaunchContext*")
-)
-
-(define-method set_display
- (of-object "GdkAppLaunchContext")
- (c-name "gdk_app_launch_context_set_display")
- (return-type "none")
- (parameters
- '("GdkDisplay*" "display")
- )
-)
-
(define-method set_screen
(of-object "GdkAppLaunchContext")
(c-name "gdk_app_launch_context_set_screen")
@@ -804,14 +787,6 @@
;; From gdkcairo.h
-(define-function gdk_cairo_create
- (c-name "gdk_cairo_create")
- (return-type "cairo_t*")
- (parameters
- '("GdkWindow*" "window")
- )
-)
-
(define-function gdk_cairo_get_clip_rectangle
(c-name "gdk_cairo_get_clip_rectangle")
(return-type "gboolean")
@@ -878,15 +853,6 @@
)
)
-(define-function gdk_cairo_set_source_color
- (c-name "gdk_cairo_set_source_color")
- (return-type "none")
- (parameters
- '("cairo_t*" "cr")
- '("const-GdkColor*" "color")
- )
-)
-
(define-function gdk_cairo_surface_create_from_pixbuf
(c-name "gdk_cairo_surface_create_from_pixbuf")
(return-type "cairo_surface_t*")
@@ -921,6 +887,18 @@
)
)
+(define-function gdk_cairo_surface_upload_to_gl
+ (c-name "gdk_cairo_surface_upload_to_gl")
+ (return-type "none")
+ (parameters
+ '("cairo_surface_t*" "surface")
+ '("int" "target")
+ '("int" "width")
+ '("int" "height")
+ '("GdkGLContext*" "context")
+ )
+)
+
;; From gdkconfig.h
@@ -943,15 +921,6 @@
)
)
-(define-function gdk_cursor_new
- (c-name "gdk_cursor_new")
- (is-constructor-of "GdkCursor")
- (return-type "GdkCursor*")
- (parameters
- '("GdkCursorType" "cursor_type")
- )
-)
-
(define-function gdk_cursor_new_from_pixbuf
(c-name "gdk_cursor_new_from_pixbuf")
(return-type "GdkCursor*")
@@ -989,18 +958,6 @@
(return-type "GdkDisplay*")
)
-(define-method ref
- (of-object "GdkCursor")
- (c-name "gdk_cursor_ref")
- (return-type "GdkCursor*")
-)
-
-(define-method unref
- (of-object "GdkCursor")
- (c-name "gdk_cursor_unref")
- (return-type "none")
-)
-
(define-method get_image
(of-object "GdkCursor")
(c-name "gdk_cursor_get_image")
@@ -1279,17 +1236,6 @@
)
)
-(define-function gdk_device_grab_info_libgtk_only
- (c-name "gdk_device_grab_info_libgtk_only")
- (return-type "gboolean")
- (parameters
- '("GdkDisplay*" "display")
- '("GdkDevice*" "device")
- '("GdkWindow**" "grab_window")
- '("gboolean*" "owner_events")
- )
-)
-
(define-method get_last_event_window
(of-object "GdkDevice")
(c-name "gdk_device_get_last_event_window")
@@ -1344,12 +1290,6 @@
)
)
-(define-method get_client_pointer
- (of-object "GdkDeviceManager")
- (c-name "gdk_device_manager_get_client_pointer")
- (return-type "GdkDevice*")
-)
-
;; From gdkdevicepad.h
@@ -1443,51 +1383,12 @@
(return-type "const-gchar*")
)
-(define-method get_n_screens
- (of-object "GdkDisplay")
- (c-name "gdk_display_get_n_screens")
- (return-type "gint")
-)
-
-(define-method get_screen
- (of-object "GdkDisplay")
- (c-name "gdk_display_get_screen")
- (return-type "GdkScreen*")
- (parameters
- '("gint" "screen_num")
- )
-)
-
(define-method get_default_screen
(of-object "GdkDisplay")
(c-name "gdk_display_get_default_screen")
(return-type "GdkScreen*")
)
-(define-method pointer_ungrab
- (of-object "GdkDisplay")
- (c-name "gdk_display_pointer_ungrab")
- (return-type "none")
- (parameters
- '("guint32" "time_")
- )
-)
-
-(define-method keyboard_ungrab
- (of-object "GdkDisplay")
- (c-name "gdk_display_keyboard_ungrab")
- (return-type "none")
- (parameters
- '("guint32" "time_")
- )
-)
-
-(define-method pointer_is_grabbed
- (of-object "GdkDisplay")
- (c-name "gdk_display_pointer_is_grabbed")
- (return-type "gboolean")
-)
-
(define-method device_is_grabbed
(of-object "GdkDisplay")
(c-name "gdk_display_device_is_grabbed")
@@ -1527,12 +1428,6 @@
(return-type "gboolean")
)
-(define-method list_devices
- (of-object "GdkDisplay")
- (c-name "gdk_display_list_devices")
- (return-type "GList*")
-)
-
(define-method get_event
(of-object "GdkDisplay")
(c-name "gdk_display_get_event")
@@ -1583,44 +1478,6 @@
(return-type "GdkDisplay*")
)
-(define-method get_pointer
- (of-object "GdkDisplay")
- (c-name "gdk_display_get_pointer")
- (return-type "none")
- (parameters
- '("GdkScreen**" "screen")
- '("gint*" "x")
- '("gint*" "y")
- '("GdkModifierType*" "mask")
- )
-)
-
-(define-method get_window_at_pointer
- (of-object "GdkDisplay")
- (c-name "gdk_display_get_window_at_pointer")
- (return-type "GdkWindow*")
- (parameters
- '("gint*" "win_x")
- '("gint*" "win_y")
- )
-)
-
-(define-method warp_pointer
- (of-object "GdkDisplay")
- (c-name "gdk_display_warp_pointer")
- (return-type "none")
- (parameters
- '("GdkScreen*" "screen")
- '("gint" "x")
- '("gint" "y")
- )
-)
-
-(define-function gdk_display_open_default_libgtk_only
- (c-name "gdk_display_open_default_libgtk_only")
- (return-type "GdkDisplay*")
-)
-
(define-method supports_cursor_alpha
(of-object "GdkDisplay")
(c-name "gdk_display_supports_cursor_alpha")
@@ -1700,12 +1557,6 @@
(return-type "gboolean")
)
-(define-method supports_composite
- (of-object "GdkDisplay")
- (c-name "gdk_display_supports_composite")
- (return-type "gboolean")
-)
-
(define-method notify_startup_complete
(of-object "GdkDisplay")
(c-name "gdk_display_notify_startup_complete")
@@ -2893,7 +2744,7 @@
(c-name "gdk_gl_context_set_use_es")
(return-type "none")
(parameters
- '("gboolean" "use_es")
+ '("int" "use_es")
)
)
@@ -3181,19 +3032,6 @@
)
)
-(define-function gdk_add_option_entries_libgtk_only
- (c-name "gdk_add_option_entries_libgtk_only")
- (return-type "none")
- (parameters
- '("GOptionGroup*" "group")
- )
-)
-
-(define-function gdk_pre_parse_libgtk_only
- (c-name "gdk_pre_parse_libgtk_only")
- (return-type "none")
-)
-
(define-function gdk_get_program_class
(c-name "gdk_get_program_class")
(return-type "const-gchar*")
@@ -3240,75 +3078,6 @@
(return-type "const-gchar*")
)
-(define-function gdk_get_display
- (c-name "gdk_get_display")
- (return-type "gchar*")
-)
-
-(define-function gdk_pointer_grab
- (c-name "gdk_pointer_grab")
- (return-type "GdkGrabStatus")
- (parameters
- '("GdkWindow*" "window")
- '("gboolean" "owner_events")
- '("GdkEventMask" "event_mask")
- '("GdkWindow*" "confine_to")
- '("GdkCursor*" "cursor")
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_keyboard_grab
- (c-name "gdk_keyboard_grab")
- (return-type "GdkGrabStatus")
- (parameters
- '("GdkWindow*" "window")
- '("gboolean" "owner_events")
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_pointer_ungrab
- (c-name "gdk_pointer_ungrab")
- (return-type "none")
- (parameters
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_keyboard_ungrab
- (c-name "gdk_keyboard_ungrab")
- (return-type "none")
- (parameters
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_pointer_is_grabbed
- (c-name "gdk_pointer_is_grabbed")
- (return-type "gboolean")
-)
-
-(define-function gdk_screen_width
- (c-name "gdk_screen_width")
- (return-type "gint")
-)
-
-(define-function gdk_screen_height
- (c-name "gdk_screen_height")
- (return-type "gint")
-)
-
-(define-function gdk_screen_width_mm
- (c-name "gdk_screen_width_mm")
- (return-type "gint")
-)
-
-(define-function gdk_screen_height_mm
- (c-name "gdk_screen_height_mm")
- (return-type "gint")
-)
-
(define-function gdk_set_double_click_time
(c-name "gdk_set_double_click_time")
(return-type "none")
@@ -3724,36 +3493,6 @@
(return-type "GdkDisplay*")
)
-(define-method get_number
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_number")
- (return-type "gint")
-)
-
-(define-method get_width
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_width")
- (return-type "gint")
-)
-
-(define-method get_height
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_height")
- (return-type "gint")
-)
-
-(define-method get_width_mm
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_width_mm")
- (return-type "gint")
-)
-
-(define-method get_height_mm
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_height_mm")
- (return-type "gint")
-)
-
(define-method list_visuals
(of-object "GdkScreen")
(c-name "gdk_screen_list_visuals")
@@ -3766,99 +3505,6 @@
(return-type "GList*")
)
-(define-method make_display_name
- (of-object "GdkScreen")
- (c-name "gdk_screen_make_display_name")
- (return-type "gchar*")
-)
-
-(define-method get_n_monitors
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_n_monitors")
- (return-type "gint")
-)
-
-(define-method get_primary_monitor
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_primary_monitor")
- (return-type "gint")
-)
-
-(define-method get_monitor_geometry
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_geometry")
- (return-type "none")
- (parameters
- '("gint" "monitor_num")
- '("GdkRectangle*" "dest")
- )
-)
-
-(define-method get_monitor_workarea
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_workarea")
- (return-type "none")
- (parameters
- '("gint" "monitor_num")
- '("GdkRectangle*" "dest")
- )
-)
-
-(define-method get_monitor_at_point
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_at_point")
- (return-type "gint")
- (parameters
- '("gint" "x")
- '("gint" "y")
- )
-)
-
-(define-method get_monitor_at_window
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_at_window")
- (return-type "gint")
- (parameters
- '("GdkWindow*" "window")
- )
-)
-
-(define-method get_monitor_width_mm
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_width_mm")
- (return-type "gint")
- (parameters
- '("gint" "monitor_num")
- )
-)
-
-(define-method get_monitor_height_mm
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_height_mm")
- (return-type "gint")
- (parameters
- '("gint" "monitor_num")
- )
-)
-
-(define-method get_monitor_plug_name
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_plug_name")
- (return-type "gchar*")
- (parameters
- '("gint" "monitor_num")
- )
-)
-
-(define-method get_monitor_scale_factor
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_monitor_scale_factor")
- (return-type "gint")
- (parameters
- '("gint" "monitor_num")
- )
-)
-
(define-function gdk_screen_get_default
(c-name "gdk_screen_get_default")
(return-type "GdkScreen*")
@@ -3874,21 +3520,6 @@
)
)
-(define-method set_font_options
- (of-object "GdkScreen")
- (c-name "gdk_screen_set_font_options")
- (return-type "none")
- (parameters
- '("const-cairo_font_options_t*" "options")
- )
-)
-
-(define-method get_font_options
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_font_options")
- (return-type "const-cairo_font_options_t*")
-)
-
(define-method set_resolution
(of-object "GdkScreen")
(c-name "gdk_screen_set_resolution")
@@ -3904,18 +3535,6 @@
(return-type "gdouble")
)
-(define-method get_active_window
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_active_window")
- (return-type "GdkWindow*")
-)
-
-(define-method get_window_stack
- (of-object "GdkScreen")
- (c-name "gdk_screen_get_window_stack")
- (return-type "GList*")
-)
-
;; From gdkseat.h
@@ -4127,15 +3746,6 @@
(return-type "none")
)
-(define-function gdk_threads_set_lock_functions
- (c-name "gdk_threads_set_lock_functions")
- (return-type "none")
- (parameters
- '("GCallback" "enter_fn")
- '("GCallback" "leave_fn")
- )
-)
-
(define-function gdk_threads_add_idle_full
(c-name "gdk_threads_add_idle_full")
(return-type "guint")
@@ -4217,74 +3827,6 @@
(return-type "GType")
)
-(define-function gdk_visual_get_best_depth
- (c-name "gdk_visual_get_best_depth")
- (return-type "gint")
-)
-
-(define-function gdk_visual_get_best_type
- (c-name "gdk_visual_get_best_type")
- (return-type "GdkVisualType")
-)
-
-(define-function gdk_visual_get_system
- (c-name "gdk_visual_get_system")
- (return-type "GdkVisual*")
-)
-
-(define-function gdk_visual_get_best
- (c-name "gdk_visual_get_best")
- (return-type "GdkVisual*")
-)
-
-(define-function gdk_visual_get_best_with_depth
- (c-name "gdk_visual_get_best_with_depth")
- (return-type "GdkVisual*")
- (parameters
- '("gint" "depth")
- )
-)
-
-(define-function gdk_visual_get_best_with_type
- (c-name "gdk_visual_get_best_with_type")
- (return-type "GdkVisual*")
- (parameters
- '("GdkVisualType" "visual_type")
- )
-)
-
-(define-function gdk_visual_get_best_with_both
- (c-name "gdk_visual_get_best_with_both")
- (return-type "GdkVisual*")
- (parameters
- '("gint" "depth")
- '("GdkVisualType" "visual_type")
- )
-)
-
-(define-function gdk_query_depths
- (c-name "gdk_query_depths")
- (return-type "none")
- (parameters
- '("gint**" "depths")
- '("gint*" "count")
- )
-)
-
-(define-function gdk_query_visual_types
- (c-name "gdk_query_visual_types")
- (return-type "none")
- (parameters
- '("GdkVisualType**" "visual_types")
- '("gint*" "count")
- )
-)
-
-(define-function gdk_list_visuals
- (c-name "gdk_list_visuals")
- (return-type "GList*")
-)
-
(define-method get_screen
(of-object "GdkVisual")
(c-name "gdk_visual_get_screen")
@@ -4303,24 +3845,6 @@
(return-type "gint")
)
-(define-method get_byte_order
- (of-object "GdkVisual")
- (c-name "gdk_visual_get_byte_order")
- (return-type "GdkByteOrder")
-)
-
-(define-method get_colormap_size
- (of-object "GdkVisual")
- (c-name "gdk_visual_get_colormap_size")
- (return-type "gint")
-)
-
-(define-method get_bits_per_rgb
- (of-object "GdkVisual")
- (c-name "gdk_visual_get_bits_per_rgb")
- (return-type "gint")
-)
-
(define-method get_red_pixel_details
(of-object "GdkVisual")
(c-name "gdk_visual_get_red_pixel_details")
@@ -4373,6 +3897,26 @@
)
)
+(define-method new_child
+ (of-object "GdkWindow")
+ (c-name "gdk_window_new_child")
+ (return-type "GdkWindow*")
+ (parameters
+ '("gint" "event_mask")
+ '("const-GdkRectangle*" "position")
+ )
+)
+
+(define-method new_input
+ (of-object "GdkWindow")
+ (c-name "gdk_window_new_input")
+ (return-type "GdkWindow*")
+ (parameters
+ '("gint" "event_mask")
+ '("const-GdkRectangle*" "position")
+ )
+)
+
(define-method destroy
(of-object "GdkWindow")
(c-name "gdk_window_destroy")
@@ -4391,12 +3935,6 @@
(return-type "gboolean")
)
-(define-method get_visual
- (of-object "GdkWindow")
- (c-name "gdk_window_get_visual")
- (return-type "GdkVisual*")
-)
-
(define-method get_screen
(of-object "GdkWindow")
(c-name "gdk_window_get_screen")
@@ -4409,15 +3947,6 @@
(return-type "GdkDisplay*")
)
-(define-function gdk_window_at_pointer
- (c-name "gdk_window_at_pointer")
- (return-type "GdkWindow*")
- (parameters
- '("gint*" "win_x")
- '("gint*" "win_y")
- )
-)
-
(define-method show
(of-object "GdkWindow")
(c-name "gdk_window_show")
@@ -4628,21 +4157,6 @@
(return-type "none")
)
-(define-method get_composited
- (of-object "GdkWindow")
- (c-name "gdk_window_get_composited")
- (return-type "gboolean")
-)
-
-(define-method set_composited
- (of-object "GdkWindow")
- (c-name "gdk_window_set_composited")
- (return-type "none")
- (parameters
- '("gboolean" "composited")
- )
-)
-
(define-method merge_child_shapes
(of-object "GdkWindow")
(c-name "gdk_window_merge_child_shapes")
@@ -4717,24 +4231,6 @@
(return-type "GdkWindowState")
)
-(define-method set_static_gravities
- (of-object "GdkWindow")
- (c-name "gdk_window_set_static_gravities")
- (return-type "gboolean")
- (parameters
- '("gboolean" "use_static")
- )
-)
-
-(define-method set_invalidate_handler
- (of-object "GdkWindow")
- (c-name "gdk_window_set_invalidate_handler")
- (return-type "none")
- (parameters
- '("GdkWindowInvalidateHandlerFunc" "handler")
- )
-)
-
(define-method has_native
(of-object "GdkWindow")
(c-name "gdk_window_has_native")
@@ -4820,15 +4316,6 @@
(return-type "cairo_region_t*")
)
-(define-method begin_paint_rect
- (of-object "GdkWindow")
- (c-name "gdk_window_begin_paint_rect")
- (return-type "none")
- (parameters
- '("const-GdkRectangle*" "rectangle")
- )
-)
-
(define-method mark_paint_from_clip
(of-object "GdkWindow")
(c-name "gdk_window_mark_paint_from_clip")
@@ -4838,21 +4325,6 @@
)
)
-(define-method begin_paint_region
- (of-object "GdkWindow")
- (c-name "gdk_window_begin_paint_region")
- (return-type "none")
- (parameters
- '("const-cairo_region_t*" "region")
- )
-)
-
-(define-method end_paint
- (of-object "GdkWindow")
- (c-name "gdk_window_end_paint")
- (return-type "none")
-)
-
(define-method begin_draw_frame
(of-object "GdkWindow")
(c-name "gdk_window_begin_draw_frame")
@@ -4871,12 +4343,6 @@
)
)
-(define-method flush
- (of-object "GdkWindow")
- (c-name "gdk_window_flush")
- (return-type "none")
-)
-
(define-method set_title
(of-object "GdkWindow")
(c-name "gdk_window_set_title")
@@ -4913,39 +4379,6 @@
)
)
-(define-method set_background
- (of-object "GdkWindow")
- (c-name "gdk_window_set_background")
- (return-type "none")
- (parameters
- '("const-GdkColor*" "color")
- )
-)
-
-(define-method set_background_rgba
- (of-object "GdkWindow")
- (c-name "gdk_window_set_background_rgba")
- (return-type "none")
- (parameters
- '("const-GdkRGBA*" "rgba")
- )
-)
-
-(define-method set_background_pattern
- (of-object "GdkWindow")
- (c-name "gdk_window_set_background_pattern")
- (return-type "none")
- (parameters
- '("cairo_pattern_t*" "pattern")
- )
-)
-
-(define-method get_background_pattern
- (of-object "GdkWindow")
- (c-name "gdk_window_get_background_pattern")
- (return-type "cairo_pattern_t*")
-)
-
(define-method set_cursor
(of-object "GdkWindow")
(c-name "gdk_window_set_cursor")
@@ -5094,17 +4527,6 @@
(return-type "gint")
)
-(define-method get_pointer
- (of-object "GdkWindow")
- (c-name "gdk_window_get_pointer")
- (return-type "GdkWindow*")
- (parameters
- '("gint*" "x")
- '("gint*" "y")
- '("GdkModifierType*" "mask")
- )
-)
-
(define-method get_device_position
(of-object "GdkWindow")
(c-name "gdk_window_get_device_position")
@@ -5141,18 +4563,6 @@
(return-type "GdkWindow*")
)
-(define-method get_effective_parent
- (of-object "GdkWindow")
- (c-name "gdk_window_get_effective_parent")
- (return-type "GdkWindow*")
-)
-
-(define-method get_effective_toplevel
- (of-object "GdkWindow")
- (c-name "gdk_window_get_effective_toplevel")
- (return-type "GdkWindow*")
-)
-
(define-method get_children
(of-object "GdkWindow")
(c-name "gdk_window_get_children")
@@ -5531,18 +4941,6 @@
(return-type "none")
)
-(define-method freeze_toplevel_updates_libgtk_only
- (of-object "GdkWindow")
- (c-name "gdk_window_freeze_toplevel_updates_libgtk_only")
- (return-type "none")
-)
-
-(define-method thaw_toplevel_updates_libgtk_only
- (of-object "GdkWindow")
- (c-name "gdk_window_thaw_toplevel_updates_libgtk_only")
- (return-type "none")
-)
-
(define-function gdk_window_process_all_updates
(c-name "gdk_window_process_all_updates")
(return-type "none")
@@ -5557,14 +4955,6 @@
)
)
-(define-function gdk_window_set_debug_updates
- (c-name "gdk_window_set_debug_updates")
- (return-type "none")
- (parameters
- '("gboolean" "setting")
- )
-)
-
(define-function gdk_window_constrain_size
(c-name "gdk_window_constrain_size")
(return-type "none")
@@ -5578,54 +4968,11 @@
)
)
-(define-method enable_synchronized_configure
- (of-object "GdkWindow")
- (c-name "gdk_window_enable_synchronized_configure")
- (return-type "none")
-)
-
-(define-method configure_finished
- (of-object "GdkWindow")
- (c-name "gdk_window_configure_finished")
- (return-type "none")
-)
-
(define-function gdk_get_default_root_window
(c-name "gdk_get_default_root_window")
(return-type "GdkWindow*")
)
-(define-function gdk_offscreen_window_get_surface
- (c-name "gdk_offscreen_window_get_surface")
- (return-type "cairo_surface_t*")
- (parameters
- '("GdkWindow*" "window")
- )
-)
-
-(define-function gdk_offscreen_window_set_embedder
- (c-name "gdk_offscreen_window_set_embedder")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- '("GdkWindow*" "embedder")
- )
-)
-
-(define-function gdk_offscreen_window_get_embedder
- (c-name "gdk_offscreen_window_get_embedder")
- (return-type "GdkWindow*")
- (parameters
- '("GdkWindow*" "window")
- )
-)
-
-(define-method geometry_changed
- (of-object "GdkWindow")
- (c-name "gdk_window_geometry_changed")
- (return-type "none")
-)
-
(define-method set_support_multidevice
(of-object "GdkWindow")
(c-name "gdk_window_set_support_multidevice")
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index c67ce7a..d1b7c48 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -550,12 +550,6 @@
;; From GdkScreen
-(define-signal size-changed
- (of-object "GdkScreen")
- (return-type "void")
- (when "last")
-)
-
(define-signal composited-changed
(of-object "GdkScreen")
(return-type "void")
@@ -568,15 +562,6 @@
(when "last")
)
-(define-property font-options
- (of-object "GdkScreen")
- (prop-type "GParamPointer")
- (docs "The default font options for the screen")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property resolution
(of-object "GdkScreen")
(prop-type "GParamDouble")
@@ -637,50 +622,6 @@
;; From GdkWindow
-(define-signal pick-embedded-child
- (of-object "GdkWindow")
- (return-type "GdkWindow*")
- (when "last")
- (parameters
- '("gdouble" "p0")
- '("gdouble" "p1")
- )
-)
-
-(define-signal to-embedder
- (of-object "GdkWindow")
- (return-type "void")
- (when "last")
- (parameters
- '("gdouble" "p0")
- '("gdouble" "p1")
- '("gpointer" "p2")
- '("gpointer" "p3")
- )
-)
-
-(define-signal from-embedder
- (of-object "GdkWindow")
- (return-type "void")
- (when "last")
- (parameters
- '("gdouble" "p0")
- '("gdouble" "p1")
- '("gpointer" "p2")
- '("gpointer" "p3")
- )
-)
-
-(define-signal create-surface
- (of-object "GdkWindow")
- (return-type "CairoSurface*")
- (when "last")
- (parameters
- '("gint" "p0")
- '("gint" "p1")
- )
-)
-
(define-signal moved-to-rect
(of-object "GdkWindow")
(return-type "void")
@@ -702,6 +643,15 @@
(construct-only #f)
)
+(define-property display
+ (of-object "GdkWindow")
+ (prop-type "GParamObject")
+ (docs "Display")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
;; From GdkGLContext
(define-property display
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]