[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- Date: Sun, 17 Dec 2017 15:57:00 +0000 (UTC)
commit 854795d35d8dfeec4435c94961c71e9882646ed0
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Dec 17 16:50:29 2017 +0100
Gdk, Gtk: Regenerate docs.xml and .defs files
and update gdk_docs_override.xml, gdk_extra.defs,
gtk_docs_override.xml and gtk_signals.defs.patch.
gdk/src/gdk_docs.xml | 1208 +++++++---------------------------------
gdk/src/gdk_docs_override.xml | 20 +
gdk/src/gdk_enums.defs | 194 +++----
gdk/src/gdk_extra.defs | 1 -
gdk/src/gdk_methods.defs | 459 +++-------------
gdk/src/gdk_signals.defs | 37 ++
gtk/src/gtk_docs.xml | 670 ++++++++---------------
gtk/src/gtk_docs_override.xml | 105 ++--
gtk/src/gtk_methods.defs | 105 +---
gtk/src/gtk_signals.defs | 128 ++---
gtk/src/gtk_signals.defs.patch | 71 +--
11 files changed, 736 insertions(+), 2262 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 7125b23..b73e7e6 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -782,10 +782,6 @@ Since: 3.20
<description>
A new action is being chosen for the drag and drop operation.
-This signal will only be emitted if the #GdkDragContext manages
-the drag and drop operation. See gdk_drag_context_manage_dnd()
-for more information.
-
Since: 3.20
</description>
@@ -806,10 +802,6 @@ Since: 3.20
<description>
The drag and drop operation was cancelled.
-This signal will only be emitted if the #GdkDragContext manages
-the drag and drop operation. See gdk_drag_context_manage_dnd()
-for more information.
-
Since: 3.20
</description>
@@ -832,10 +824,6 @@ The drag and drop operation was finished, the drag destination
finished reading all data. The drag source can now free all
miscellaneous data.
-This signal will only be emitted if the #GdkDragContext manages
-the drag and drop operation. See gdk_drag_context_manage_dnd()
-for more information.
-
Since: 3.20
</description>
@@ -852,10 +840,6 @@ Since: 3.20
<description>
The drag and drop operation was performed on an accepting client.
-This signal will only be emitted if the #GdkDragContext manages
-the drag and drop operation. See gdk_drag_context_manage_dnd()
-for more information.
-
Since: 3.20
</description>
@@ -872,6 +856,34 @@ Since: 3.20
<return></return>
</signal>
+<property name="GdkDragContext:content">
+<description>
+The #GdkContentProvider or %NULL if the context is not a source-side
+context.
+
+Since: 3.94
+
+</description>
+</property>
+
+<property name="GdkDragContext:display">
+<description>
+The #GdkDisplay that the drag context belongs to.
+
+Since: 3.94
+
+</description>
+</property>
+
+<property name="GdkDragContext:formats">
+<description>
+The possible formats that the context can provide its data in.
+
+Since: 3.94
+
+</description>
+</property>
+
<property name="GdkDrawContext:display">
<description>
The #GdkDisplay used to create the #GdkDrawContext.
@@ -1111,22 +1123,6 @@ Note that GTK+ discards these events for %GDK_WINDOW_CHILD windows.
<parameter_description> the window has been unmapped.
</parameter_description>
</parameter>
-<parameter name="GDK_PROPERTY_NOTIFY">
-<parameter_description> a property on the window has been changed or deleted.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SELECTION_CLEAR">
-<parameter_description> the application has lost ownership of a selection.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SELECTION_REQUEST">
-<parameter_description> another application has requested a selection.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SELECTION_NOTIFY">
-<parameter_description> a selection has been received.
-</parameter_description>
-</parameter>
<parameter name="GDK_PROXIMITY_IN">
<parameter_description> an input device has moved into contact with a sensing
surface (e.g. a touchscreen or graphics tablet).
@@ -1150,42 +1146,19 @@ surface.
progress.
</parameter_description>
</parameter>
-<parameter name="GDK_DRAG_STATUS">
-<parameter_description> the status of the drag operation initiated by the window
-has changed.
-</parameter_description>
-</parameter>
<parameter name="GDK_DROP_START">
<parameter_description> a drop operation onto the window has started.
</parameter_description>
</parameter>
-<parameter name="GDK_DROP_FINISHED">
-<parameter_description> the drop operation initiated by the window has completed.
-</parameter_description>
-</parameter>
-<parameter name="GDK_CLIENT_EVENT">
-<parameter_description> a message has been received from another application.
-</parameter_description>
-</parameter>
<parameter name="GDK_SCROLL">
<parameter_description> the scroll wheel was turned
</parameter_description>
</parameter>
-<parameter name="GDK_WINDOW_STATE">
-<parameter_description> the state of a window has changed. See #GdkWindowState
-for the possible window states
-</parameter_description>
-</parameter>
<parameter name="GDK_GRAB_BROKEN">
<parameter_description> a pointer or keyboard grab was broken. This event type
was added in 2.8.
</parameter_description>
</parameter>
-<parameter name="GDK_DAMAGE">
-<parameter_description> the content of the window has been changed. This event type
-was added in 2.14.
-</parameter_description>
-</parameter>
<parameter name="GDK_TOUCH_BEGIN">
<parameter_description> A new touch event sequence has just started. This event
type was added in 3.4.
@@ -2405,45 +2378,6 @@ which must be repeated.
</parameters>
</enum>
-<enum name="GdkPropMode">
-<description>
-Describes how existing data is combined with new data when
-using gdk_property_change().
-
-</description>
-<parameters>
-<parameter name="GDK_PROP_MODE_REPLACE">
-<parameter_description> the new data replaces the existing data.
-</parameter_description>
-</parameter>
-<parameter name="GDK_PROP_MODE_PREPEND">
-<parameter_description> the new data is prepended to the existing data.
-</parameter_description>
-</parameter>
-<parameter name="GDK_PROP_MODE_APPEND">
-<parameter_description> the new data is appended to the existing data.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
-<enum name="GdkPropertyState">
-<description>
-Specifies the type of a property change for a #GdkEventProperty.
-
-</description>
-<parameters>
-<parameter name="GDK_PROPERTY_NEW_VALUE">
-<parameter_description> the property value was changed.
-</parameter_description>
-</parameter>
-<parameter name="GDK_PROPERTY_DELETE">
-<parameter_description> the property was deleted.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<enum name="GdkScrollDirection">
<description>
Specifies the direction for #GdkEventScroll.
@@ -2599,6 +2533,10 @@ Since: 3.20
<parameter_description> The seat has keyboard(s) attached
</parameter_description>
</parameter>
+<parameter name="GDK_SEAT_CAPABILITY_TABLET_PAD">
+<parameter_description> The seat has drawing tablet pad(s) attached
+</parameter_description>
+</parameter>
<parameter name="GDK_SEAT_CAPABILITY_ALL_POINTING">
<parameter_description> The union of all pointing capabilities
</parameter_description>
@@ -3277,74 +3215,6 @@ Since: 2.14
<return></return>
</function>
-<function name="gdk_atom_intern">
-<description>
-Finds or creates an atom corresponding to a given string.
-
-
-</description>
-<parameters>
-<parameter name="atom_name">
-<parameter_description> a string.
-</parameter_description>
-</parameter>
-<parameter name="only_if_exists">
-<parameter_description> if %TRUE, GDK is allowed to not create a new atom, but
-just return %NULL if the requested atom doesn’t already
-exists. Currently, the flag is ignored, since checking the
-existance of an atom is as expensive as creating it.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the atom corresponding to @atom_name.
-</return>
-</function>
-
-<function name="gdk_atom_intern_static_string">
-<description>
-Finds or creates an atom corresponding to a given string.
-
-Note that this function is identical to gdk_atom_intern() except
-that if a new #GdkAtom is created the string itself is used rather
-than a copy. This saves memory, but can only be used if the string
-will always exist. It can be used with statically
-allocated strings in the main program, but not with statically
-allocated memory in dynamically loaded modules, if you expect to
-ever unload the module again (e.g. do not use this function in
-GTK+ theme engines).
-
-Since: 2.10
-
-</description>
-<parameters>
-<parameter name="atom_name">
-<parameter_description> a static string
-</parameter_description>
-</parameter>
-</parameters>
-<return> the atom corresponding to @atom_name
-
-</return>
-</function>
-
-<function name="gdk_atom_name">
-<description>
-Determines the string corresponding to an atom.
-
-
-</description>
-<parameters>
-<parameter name="atom">
-<parameter_description> a #GdkAtom.
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly-allocated string containing the string
-corresponding to @atom. When you are done with the
-return value, you should free it using g_free().
-</return>
-</function>
-
<function name="gdk_cairo_draw_from_gl">
<description>
This is the main way to draw GL content in GTK+. It takes a render buffer ID
@@ -3674,7 +3544,7 @@ Gets the formats that the clipboard can provide its current contents in.
<function name="gdk_clipboard_is_local">
<description>
-Returns if the clipboard is local. A clipboard is consideredlocal if it was
+Returns if the clipboard is local. A clipboard is considered local if it was
last claimed by the running application.
Note that gdk_clipboard_get_content() may return %NULL even on a local
@@ -3947,6 +3817,29 @@ ignore.
</return>
</function>
+<function name="gdk_clipboard_set">
+<description>
+Sets the clipboard to contain the value collected from the given
+varargs.
+
+</description>
+<parameters>
+<parameter name="clipboard">
+<parameter_description> a #GdkClipboard
+</parameter_description>
+</parameter>
+<parameter name="type">
+<parameter_description> type of value to set
+</parameter_description>
+</parameter>
+<parameter name="Varargs">
+<parameter_description> value contents conforming to @type
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gdk_clipboard_set_content">
<description>
Sets a new content provider on @clipboard. The clipboard will claim the
@@ -4014,6 +3907,47 @@ Puts the given @texture into the clipboard.
<return></return>
</function>
+<function name="gdk_clipboard_set_valist">
+<description>
+Sets the clipboard to contain the value collected from the given
+@args.
+
+</description>
+<parameters>
+<parameter name="clipboard">
+<parameter_description> a #GdkClipboard
+</parameter_description>
+</parameter>
+<parameter name="type">
+<parameter_description> type of value to set
+</parameter_description>
+</parameter>
+<parameter name="args">
+<parameter_description> varargs containing the value of @type
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_clipboard_set_value">
+<description>
+Sets the @clipboard to contain the given @value.
+
+</description>
+<parameters>
+<parameter name="clipboard">
+<parameter_description> a #GdkClipboard
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description> a #GValue to set
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gdk_clipboard_store_async">
<description>
Asynchronously instructs the @clipboard to store its contents remotely to
@@ -4446,6 +4380,20 @@ If the resulting reference count is zero, frees the formats.
<return></return>
</function>
+<function name="gdk_content_provider_content_changed">
+<description>
+Emits the #GdkContentProvider::contents-changed signal.
+
+</description>
+<parameters>
+<parameter name="provider">
+<parameter_description> a #GdkContentProvider
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gdk_content_provider_get_value">
<description>
Gets the convtents of @provider stored in @value.
@@ -4570,8 +4518,8 @@ The given @stream will not be closed.
<parameter_description> a #GdkContentProvider
</parameter_description>
</parameter>
-<parameter name="type">
-<parameter_description> the #GType to provide the data in
+<parameter name="mime_type">
+<parameter_description> the mime type to provide the data in
</parameter_description>
</parameter>
<parameter name="stream">
@@ -4967,7 +4915,7 @@ Since: 3.0
</parameter_description>
</parameter>
<parameter name="axis_label">
-<parameter_description> #GdkAtom with the axis label.
+<parameter_description> name of the label
</parameter_description>
</parameter>
<parameter name="value">
@@ -5556,7 +5504,7 @@ Since: 3.0
</parameter>
</parameters>
<return>
-A #GList of #GdkAtoms, free with g_list_free().
+A #GList of strings, free with g_list_free().
</return>
</function>
@@ -6077,6 +6025,24 @@ with gdk_event_free().
</return>
</function>
+<function name="gdk_display_get_keymap">
+<description>
+Returns the #GdkKeymap attached to @display.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="display">
+<parameter_description> the #GdkDisplay
+</parameter_description>
+</parameter>
+</parameters>
+<return> the #GdkKeymap attached to @display.
+
+</return>
+</function>
+
<function name="gdk_display_get_maximal_cursor_size">
<description>
Gets the maximal size to use for cursors on @display.
@@ -6540,7 +6506,7 @@ Since: 2.2
</parameters>
<return> a copy of the first #GdkEvent on the event
queue, or %NULL if no events are in the queue. The returned
-#GdkEvent should be freed with gdk_event_free().
+#GdkEvent should be freed with g_object_unref().
</return>
</function>
@@ -6566,89 +6532,6 @@ Since: 2.2
<return></return>
</function>
-<function name="gdk_display_request_selection_notification">
-<description>
-Request #GdkEventOwnerChange events for ownership changes
-of the selection named by the given atom.
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> the #GdkAtom naming the selection for which
-ownership change notification is requested
-</parameter_description>
-</parameter>
-</parameters>
-<return> whether #GdkEventOwnerChange events will
-be sent.
-
-</return>
-</function>
-
-<function name="gdk_display_store_clipboard">
-<description>
-Issues a request to the clipboard manager to store the
-clipboard data. On X11, this is a special program that works
-according to the
-[FreeDesktop Clipboard Specification](http://www.freedesktop.org/Standards/clipboard-manager-spec).
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="clipboard_window">
-<parameter_description> a #GdkWindow belonging to the clipboard owner
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> a timestamp
-</parameter_description>
-</parameter>
-<parameter name="targets">
-<parameter_description> an array of targets
-that should be saved, or %NULL
-if all available targets should be saved.
-</parameter_description>
-</parameter>
-<parameter name="n_targets">
-<parameter_description> length of the @targets array
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_display_supports_clipboard_persistence">
-<description>
-Returns whether the speicifed display supports clipboard
-persistance; i.e. if it’s possible to store the clipboard data after an
-application has quit. On X11 this checks if a clipboard daemon is
-running.
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the display supports clipboard persistance.
-
-</return>
-</function>
-
<function name="gdk_display_supports_cursor_alpha">
<description>
Returns %TRUE if cursors can use an 8bit alpha channel
@@ -6708,26 +6591,6 @@ Since: 2.10
</return>
</function>
-<function name="gdk_display_supports_selection_notification">
-<description>
-Returns whether #GdkEventOwnerChange events will be
-sent when the owner of a selection changes.
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> whether #GdkEventOwnerChange events will
-be sent.
-
-</return>
-</function>
-
<function name="gdk_display_supports_shapes">
<description>
Returns %TRUE if gdk_window_shape_combine_mask() can
@@ -6774,31 +6637,6 @@ Since: 2.2
<function name="gdk_drag_begin">
<description>
Starts a drag and creates a new drag context for it.
-This function assumes that the drag is controlled by the
-client pointer device, use gdk_drag_begin_for_device() to
-begin a drag with a different device.
-
-This function is called by the drag source.
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the source window for this drag.
-</parameter_description>
-</parameter>
-<parameter name="formats">
-<parameter_description> the offered formats
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly created #GdkDragContext
-</return>
-</function>
-
-<function name="gdk_drag_begin_for_device">
-<description>
-Starts a drag and creates a new drag context for it.
This function is called by the drag source.
@@ -6813,48 +6651,25 @@ This function is called by the drag source.
<parameter_description> the device that controls this drag
</parameter_description>
</parameter>
-<parameter name="formats">
-<parameter_description> the offered formats
-</parameter_description>
-</parameter>
-</parameters>
-<return> a newly created #GdkDragContext
-</return>
-</function>
-
-<function name="gdk_drag_begin_from_point">
-<description>
-Starts a drag and creates a new drag context for it.
-
-This function is called by the drag source.
-
-Since: 3.20
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> the source window for this drag
-</parameter_description>
-</parameter>
-<parameter name="device">
-<parameter_description> the device that controls this drag
+<parameter name="content">
+<parameter_description> the offered content
</parameter_description>
</parameter>
-<parameter name="formats">
-<parameter_description> the offered formats
+<parameter name="actions">
+<parameter_description> the actions supported by this drag
</parameter_description>
</parameter>
-<parameter name="x_root">
-<parameter_description> the x coordinate where the drag nominally started
+<parameter name="dx">
+<parameter_description> the x offset to @device's position where the drag nominally started
</parameter_description>
</parameter>
-<parameter name="y_root">
-<parameter_description> the y coordinate where the drag nominally started
+<parameter name="dy">
+<parameter_description> the y offset to @device's position where the drag nominally started
</parameter_description>
</parameter>
</parameters>
-<return> a newly created #GdkDragContext
-
+<return> a newly created #GdkDragContext or
+%NULL on error.
</return>
</function>
@@ -6911,6 +6726,22 @@ Returns the #GdkDevice associated to the drag context.
</return>
</function>
+<function name="gdk_drag_context_get_display">
+<description>
+Gets the #GdkDisplay that the drag context was created for.
+
+
+</description>
+<parameters>
+<parameter name="context">
+<parameter_description> a #GdkDragContext
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GdkDisplay
+</return>
+</function>
+
<function name="gdk_drag_context_get_drag_window">
<description>
Returns the window on which the drag icon should be rendered
@@ -7006,47 +6837,6 @@ Since: 2.22
</return>
</function>
-<function name="gdk_drag_context_manage_dnd">
-<description>
-Requests the drag and drop operation to be managed by @context.
-When a drag and drop operation becomes managed, the #GdkDragContext
-will internally handle all input and source-side #GdkEventDND events
-as required by the windowing system.
-
-Once the drag and drop operation is managed, the drag context will
-emit the following signals:
-- The #GdkDragContext::action-changed signal whenever the final action
-to be performed by the drag and drop operation changes.
-- The #GdkDragContext::drop-performed signal after the user performs
-the drag and drop gesture (typically by releasing the mouse button).
-- The #GdkDragContext::dnd-finished signal after the drag and drop
-operation concludes (after all #GdkSelection transfers happen).
-- The #GdkDragContext::cancel signal if the drag and drop operation is
-finished but doesn't happen over an accepting destination, or is
-cancelled through other means.
-
-Since: 3.20
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GdkDragContext
-</parameter_description>
-</parameter>
-<parameter name="ipc_window">
-<parameter_description> Window to use for IPC messaging/events
-</parameter_description>
-</parameter>
-<parameter name="actions">
-<parameter_description> the actions supported by the drag source
-</parameter_description>
-</parameter>
-</parameters>
-<return> #TRUE if the drag and drop operation is managed.
-
-</return>
-</function>
-
<function name="gdk_drag_context_set_device">
<description>
Associates a #GdkDevice to @context, so all Drag and Drop events
@@ -7142,22 +6932,6 @@ Since: 2.6
</return>
</function>
-<function name="gdk_drag_get_selection">
-<description>
-Returns the selection atom for the current source window.
-
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GdkDragContext.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the selection atom, or %NULL
-</return>
-</function>
-
<function name="gdk_drag_status">
<description>
Selects one of the actions offered by the drag source.
@@ -7405,22 +7179,6 @@ and gdk_event_new().
<return></return>
</function>
-<function name="gdk_event_get">
-<description>
-Checks all open displays for a #GdkEvent to process,to be processed
-on, fetching events from the windowing system if necessary.
-See gdk_display_get_event().
-
-
-</description>
-<parameters>
-</parameters>
-<return> the next #GdkEvent to be processed, or %NULL
-if no events are pending. The returned #GdkEvent should be freed
-with gdk_event_free().
-</return>
-</function>
-
<function name="gdk_event_get_axes">
<description>
@@ -7866,28 +7624,6 @@ Since: 3.22
</return>
</function>
-<function name="gdk_event_get_property">
-<description>
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> a #GdkEvent
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="state">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE on success, otherwise %FALSE
-</return>
-</function>
-
<function name="gdk_event_get_root_coords">
<description>
Extract the root window relative x/y coordinates from an event.
@@ -8000,50 +7736,6 @@ Since: 3.20
</return>
</function>
-<function name="gdk_event_get_selection">
-<description>
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> a #GdkEvent
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE on success, otherwise %FALSE
-</return>
-</function>
-
-<function name="gdk_event_get_selection_property">
-<description>
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> a #GdkEvent
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="requestor">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE on success, otherwise %FALSE
-</return>
-</function>
-
<function name="gdk_event_get_source_device">
<description>
This function returns the hardware (slave) #GdkDevice that has
@@ -8258,28 +7950,6 @@ Since: 3.10
</return>
</function>
-<function name="gdk_event_get_window_state">
-<description>
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> a #GdkEvent
-</parameter_description>
-</parameter>
-<parameter name="changed">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="new_state">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE on success, otherwise %FALSE
-</return>
-</function>
-
<function name="gdk_event_handler_set">
<description>
Sets the function to call to handle all events from GDK.
@@ -8351,37 +8021,6 @@ should be freed with gdk_event_free().
</return>
</function>
-<function name="gdk_event_peek">
-<description>
-If there is an event waiting in the event queue of some open
-display, returns a copy of it. See gdk_display_peek_event().
-
-
-</description>
-<parameters>
-</parameters>
-<return> a copy of the first #GdkEvent on some event
-queue, or %NULL if no events are in any queues. The returned
-#GdkEvent should be freed with gdk_event_free().
-</return>
-</function>
-
-<function name="gdk_event_put">
-<description>
-Appends a copy of the given event onto the front of the event
-queue for event->any.window’s display, or the default event
-queue if event->any.window is %NULL. See gdk_display_put_event().
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> a #GdkEvent.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_event_set_device">
<description>
Sets the device for @event to @device. The event must
@@ -8560,18 +8199,6 @@ Since: 3.0
</return>
</function>
-<function name="gdk_events_pending">
-<description>
-Checks if any events are ready to be processed for any display.
-
-
-</description>
-<parameters>
-</parameters>
-<return> %TRUE if any events are pending.
-</return>
-</function>
-
<function name="gdk_frame_clock_begin_updating">
<description>
Starts updates for an animation. Until a matching call to
@@ -9455,18 +9082,6 @@ Since: 2.16
</return>
</function>
-<function name="gdk_keymap_get_default">
-<description>
-Returns the #GdkKeymap attached to the default display.
-
-
-</description>
-<parameters>
-</parameters>
-<return> the #GdkKeymap attached to the default display.
-</return>
-</function>
-
<function name="gdk_keymap_get_direction">
<description>
Returns the direction of effective layout of the keymap.
@@ -9563,24 +9178,6 @@ for an array of #GdkKeymapKey
</return>
</function>
-<function name="gdk_keymap_get_for_display">
-<description>
-Returns the #GdkKeymap attached to @display.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #GdkKeymap attached to @display.
-
-</return>
-</function>
-
<function name="gdk_keymap_get_modifier_mask">
<description>
Returns the modifier mask the @keymap’s windowing system backend
@@ -12009,7 +11606,7 @@ Queries a pointer to the pixel data of a pixbuf.
</parameter>
</parameters>
<return> A pointer to the pixbuf's pixel data.
-Please see the section on [image data](image-data) for information
+Please see the section on [image data][image-data] for information
about how the pixel data is stored in memory.
This function will cause an implicit copy of the pixbuf data if the
@@ -12035,7 +11632,7 @@ Since: 2.26
</parameter>
</parameters>
<return> A pointer to the pixbuf's
-pixel data. Please see the section on [image data](image-data)
+pixel data. Please see the section on [image data][image-data]
for information about how the pixel data is stored in memory.
This function will cause an implicit copy of the pixbuf data if the
@@ -14227,153 +13824,6 @@ of @pixdata.
</return>
</function>
-<function name="gdk_property_change">
-<description>
-Changes the contents of a property on a window.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description> the property to change
-</parameter_description>
-</parameter>
-<parameter name="type">
-<parameter_description> the new type for the property. If @mode is
-%GDK_PROP_MODE_PREPEND or %GDK_PROP_MODE_APPEND, then this
-must match the existing type or an error will occur.
-</parameter_description>
-</parameter>
-<parameter name="format">
-<parameter_description> the new format for the property. If @mode is
-%GDK_PROP_MODE_PREPEND or %GDK_PROP_MODE_APPEND, then this
-must match the existing format or an error will occur.
-</parameter_description>
-</parameter>
-<parameter name="mode">
-<parameter_description> a value describing how the new data is to be combined
-with the current data.
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> the data (a `guchar *`
-`gushort *`, or `gulong *`,
-depending on @format), cast to a `guchar *`.
-</parameter_description>
-</parameter>
-<parameter name="nelements">
-<parameter_description> the number of elements of size determined by the format,
-contained in @data.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_property_delete">
-<description>
-Deletes a property from a window.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description> the property to delete
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_property_get">
-<description>
-Retrieves a portion of the contents of a property. If the
-property does not exist, then the function returns %FALSE,
-and %NULL will be stored in @actual_property_type.
-
-The XGetWindowProperty() function that gdk_property_get()
-uses has a very confusing and complicated set of semantics.
-Unfortunately, gdk_property_get() makes the situation
-worse instead of better (the semantics should be considered
-undefined), and also prints warnings to stderr in cases where it
-should return a useful error to the program. You are advised to use
-XGetWindowProperty() directly until a replacement function for
-gdk_property_get() is provided.
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description> the property to retrieve
-</parameter_description>
-</parameter>
-<parameter name="type">
-<parameter_description> the desired property type, or %NULL, if any type of data
-is acceptable. If this does not match the actual
-type, then @actual_format and @actual_length will
-be filled in, a warning will be printed to stderr
-and no data will be returned.
-</parameter_description>
-</parameter>
-<parameter name="offset">
-<parameter_description> the offset into the property at which to begin
-retrieving data, in 4 byte units.
-</parameter_description>
-</parameter>
-<parameter name="length">
-<parameter_description> the length of the data to retrieve in bytes. Data is
-considered to be retrieved in 4 byte chunks, so @length
-will be rounded up to the next highest 4 byte boundary
-(so be careful not to pass a value that might overflow
-when rounded up).
-</parameter_description>
-</parameter>
-<parameter name="pdelete">
-<parameter_description> if %TRUE, delete the property after retrieving the
-data.
-</parameter_description>
-</parameter>
-<parameter name="actual_property_type">
-<parameter_description> location to store the
-actual type of the property.
-</parameter_description>
-</parameter>
-<parameter name="actual_format">
-<parameter_description> location to store the actual return format of the
-data; either 8, 16 or 32 bits.
-</parameter_description>
-</parameter>
-<parameter name="actual_length">
-<parameter_description> location to store the length of the retrieved data, in
-bytes. Data returned in the 32 bit format is stored
-in a long variable, so the actual number of 32 bit
-elements should be be calculated via
-@actual_length / sizeof(glong) to ensure portability to
-64 bit systems.
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> location
-to store a pointer to the data. The retrieved data should be
-freed with g_free() when you are finished using it.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if data was successfully received and stored
-in @data, otherwise %FALSE.
-</return>
-</function>
-
<function name="gdk_rectangle_contains_point">
<description>
Returns #TRUE if @rect contains the point described by @x and @y.
@@ -14717,6 +14167,34 @@ capabilities. This object is owned by GTK+ and must not be freed.
</return>
</function>
+<function name="gdk_seat_get_master_pointers">
+<description>
+Returns all master pointers with the given capabilities driven by this @seat.
+On most backends this function will return a list with a single element (meaning
+that all input devices drive the same onscreen cursor).
+
+In other backends where there can possibly be multiple foci (eg. wayland),
+this function will return all master #GdkDevices that represent these.
+
+Since: 3.93.
+
+</description>
+<parameters>
+<parameter name="seat">
+<parameter_description> The #GdkSeat
+</parameter_description>
+</parameter>
+<parameter name="capabilities">
+<parameter_description> Queried capabilities
+</parameter_description>
+</parameter>
+</parameters>
+<return> A list
+of master pointing devices
+
+</return>
+</function>
+
<function name="gdk_seat_get_pointer">
<description>
Returns the master device that routes pointer events.
@@ -14856,267 +14334,6 @@ Since: 3.20
<return></return>
</function>
-<function name="gdk_selection_convert">
-<description>
-Retrieves the contents of a selection in a given
-form.
-
-</description>
-<parameters>
-<parameter name="requestor">
-<parameter_description> a #GdkWindow.
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an atom identifying the selection to get the
-contents of.
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> the form in which to retrieve the selection.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> the timestamp to use when retrieving the
-selection. The selection owner may refuse the
-request if it did not own the selection at
-the time indicated by the timestamp.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_selection_owner_get">
-<description>
-Determines the owner of the given selection.
-
-
-</description>
-<parameters>
-<parameter name="selection">
-<parameter_description> an atom indentifying a selection.
-</parameter_description>
-</parameter>
-</parameters>
-<return> if there is a selection owner
-for this window, and it is a window known to the current process,
-the #GdkWindow that owns the selection, otherwise %NULL. Note
-that the return value may be owned by a different process if a
-foreign window was previously created for that window, but a new
-foreign window will never be created by this call.
-</return>
-</function>
-
-<function name="gdk_selection_owner_get_for_display">
-<description>
-Determine the owner of the given selection.
-
-Note that the return value may be owned by a different
-process if a foreign window was previously created for that
-window, but a new foreign window will never be created by this call.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an atom indentifying a selection
-</parameter_description>
-</parameter>
-</parameters>
-<return> if there is a selection owner
-for this window, and it is a window known to the current
-process, the #GdkWindow that owns the selection, otherwise
-%NULL.
-
-</return>
-</function>
-
-<function name="gdk_selection_owner_set">
-<description>
-Sets the owner of the given selection.
-
-
-</description>
-<parameters>
-<parameter name="owner">
-<parameter_description> a #GdkWindow or %NULL to indicate that the
-the owner for the given should be unset.
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an atom identifying a selection.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> timestamp to use when setting the selection.
-If this is older than the timestamp given last
-time the owner was set for the given selection, the
-request will be ignored.
-</parameter_description>
-</parameter>
-<parameter name="send_event">
-<parameter_description> if %TRUE, and the new owner is different
-from the current owner, the current owner
-will be sent a SelectionClear event.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the selection owner was successfully
-changed to @owner, otherwise %FALSE.
-</return>
-</function>
-
-<function name="gdk_selection_owner_set_for_display">
-<description>
-Sets the #GdkWindow @owner as the current owner of the selection @selection.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="owner">
-<parameter_description> a #GdkWindow or %NULL to indicate that the owner for
-the given should be unset
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an atom identifying a selection
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> timestamp to use when setting the selection
-If this is older than the timestamp given last time the owner was
-set for the given selection, the request will be ignored
-</parameter_description>
-</parameter>
-<parameter name="send_event">
-<parameter_description> if %TRUE, and the new owner is different from the current
-owner, the current owner will be sent a SelectionClear event
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the selection owner was successfully changed to owner,
-otherwise %FALSE.
-
-</return>
-</function>
-
-<function name="gdk_selection_property_get">
-<description>
-Retrieves selection data that was stored by the selection
-data in response to a call to gdk_selection_convert(). This function
-will not be used by applications, who should use the #GtkClipboard
-API instead.
-
-
-</description>
-<parameters>
-<parameter name="requestor">
-<parameter_description> the window on which the data is stored
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> location to store a pointer to the retrieved data.
- If the retrieval failed, %NULL we be stored here, otherwise, it
- will be non-%NULL and the returned data should be freed with g_free()
- when you are finished using it. The length of the
- allocated memory is one more than the length
- of the returned data, and the final byte will always
- be zero, to ensure nul-termination of strings
-</parameter_description>
-</parameter>
-<parameter name="prop_type">
-<parameter_description> location to store the type of the property
-</parameter_description>
-</parameter>
-<parameter name="prop_format">
-<parameter_description> location to store the format of the property
-</parameter_description>
-</parameter>
-</parameters>
-<return> the length of the retrieved data.
-</return>
-</function>
-
-<function name="gdk_selection_send_notify">
-<description>
-Sends a response to SelectionRequest event.
-
-</description>
-<parameters>
-<parameter name="requestor">
-<parameter_description> window to which to deliver response.
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> selection that was requested.
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> target that was selected.
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description> property in which the selection owner stored the
-data, or %NULL to indicate that the request
-was rejected.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> timestamp.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_selection_send_notify_for_display">
-<description>
-Send a response to SelectionRequest event.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay where @requestor is realized
-</parameter_description>
-</parameter>
-<parameter name="requestor">
-<parameter_description> window to which to deliver response
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> selection that was requested
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> target that was selected
-</parameter_description>
-</parameter>
-<parameter name="property">
-<parameter_description> property in which the selection owner stored the data,
-or %NULL to indicate that the request was rejected
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> timestamp
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_set_allowed_backends">
<description>
Sets a list of backends that GDK should try to use.
@@ -16740,24 +15957,6 @@ Since: 2.24
</return>
</function>
-<function name="gdk_window_get_event_compression">
-<description>
-Get the current event compression setting for this window.
-
-Since: 3.12
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if motion events will be compressed
-
-</return>
-</function>
-
<function name="gdk_window_get_events">
<description>
Gets the event mask for @window for all master input devices. See
@@ -18280,33 +17479,6 @@ Since: 3.0
<return></return>
</function>
-<function name="gdk_window_set_event_compression">
-<description>
-Determines whether or not extra unprocessed motion events in
-the event queue can be discarded. If %TRUE only the most recent
-event will be delivered.
-
-Some types of applications, e.g. paint programs, need to see all
-motion events and will benefit from turning off event compression.
-
-By default, event compression is enabled.
-
-Since: 3.12
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GdkWindow
-</parameter_description>
-</parameter>
-<parameter name="event_compression">
-<parameter_description> %TRUE if motion events should be compressed
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_window_set_events">
<description>
The event mask for a window determines which events will be reported
diff --git a/gdk/src/gdk_docs_override.xml b/gdk/src/gdk_docs_override.xml
index 53ece44..cdd68c2 100644
--- a/gdk/src/gdk_docs_override.xml
+++ b/gdk/src/gdk_docs_override.xml
@@ -244,4 +244,24 @@ get_update_area() returns an invalid Region.
</description>
</function>
+<!-- TODO: Remove this function description when gtk+'s description contains -->
+<!-- the correct number of parameters (@event). -->
+<function name="gdk_event_get_pointer_emulated">
+<description>
+Returns whether this event is an 'emulated' pointer event (typically
+from a touch event), as opposed to a real one.
+
+Since: 3.22
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if this event is emulated
+
+</return>
+</function>
+
</root>
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index 9a0f193..84d03ed 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -180,49 +180,40 @@
;; Original typedef:
;; typedef enum
;; {
-;; GDK_NOTHING = -1,
-;; GDK_DELETE = 0,
-;; GDK_DESTROY = 1,
-;; GDK_EXPOSE = 2,
-;; GDK_MOTION_NOTIFY = 3,
-;; GDK_BUTTON_PRESS = 4,
-;; GDK_BUTTON_RELEASE = 7,
-;; GDK_KEY_PRESS = 8,
-;; GDK_KEY_RELEASE = 9,
-;; GDK_ENTER_NOTIFY = 10,
-;; GDK_LEAVE_NOTIFY = 11,
-;; GDK_FOCUS_CHANGE = 12,
-;; GDK_CONFIGURE = 13,
-;; GDK_MAP = 14,
-;; GDK_UNMAP = 15,
-;; GDK_PROPERTY_NOTIFY = 16,
-;; GDK_SELECTION_CLEAR = 17,
-;; GDK_SELECTION_REQUEST = 18,
-;; GDK_SELECTION_NOTIFY = 19,
-;; GDK_PROXIMITY_IN = 20,
-;; GDK_PROXIMITY_OUT = 21,
-;; GDK_DRAG_ENTER = 22,
-;; GDK_DRAG_LEAVE = 23,
-;; GDK_DRAG_MOTION = 24,
-;; GDK_DRAG_STATUS = 25,
-;; GDK_DROP_START = 26,
-;; GDK_DROP_FINISHED = 27,
-;; GDK_CLIENT_EVENT = 28,
-;; GDK_SCROLL = 31,
-;; GDK_WINDOW_STATE = 32,
-;; GDK_GRAB_BROKEN = 35,
-;; GDK_DAMAGE = 36,
-;; GDK_TOUCH_BEGIN = 37,
-;; GDK_TOUCH_UPDATE = 38,
-;; GDK_TOUCH_END = 39,
-;; GDK_TOUCH_CANCEL = 40,
-;; GDK_TOUCHPAD_SWIPE = 41,
-;; GDK_TOUCHPAD_PINCH = 42,
-;; GDK_PAD_BUTTON_PRESS = 43,
-;; GDK_PAD_BUTTON_RELEASE = 44,
-;; GDK_PAD_RING = 45,
-;; GDK_PAD_STRIP = 46,
-;; GDK_PAD_GROUP_MODE = 47,
+;; GDK_NOTHING,
+;; GDK_DELETE,
+;; GDK_DESTROY,
+;; GDK_EXPOSE,
+;; GDK_MOTION_NOTIFY,
+;; GDK_BUTTON_PRESS,
+;; GDK_BUTTON_RELEASE,
+;; GDK_KEY_PRESS,
+;; GDK_KEY_RELEASE,
+;; GDK_ENTER_NOTIFY,
+;; GDK_LEAVE_NOTIFY,
+;; GDK_FOCUS_CHANGE,
+;; GDK_CONFIGURE,
+;; GDK_MAP,
+;; GDK_UNMAP,
+;; GDK_PROXIMITY_IN,
+;; GDK_PROXIMITY_OUT,
+;; GDK_DRAG_ENTER,
+;; GDK_DRAG_LEAVE,
+;; GDK_DRAG_MOTION,
+;; GDK_DROP_START,
+;; GDK_SCROLL,
+;; GDK_GRAB_BROKEN,
+;; GDK_TOUCH_BEGIN,
+;; GDK_TOUCH_UPDATE,
+;; GDK_TOUCH_END,
+;; GDK_TOUCH_CANCEL,
+;; GDK_TOUCHPAD_SWIPE,
+;; GDK_TOUCHPAD_PINCH,
+;; GDK_PAD_BUTTON_PRESS,
+;; GDK_PAD_BUTTON_RELEASE,
+;; GDK_PAD_RING,
+;; GDK_PAD_STRIP,
+;; GDK_PAD_GROUP_MODE,
;; GDK_EVENT_LAST /* helper variable for decls */
;; } GdkEventType;
@@ -230,50 +221,41 @@
(in-module "Gdk")
(c-name "GdkEventType")
(values
- '("nothing" "GDK_NOTHING" "-1")
- '("delete" "GDK_DELETE" "0")
- '("destroy" "GDK_DESTROY" "1")
- '("expose" "GDK_EXPOSE" "2")
- '("motion-notify" "GDK_MOTION_NOTIFY" "3")
- '("button-press" "GDK_BUTTON_PRESS" "4")
- '("button-release" "GDK_BUTTON_RELEASE" "7")
- '("key-press" "GDK_KEY_PRESS" "8")
- '("key-release" "GDK_KEY_RELEASE" "9")
- '("enter-notify" "GDK_ENTER_NOTIFY" "10")
- '("leave-notify" "GDK_LEAVE_NOTIFY" "11")
- '("focus-change" "GDK_FOCUS_CHANGE" "12")
- '("configure" "GDK_CONFIGURE" "13")
- '("map" "GDK_MAP" "14")
- '("unmap" "GDK_UNMAP" "15")
- '("property-notify" "GDK_PROPERTY_NOTIFY" "16")
- '("selection-clear" "GDK_SELECTION_CLEAR" "17")
- '("selection-request" "GDK_SELECTION_REQUEST" "18")
- '("selection-notify" "GDK_SELECTION_NOTIFY" "19")
- '("proximity-in" "GDK_PROXIMITY_IN" "20")
- '("proximity-out" "GDK_PROXIMITY_OUT" "21")
- '("drag-enter" "GDK_DRAG_ENTER" "22")
- '("drag-leave" "GDK_DRAG_LEAVE" "23")
- '("drag-motion" "GDK_DRAG_MOTION" "24")
- '("drag-status" "GDK_DRAG_STATUS" "25")
- '("drop-start" "GDK_DROP_START" "26")
- '("drop-finished" "GDK_DROP_FINISHED" "27")
- '("client-event" "GDK_CLIENT_EVENT" "28")
- '("scroll" "GDK_SCROLL" "31")
- '("window-state" "GDK_WINDOW_STATE" "32")
- '("grab-broken" "GDK_GRAB_BROKEN" "35")
- '("damage" "GDK_DAMAGE" "36")
- '("touch-begin" "GDK_TOUCH_BEGIN" "37")
- '("touch-update" "GDK_TOUCH_UPDATE" "38")
- '("touch-end" "GDK_TOUCH_END" "39")
- '("touch-cancel" "GDK_TOUCH_CANCEL" "40")
- '("touchpad-swipe" "GDK_TOUCHPAD_SWIPE" "41")
- '("touchpad-pinch" "GDK_TOUCHPAD_PINCH" "42")
- '("pad-button-press" "GDK_PAD_BUTTON_PRESS" "43")
- '("pad-button-release" "GDK_PAD_BUTTON_RELEASE" "44")
- '("pad-ring" "GDK_PAD_RING" "45")
- '("pad-strip" "GDK_PAD_STRIP" "46")
- '("pad-group-mode" "GDK_PAD_GROUP_MODE" "47")
- '("event-last" "GDK_EVENT_LAST" "48")
+ '("nothing" "GDK_NOTHING" "0")
+ '("delete" "GDK_DELETE" "1")
+ '("destroy" "GDK_DESTROY" "2")
+ '("expose" "GDK_EXPOSE" "3")
+ '("motion-notify" "GDK_MOTION_NOTIFY" "4")
+ '("button-press" "GDK_BUTTON_PRESS" "5")
+ '("button-release" "GDK_BUTTON_RELEASE" "6")
+ '("key-press" "GDK_KEY_PRESS" "7")
+ '("key-release" "GDK_KEY_RELEASE" "8")
+ '("enter-notify" "GDK_ENTER_NOTIFY" "9")
+ '("leave-notify" "GDK_LEAVE_NOTIFY" "10")
+ '("focus-change" "GDK_FOCUS_CHANGE" "11")
+ '("configure" "GDK_CONFIGURE" "12")
+ '("map" "GDK_MAP" "13")
+ '("unmap" "GDK_UNMAP" "14")
+ '("proximity-in" "GDK_PROXIMITY_IN" "15")
+ '("proximity-out" "GDK_PROXIMITY_OUT" "16")
+ '("drag-enter" "GDK_DRAG_ENTER" "17")
+ '("drag-leave" "GDK_DRAG_LEAVE" "18")
+ '("drag-motion" "GDK_DRAG_MOTION" "19")
+ '("drop-start" "GDK_DROP_START" "20")
+ '("scroll" "GDK_SCROLL" "21")
+ '("grab-broken" "GDK_GRAB_BROKEN" "22")
+ '("touch-begin" "GDK_TOUCH_BEGIN" "23")
+ '("touch-update" "GDK_TOUCH_UPDATE" "24")
+ '("touch-end" "GDK_TOUCH_END" "25")
+ '("touch-cancel" "GDK_TOUCH_CANCEL" "26")
+ '("touchpad-swipe" "GDK_TOUCHPAD_SWIPE" "27")
+ '("touchpad-pinch" "GDK_TOUCHPAD_PINCH" "28")
+ '("pad-button-press" "GDK_PAD_BUTTON_PRESS" "29")
+ '("pad-button-release" "GDK_PAD_BUTTON_RELEASE" "30")
+ '("pad-ring" "GDK_PAD_RING" "31")
+ '("pad-strip" "GDK_PAD_STRIP" "32")
+ '("pad-group-mode" "GDK_PAD_GROUP_MODE" "33")
+ '("event-last" "GDK_EVENT_LAST" "34")
)
)
@@ -376,22 +358,6 @@
;; Original typedef:
;; typedef enum
;; {
-;; GDK_PROPERTY_NEW_VALUE,
-;; GDK_PROPERTY_DELETE
-;; } GdkPropertyState;
-
-(define-enum-extended PropertyState
- (in-module "Gdk")
- (c-name "GdkPropertyState")
- (values
- '("new-value" "GDK_PROPERTY_NEW_VALUE" "0")
- '("delete" "GDK_PROPERTY_DELETE" "1")
- )
-)
-
-;; Original typedef:
-;; typedef enum
-;; {
;; GDK_WINDOW_STATE_WITHDRAWN = 1 << 0,
;; GDK_WINDOW_STATE_ICONIFIED = 1 << 1,
;; GDK_WINDOW_STATE_MAXIMIZED = 1 << 2,
@@ -489,26 +455,6 @@
)
)
-;; From gdkproperty.h
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; GDK_PROP_MODE_REPLACE,
-;; GDK_PROP_MODE_PREPEND,
-;; GDK_PROP_MODE_APPEND
-;; } GdkPropMode;
-
-(define-enum-extended PropMode
- (in-module "Gdk")
- (c-name "GdkPropMode")
- (values
- '("replace" "GDK_PROP_MODE_REPLACE" "0")
- '("prepend" "GDK_PROP_MODE_PREPEND" "1")
- '("append" "GDK_PROP_MODE_APPEND" "2")
- )
-)
-
;; From gdkseat.h
;; Original typedef:
@@ -518,6 +464,7 @@
;; GDK_SEAT_CAPABILITY_TOUCH = 1 << 1,
;; GDK_SEAT_CAPABILITY_TABLET_STYLUS = 1 << 2,
;; GDK_SEAT_CAPABILITY_KEYBOARD = 1 << 3,
+;; GDK_SEAT_CAPABILITY_TABLET_PAD = 1 << 4,
;; GDK_SEAT_CAPABILITY_ALL_POINTING = (GDK_SEAT_CAPABILITY_POINTER | GDK_SEAT_CAPABILITY_TOUCH |
GDK_SEAT_CAPABILITY_TABLET_STYLUS),
;; GDK_SEAT_CAPABILITY_ALL = (GDK_SEAT_CAPABILITY_ALL_POINTING | GDK_SEAT_CAPABILITY_KEYBOARD)
;; } GdkSeatCapabilities;
@@ -531,6 +478,7 @@
'("touch" "GDK_SEAT_CAPABILITY_TOUCH" "1 << 1")
'("tablet-stylus" "GDK_SEAT_CAPABILITY_TABLET_STYLUS" "1 << 2")
'("keyboard" "GDK_SEAT_CAPABILITY_KEYBOARD" "1 << 3")
+ '("tablet-pad" "GDK_SEAT_CAPABILITY_TABLET_PAD" "1 << 4")
'("all-pointing" "GDK_SEAT_CAPABILITY_ALL_POINTING" "0x7")
'("all" "GDK_SEAT_CAPABILITY_ALL" "0xF")
)
diff --git a/gdk/src/gdk_extra.defs b/gdk/src/gdk_extra.defs
index f7709d1..5a38f3b 100644
--- a/gdk/src/gdk_extra.defs
+++ b/gdk/src/gdk_extra.defs
@@ -6,7 +6,6 @@
(parameters
'("GdkDragContext*" "context")
'("gboolean" "success")
- '("gboolean" "del")
'("guint32" "time")
)
)
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 997b9f2..fda100e 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -145,23 +145,14 @@
'("configure" "GDK_CONFIGURE")
'("map" "GDK_MAP")
'("unmap" "GDK_UNMAP")
- '("property-notify" "GDK_PROPERTY_NOTIFY")
- '("selection-clear" "GDK_SELECTION_CLEAR")
- '("selection-request" "GDK_SELECTION_REQUEST")
- '("selection-notify" "GDK_SELECTION_NOTIFY")
'("proximity-in" "GDK_PROXIMITY_IN")
'("proximity-out" "GDK_PROXIMITY_OUT")
'("drag-enter" "GDK_DRAG_ENTER")
'("drag-leave" "GDK_DRAG_LEAVE")
'("drag-motion" "GDK_DRAG_MOTION")
- '("drag-status" "GDK_DRAG_STATUS")
'("drop-start" "GDK_DROP_START")
- '("drop-finished" "GDK_DROP_FINISHED")
- '("client-event" "GDK_CLIENT_EVENT")
'("scroll" "GDK_SCROLL")
- '("window-state" "GDK_WINDOW_STATE")
'("grab-broken" "GDK_GRAB_BROKEN")
- '("damage" "GDK_DAMAGE")
'("touch-begin" "GDK_TOUCH_BEGIN")
'("touch-update" "GDK_TOUCH_UPDATE")
'("touch-end" "GDK_TOUCH_END")
@@ -233,16 +224,6 @@
)
)
-(define-enum PropertyState
- (in-module "Gdk")
- (c-name "GdkPropertyState")
- (gtype-id "GDK_TYPE_PROPERTY_STATE")
- (values
- '("new-value" "GDK_PROPERTY_NEW_VALUE")
- '("delete" "GDK_PROPERTY_DELETE")
- )
-)
-
(define-flags WindowState
(in-module "Gdk")
(c-name "GdkWindowState")
@@ -298,17 +279,6 @@
)
)
-(define-enum PropMode
- (in-module "Gdk")
- (c-name "GdkPropMode")
- (gtype-id "GDK_TYPE_PROP_MODE")
- (values
- '("replace" "GDK_PROP_MODE_REPLACE")
- '("prepend" "GDK_PROP_MODE_PREPEND")
- '("append" "GDK_PROP_MODE_APPEND")
- )
-)
-
(define-flags SeatCapabilities
(in-module "Gdk")
(c-name "GdkSeatCapabilities")
@@ -319,6 +289,7 @@
'("touch" "GDK_SEAT_CAPABILITY_TOUCH")
'("tablet-stylus" "GDK_SEAT_CAPABILITY_TABLET_STYLUS")
'("keyboard" "GDK_SEAT_CAPABILITY_KEYBOARD")
+ '("tablet-pad" "GDK_SEAT_CAPABILITY_TABLET_PAD")
'("all-pointing" "GDK_SEAT_CAPABILITY_ALL_POINTING")
'("all" "GDK_SEAT_CAPABILITY_ALL")
)
@@ -906,7 +877,7 @@
(c-name "gdk_clipboard_read_value_finish")
(return-type "const-GValue*")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
@@ -927,7 +898,7 @@
(c-name "gdk_clipboard_read_texture_finish")
(return-type "GdkTexture*")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
@@ -948,7 +919,7 @@
(c-name "gdk_clipboard_read_text_finish")
(return-type "char*")
(parameters
- '("GAsyncResult*" "res")
+ '("GAsyncResult*" "result")
'("GError**" "error")
)
)
@@ -962,6 +933,35 @@
)
)
+(define-method set
+ (of-object "GdkClipboard")
+ (c-name "gdk_clipboard_set")
+ (return-type "none")
+ (parameters
+ '("GType" "type")
+ )
+ (varargs #t)
+)
+
+(define-method set_valist
+ (of-object "GdkClipboard")
+ (c-name "gdk_clipboard_set_valist")
+ (return-type "none")
+ (parameters
+ '("GType" "type")
+ '("va_list" "args")
+ )
+)
+
+(define-method set_value
+ (of-object "GdkClipboard")
+ (c-name "gdk_clipboard_set_value")
+ (return-type "none")
+ (parameters
+ '("const-GValue*" "value")
+ )
+)
+
(define-method set_text
(of-object "GdkClipboard")
(c-name "gdk_clipboard_set_text")
@@ -2051,21 +2051,6 @@
(return-type "GdkWindow*")
)
-(define-method supports_selection_notification
- (of-object "GdkDisplay")
- (c-name "gdk_display_supports_selection_notification")
- (return-type "gboolean")
-)
-
-(define-method request_selection_notification
- (of-object "GdkDisplay")
- (c-name "gdk_display_request_selection_notification")
- (return-type "gboolean")
- (parameters
- '("GdkAtom" "selection")
- )
-)
-
(define-method get_clipboard
(of-object "GdkDisplay")
(c-name "gdk_display_get_clipboard")
@@ -2078,24 +2063,6 @@
(return-type "GdkClipboard*")
)
-(define-method supports_clipboard_persistence
- (of-object "GdkDisplay")
- (c-name "gdk_display_supports_clipboard_persistence")
- (return-type "gboolean")
-)
-
-(define-method store_clipboard
- (of-object "GdkDisplay")
- (c-name "gdk_display_store_clipboard")
- (return-type "none")
- (parameters
- '("GdkWindow*" "clipboard_window")
- '("guint32" "time_")
- '("const-GdkAtom*" "targets")
- '("gint" "n_targets")
- )
-)
-
(define-method supports_shapes
(of-object "GdkDisplay")
(c-name "gdk_display_supports_shapes")
@@ -2175,6 +2142,12 @@
)
)
+(define-method get_keymap
+ (of-object "GdkDisplay")
+ (c-name "gdk_display_get_keymap")
+ (return-type "GdkKeymap*")
+)
+
(define-method get_setting
(of-object "GdkDisplay")
(c-name "gdk_display_get_setting")
@@ -2246,13 +2219,10 @@
(return-type "GType")
)
-(define-method set_device
+(define-method get_display
(of-object "GdkDragContext")
- (c-name "gdk_drag_context_set_device")
- (return-type "none")
- (parameters
- '("GdkDevice*" "device")
- )
+ (c-name "gdk_drag_context_get_display")
+ (return-type "GdkDisplay*")
)
(define-method get_device
@@ -2327,42 +2297,40 @@
)
)
-(define-function gdk_drag_get_selection
- (c-name "gdk_drag_get_selection")
- (return-type "GdkAtom")
+(define-function gdk_drop_read_async
+ (c-name "gdk_drop_read_async")
+ (return-type "none")
(parameters
'("GdkDragContext*" "context")
+ '("const-char**" "mime_types")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
)
)
-(define-function gdk_drag_begin
- (c-name "gdk_drag_begin")
- (return-type "GdkDragContext*")
- (parameters
- '("GdkWindow*" "window")
- '("GdkContentFormats*" "formats")
- )
-)
-
-(define-function gdk_drag_begin_for_device
- (c-name "gdk_drag_begin_for_device")
- (return-type "GdkDragContext*")
+(define-function gdk_drop_read_finish
+ (c-name "gdk_drop_read_finish")
+ (return-type "GInputStream*")
(parameters
- '("GdkWindow*" "window")
- '("GdkDevice*" "device")
- '("GdkContentFormats*" "formats")
+ '("GdkDragContext*" "context")
+ '("const-char**" "out_mime_type")
+ '("GAsyncResult*" "result")
+ '("GError**" "error")
)
)
-(define-function gdk_drag_begin_from_point
- (c-name "gdk_drag_begin_from_point")
+(define-function gdk_drag_begin
+ (c-name "gdk_drag_begin")
(return-type "GdkDragContext*")
(parameters
'("GdkWindow*" "window")
'("GdkDevice*" "device")
- '("GdkContentFormats*" "formats")
- '("gint" "x_root")
- '("gint" "y_root")
+ '("GdkContentProvider*" "content")
+ '("GdkDragAction" "actions")
+ '("gint" "dx")
+ '("gint" "dy")
)
)
@@ -2399,16 +2367,6 @@
)
)
-(define-method manage_dnd
- (of-object "GdkDragContext")
- (c-name "gdk_drag_context_manage_dnd")
- (return-type "gboolean")
- (parameters
- '("GdkWindow*" "ipc_window")
- '("GdkDragAction" "actions")
- )
-)
-
;; From gdkdrawcontext.h
@@ -2483,27 +2441,6 @@
(return-type "GType")
)
-(define-function gdk_events_pending
- (c-name "gdk_events_pending")
- (return-type "gboolean")
-)
-
-(define-function gdk_event_get
- (c-name "gdk_event_get")
- (return-type "GdkEvent*")
-)
-
-(define-function gdk_event_peek
- (c-name "gdk_event_peek")
- (return-type "GdkEvent*")
-)
-
-(define-method put
- (of-object "GdkEvent")
- (c-name "gdk_event_put")
- (return-type "none")
-)
-
(define-function gdk_event_new
(c-name "gdk_event_new")
(is-constructor-of "GdkEvent")
@@ -2947,16 +2884,6 @@
)
)
-(define-method get_window_state
- (of-object "GdkEvent")
- (c-name "gdk_event_get_window_state")
- (return-type "gboolean")
- (parameters
- '("GdkWindowState*" "changed")
- '("GdkWindowState*" "new_state")
- )
-)
-
(define-method get_focus_in
(of-object "GdkEvent")
(c-name "gdk_event_get_focus_in")
@@ -2995,47 +2922,6 @@
)
)
-(define-method get_property
- (of-object "GdkEvent")
- (c-name "gdk_event_get_property")
- (return-type "gboolean")
- (parameters
- '("GdkAtom*" "property")
- '("GdkPropertyState*" "state")
- )
-)
-
-(define-method get_selection
- (of-object "GdkEvent")
- (c-name "gdk_event_get_selection")
- (return-type "gboolean")
- (parameters
- '("GdkAtom*" "selection")
- )
-)
-
-(define-method get_selection_property
- (of-object "GdkEvent")
- (c-name "gdk_event_get_selection_property")
- (return-type "gboolean")
- (parameters
- '("GdkAtom*" "property")
- '("GdkAtom*" "target")
- '("GdkWindow**" "requestor")
- )
-)
-
-(define-method set_selection
- (of-object "GdkEvent")
- (c-name "gdk_event_set_selection")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- '("GdkAtom" "selection")
- '("guint32" "time")
- )
-)
-
(define-method get_axes
(of-object "GdkEvent")
(c-name "gdk_event_get_axes")
@@ -3046,6 +2932,12 @@
)
)
+(define-method get_history
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_history")
+ (return-type "GList*")
+)
+
;; From gdkframeclock.h
@@ -3347,19 +3239,6 @@
(return-type "GType")
)
-(define-function gdk_keymap_get_default
- (c-name "gdk_keymap_get_default")
- (return-type "GdkKeymap*")
-)
-
-(define-function gdk_keymap_get_for_display
- (c-name "gdk_keymap_get_for_display")
- (return-type "GdkKeymap*")
- (parameters
- '("GdkDisplay*" "display")
- )
-)
-
(define-method lookup_key
(of-object "GdkKeymap")
(c-name "gdk_keymap_lookup_key")
@@ -3683,69 +3562,6 @@
;; From gdkproperty.h
-(define-function gdk_atom_intern
- (c-name "gdk_atom_intern")
- (return-type "GdkAtom")
- (parameters
- '("const-gchar*" "atom_name")
- '("gboolean" "only_if_exists")
- )
-)
-
-(define-function gdk_atom_intern_static_string
- (c-name "gdk_atom_intern_static_string")
- (return-type "GdkAtom")
- (parameters
- '("const-gchar*" "atom_name")
- )
-)
-
-(define-method name
- (of-object "GdkAtom")
- (c-name "gdk_atom_name")
- (return-type "gchar*")
-)
-
-(define-function gdk_property_get
- (c-name "gdk_property_get")
- (return-type "gboolean")
- (parameters
- '("GdkWindow*" "window")
- '("GdkAtom" "property")
- '("GdkAtom" "type")
- '("gulong" "offset")
- '("gulong" "length")
- '("gint" "pdelete")
- '("GdkAtom*" "actual_property_type")
- '("gint*" "actual_format")
- '("gint*" "actual_length")
- '("guchar**" "data")
- )
-)
-
-(define-function gdk_property_change
- (c-name "gdk_property_change")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- '("GdkAtom" "property")
- '("GdkAtom" "type")
- '("gint" "format")
- '("GdkPropMode" "mode")
- '("const-guchar*" "data")
- '("gint" "nelements")
- )
-)
-
-(define-function gdk_property_delete
- (c-name "gdk_property_delete")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- '("GdkAtom" "property")
- )
-)
-
(define-function gdk_text_property_to_utf8_list_for_display
(c-name "gdk_text_property_to_utf8_list_for_display")
(return-type "gint")
@@ -3943,114 +3759,12 @@
(return-type "GdkDevice*")
)
-
-
-;; From gdkselection.h
-
-(define-function gdk_selection_owner_set
- (c-name "gdk_selection_owner_set")
- (return-type "gboolean")
- (parameters
- '("GdkWindow*" "owner")
- '("GdkAtom" "selection")
- '("guint32" "time_")
- '("gboolean" "send_event")
- )
-)
-
-(define-function gdk_selection_owner_get
- (c-name "gdk_selection_owner_get")
- (return-type "GdkWindow*")
- (parameters
- '("GdkAtom" "selection")
- )
-)
-
-(define-function gdk_selection_owner_set_for_display
- (c-name "gdk_selection_owner_set_for_display")
- (return-type "gboolean")
- (parameters
- '("GdkDisplay*" "display")
- '("GdkWindow*" "owner")
- '("GdkAtom" "selection")
- '("guint32" "time_")
- '("gboolean" "send_event")
- )
-)
-
-(define-function gdk_selection_owner_get_for_display
- (c-name "gdk_selection_owner_get_for_display")
- (return-type "GdkWindow*")
- (parameters
- '("GdkDisplay*" "display")
- '("GdkAtom" "selection")
- )
-)
-
-(define-function gdk_selection_convert
- (c-name "gdk_selection_convert")
- (return-type "none")
- (parameters
- '("GdkWindow*" "requestor")
- '("GdkAtom" "selection")
- '("GdkAtom" "target")
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_selection_property_get
- (c-name "gdk_selection_property_get")
- (return-type "gint")
- (parameters
- '("GdkWindow*" "requestor")
- '("guchar**" "data")
- '("GdkAtom*" "prop_type")
- '("gint*" "prop_format")
- )
-)
-
-(define-function gdk_selection_send_notify
- (c-name "gdk_selection_send_notify")
- (return-type "none")
- (parameters
- '("GdkWindow*" "requestor")
- '("GdkAtom" "selection")
- '("GdkAtom" "target")
- '("GdkAtom" "property")
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_selection_send_notify_for_display
- (c-name "gdk_selection_send_notify_for_display")
- (return-type "none")
- (parameters
- '("GdkDisplay*" "display")
- '("GdkWindow*" "requestor")
- '("GdkAtom" "selection")
- '("GdkAtom" "target")
- '("GdkAtom" "property")
- '("guint32" "time_")
- )
-)
-
-(define-function gdk_selection_clear_targets
- (c-name "gdk_selection_clear_targets")
- (return-type "none")
- (parameters
- '("GdkDisplay*" "display")
- '("GdkAtom" "selection")
- )
-)
-
-(define-function gdk_selection_add_targets
- (c-name "gdk_selection_add_targets")
- (return-type "none")
+(define-method get_master_pointers
+ (of-object "GdkSeat")
+ (c-name "gdk_seat_get_master_pointers")
+ (return-type "GList*")
(parameters
- '("GdkWindow*" "window")
- '("GdkAtom" "selection")
- '("GdkAtom*" "targets")
- '("guint" "n_targets")
+ '("GdkSeatCapabilities" "capabilities")
)
)
@@ -5341,21 +5055,6 @@
)
)
-(define-method set_event_compression
- (of-object "GdkWindow")
- (c-name "gdk_window_set_event_compression")
- (return-type "none")
- (parameters
- '("gboolean" "event_compression")
- )
-)
-
-(define-method get_event_compression
- (of-object "GdkWindow")
- (c-name "gdk_window_get_event_compression")
- (return-type "gboolean")
-)
-
(define-method set_shadow_width
(of-object "GdkWindow")
(c-name "gdk_window_set_shadow_width")
@@ -5481,11 +5180,6 @@
(return-type "GType")
)
-(define-function gdk_property_state_get_type
- (c-name "gdk_property_state_get_type")
- (return-type "GType")
-)
-
(define-function gdk_window_state_get_type
(c-name "gdk_window_state_get_type")
(return-type "GType")
@@ -5501,11 +5195,6 @@
(return-type "GType")
)
-(define-function gdk_prop_mode_get_type
- (c-name "gdk_prop_mode_get_type")
- (return-type "GType")
-)
-
(define-function gdk_seat_capabilities_get_type
(c-name "gdk_seat_capabilities_get_type")
(return-type "GType")
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index 86f36da..fcd8e0f 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -115,6 +115,33 @@
)
)
+(define-property content
+ (of-object "GdkDragContext")
+ (prop-type "GParamObject")
+ (docs "The content being dragged")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property display
+ (of-object "GdkDragContext")
+ (prop-type "GParamObject")
+ (docs "Display owning this clipboard")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property formats
+ (of-object "GdkDragContext")
+ (prop-type "GParamBoxed")
+ (docs "The possible formats for data")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GdkCursor
(define-property fallback
@@ -815,6 +842,16 @@
(construct-only #t)
)
+(define-property state
+ (of-object "GdkWindow")
+ (prop-type "GParamFlags")
+ (docs "State")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "GDK_WINDOW_STATE_WITHDRAWN")
+)
+
;; From GdkGLContext
(define-property shared-context
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 14be0d7..ce91e8c 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -4442,6 +4442,56 @@ Since: 3.14
</description>
</property>
+<signal name="GtkEventControllerMotion::enter">
+<description>
+Signals that the pointer has entered the widget.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> The object that received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkEventControllerMotion::leave">
+<description>
+Signals that pointer has left the widget.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> The object that received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkEventControllerMotion::motion">
+<description>
+Emitted when the pointer moves inside the widget.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> The object that received the signal
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> the x coordinate
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> the y coordinate
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<signal name="GtkEventControllerScroll::decelerate">
<description>
Emitted after scroll is finished if the #GTK_EVENT_CONTROLLER_SCROLL_KINETIC
@@ -6293,9 +6343,9 @@ Since: 3.12
</description>
</property>
-<property name="GtkHeaderBar:show-close-button">
+<property name="GtkHeaderBar:show-title-buttons">
<description>
-Whether to show window decorations.
+Whether to show title buttons like close, minimize, maximize.
Which buttons are actually shown and where is determined
by the #GtkHeaderBar:decoration-layout property, and by
@@ -16751,32 +16801,6 @@ for an example of how to use this signal.
</return>
</signal>
-<signal name="GtkWidget::property-notify-event">
-<description>
-The ::property-notify-event signal will be emitted when a property on
-the @widget's window has been changed or deleted.
-
-To receive this signal, the #GdkWindow associated to the widget needs
-to enable the #GDK_PROPERTY_CHANGE_MASK mask.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description> the #GdkEventProperty which triggered
-this signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE to stop other handlers from being invoked for the event.
-%FALSE to propagate the event further.
-</return>
-</signal>
-
<signal name="GtkWidget::proximity-in-event">
<description>
To receive this signal the #GdkWindow associated to the widget needs
@@ -16919,117 +16943,6 @@ this signal.
</return>
</signal>
-<signal name="GtkWidget::selection-clear-event">
-<description>
-The ::selection-clear-event signal will be emitted when the
-the @widget's window has lost ownership of a selection.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description> the #GdkEventSelection which triggered
-this signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE to stop other handlers from being invoked for the event.
-%FALSE to propagate the event further.
-</return>
-</signal>
-
-<signal name="GtkWidget::selection-get">
-<description>
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="info">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="time">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkWidget::selection-notify-event">
-<description>
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event
further.
-</return>
-</signal>
-
-<signal name="GtkWidget::selection-received">
-<description>
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="time">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkWidget::selection-request-event">
-<description>
-The ::selection-request-event signal will be emitted when
-another client requests ownership of the selection owned by
-the @widget's window.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description> the #GdkEventSelection which triggered
-this signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE to stop other handlers from being invoked for the event.
-%FALSE to propagate the event further.
-</return>
-</signal>
-
<signal name="GtkWidget::show">
<description>
The ::show signal is emitted when @widget is shown, for example with
@@ -17172,33 +17085,6 @@ hidden).
<return></return>
</signal>
-<signal name="GtkWidget::window-state-event">
-<description>
-The ::window-state-event will be emitted when the state of the
-toplevel window associated to the @widget changes.
-
-To receive this signal the #GdkWindow associated to the widget
-needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable
-this mask automatically for all new windows.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description> the #GdkEventWindowState which
-triggered this signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE to stop other handlers from being invoked for the
-event. %FALSE to propagate the event further.
-</return>
-</signal>
-
<property name="GtkWidget:css-name">
<description>
The name of this widget in the CSS tree.
@@ -18013,6 +17899,22 @@ dialog and must not be modified.
</return>
</function>
+<function name="gtk_about_dialog_get_system_information">
+<description>
+Returns the system information that is shown in the about dialog.
+
+
+</description>
+<parameters>
+<parameter name="about">
+<parameter_description> a #GtkAboutDialog
+</parameter_description>
+</parameter>
+</parameters>
+<return> the system information
+</return>
+</function>
+
<function name="gtk_about_dialog_get_translator_credits">
<description>
Returns the translator credits string which is displayed
@@ -18210,7 +18112,7 @@ Since: 2.6
<function name="gtk_about_dialog_set_documenters">
<description>
Sets the strings which are displayed in the documenters tab
-of the secondary credits dialog.
+of the credits dialog.
Since: 2.6
@@ -18339,6 +18241,28 @@ Since: 2.12
<return></return>
</function>
+<function name="gtk_about_dialog_set_system_information">
+<description>
+Sets the system information to be displayed in the about
+dialog. If @system_information is %NULL, the system information
+tab is hidden.
+
+See #GtkAboutdialog:system-information.
+
+</description>
+<parameters>
+<parameter name="about">
+<parameter_description> a #GtkAboutDialog
+</parameter_description>
+</parameter>
+<parameter name="system_information">
+<parameter_description> system information or %NULL
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_about_dialog_set_translator_credits">
<description>
Sets the translator credits string which is displayed in
@@ -19685,6 +19609,8 @@ Since: 3.12
<function name="gtk_action_bar_get_revealed">
<description>
+Gets the value of the #GtkActionBar:revealed property.
+
Since: 3.90
</description>
@@ -31465,44 +31391,86 @@ to @sizes.
<function name="gtk_drag_begin_with_coordinates">
<description>
+Initiates a drag on the source side. The function only needs to be used
+when the application is starting drags itself, and is not needed when
+gtk_drag_source_set() is used.
+
+The @event is used to retrieve the timestamp that will be used internally to
+grab the pointer. If @event is %NULL, then %GDK_CURRENT_TIME will be used.
+However, you should try to pass a real event in all cases, since that can be
+used to get information about the drag.
+
+Generally there are three cases when you want to start a drag by hand by
+calling this function:
+
+1. During a #GtkWidget::button-press-event handler, if you want to start a drag
+immediately when the user presses the mouse button. Pass the @event
+that you have in your #GtkWidget::button-press-event handler.
+
+2. During a #GtkWidget::motion-notify-event handler, if you want to start a drag
+when the mouse moves past a certain threshold distance after a button-press.
+Pass the @event that you have in your #GtkWidget::motion-notify-event handler.
+
+3. During a timeout handler, if you want to start a drag after the mouse
+button is held down for some time. Try to save the last event that you got
+from the mouse, using g_object_ref(), and pass it to this function
+(remember to free the event with g_object_unref() when you are done).
+If you can really not pass a real event, pass %NULL instead.
+
+Since: 3.10
</description>
<parameters>
<parameter name="widget">
-<parameter_description>
+<parameter_description> the source widget
</parameter_description>
</parameter>
-<parameter name="targets">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="actions">
-<parameter_description>
+<parameter name="device">
+<parameter_description> the device that starts the drag or %NULL to use the default
+pointer.
</parameter_description>
</parameter>
-<parameter name="button">
-<parameter_description>
+<parameter name="targets">
+<parameter_description> The targets (data formats) in which the
+source can provide the data
</parameter_description>
</parameter>
-<parameter name="event">
-<parameter_description>
+<parameter name="actions">
+<parameter_description> A bitmask of the allowed drag actions for this drag
</parameter_description>
</parameter>
<parameter name="x">
-<parameter_description>
+<parameter_description> The initial x coordinate to start dragging from, in the coordinate space
+of @widget.
</parameter_description>
</parameter>
<parameter name="y">
-<parameter_description>
+<parameter_description> The initial y coordinate to start dragging from, in the coordinate space
+of @widget.
</parameter_description>
</parameter>
</parameters>
-<return>
+<return> the context for this drag
+
</return>
</function>
<function name="gtk_drag_cancel">
<description>
+Cancels an ongoing drag operation on the source side.
+
+If you want to be able to cancel a drag operation in this way,
+you need to keep a pointer to the drag context, either from an
+explicit call to gtk_drag_begin_with_coordinates(), or by
+connecting to #GtkWidget::drag-begin.
+
+If @context does not refer to an ongoing drag operation, this
+function does nothing.
+
+If a drag is cancelled in this way, the @result argument of
+#GtkWidget::drag-failed is set to @GTK_DRAG_RESULT_ERROR.
+
+Since: 3.16
</description>
<parameters>
@@ -31516,6 +31484,10 @@ to @sizes.
<function name="gtk_drag_check_threshold">
<description>
+Checks to see if a mouse drag starting at (@start_x, @start_y) and ending
+at (@current_x, @current_y) has passed the GTK+ drag threshold, and thus
+should trigger the beginning of a drag-and-drop operation.
+
</description>
<parameters>
@@ -31540,7 +31512,8 @@ to @sizes.
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> %TRUE if the drag threshold has been passed.
+</return>
</function>
<function name="gtk_drag_dest_add_image_targets">
@@ -31801,24 +31774,21 @@ notification of drags.
<function name="gtk_drag_finish">
<description>
+Informs the drag source that the drop is finished, and
+that the data of the drag will no longer be required.
</description>
<parameters>
<parameter name="context">
-<parameter_description> the drag context.
+<parameter_description> the drag context
</parameter_description>
</parameter>
<parameter name="success">
<parameter_description> a flag indicating whether the drop was successful
</parameter_description>
</parameter>
-<parameter name="del">
-<parameter_description> a flag indicating whether the source should delete the
-original data. (This should be %TRUE for a move)
-</parameter_description>
-</parameter>
<parameter name="time_">
-<parameter_description> the timestamp from the #GtkWidget::drag-drop signal.
+<parameter_description> the timestamp from the #GtkWidget::drag-drop signal
</parameter_description>
</parameter>
</parameters>
@@ -31827,12 +31797,20 @@ original data. (This should be %TRUE for a move)
<function name="gtk_drag_get_data">
<description>
+Gets the data associated with a drag. When the data
+is received or the retrieval fails, GTK+ will emit a
+#GtkWidget::drag-data-received signal. Failure of the retrieval
+is indicated by the length field of the @selection_data
+signal parameter being negative. However, when gtk_drag_get_data()
+is called implicitely because the %GTK_DEST_DEFAULT_DROP was set,
+then the widget will not receive notification of failed
+drops.
</description>
<parameters>
<parameter name="widget">
<parameter_description> the widget that will receive the
-#GtkWidget::drag-data-received signal.
+#GtkWidget::drag-data-received signal
</parameter_description>
</parameter>
<parameter name="context">
@@ -31840,13 +31818,13 @@ original data. (This should be %TRUE for a move)
</parameter_description>
</parameter>
<parameter name="target">
-<parameter_description> the target (form of the data) to retrieve.
+<parameter_description> the target (form of the data) to retrieve
</parameter_description>
</parameter>
<parameter name="time_">
<parameter_description> a timestamp for retrieving the data. This will
-generally be the time received in a #GtkWidget::drag-motion"
-or #GtkWidget::drag-drop" signal.
+generally be the time received in a #GtkWidget::drag-motion
+or #GtkWidget::drag-drop signal
</parameter_description>
</parameter>
</parameters>
@@ -31855,6 +31833,8 @@ or #GtkWidget::drag-drop" signal.
<function name="gtk_drag_get_source_widget">
<description>
+Determines the source widget for a drag.
+
</description>
<parameters>
@@ -31863,12 +31843,17 @@ or #GtkWidget::drag-drop" signal.
</parameter_description>
</parameter>
</parameters>
-<return>
+<return> if the drag is occurring
+within a single application, a pointer to the source widget.
+Otherwise, %NULL.
</return>
</function>
<function name="gtk_drag_highlight">
<description>
+Highlights a widget as a currently hovered drop target.
+To end the highlight, call gtk_drag_unhighlight().
+GTK+ calls this automatically if %GTK_DEST_DEFAULT_HIGHLIGHT is set.
</description>
<parameters>
@@ -31888,8 +31873,8 @@ icon.
</description>
<parameters>
<parameter name="context">
-<parameter_description> the context for a drag. (This must be called
- with a context for the source side of a drag)
+<parameter_description> the context for a drag (This must be called
+with a context for the source side of a drag)
</parameter_description>
</parameter>
</parameters>
@@ -31940,7 +31925,7 @@ Since: 2.8
</description>
<parameters>
<parameter name="context">
-<parameter_description> the context for a drag. (This must be called
+<parameter_description> the context for a drag (This must be called
with a context for the source side of a drag)
</parameter_description>
</parameter>
@@ -31960,33 +31945,6 @@ with a context for the source side of a drag)
<return></return>
</function>
-<function name="gtk_drag_set_icon_pixbuf">
-<description>
-Sets @pixbuf as the icon for a given drag.
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> the context for a drag. (This must be called
-with a context for the source side of a drag)
-</parameter_description>
-</parameter>
-<parameter name="pixbuf">
-<parameter_description> the #GdkPixbuf to use as the drag icon.
-</parameter_description>
-</parameter>
-<parameter name="hot_x">
-<parameter_description> the X offset within @widget of the hotspot.
-</parameter_description>
-</parameter>
-<parameter name="hot_y">
-<parameter_description> the Y offset within @widget of the hotspot.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_drag_set_icon_surface">
<description>
Sets @surface as the icon for a given drag. GTK+ retains
@@ -32001,7 +31959,7 @@ surface.
</description>
<parameters>
<parameter name="context">
-<parameter_description> the context for a drag. (This must be called
+<parameter_description> the context for a drag (This must be called
with a context for the source side of a drag)
</parameter_description>
</parameter>
@@ -32048,8 +32006,8 @@ with a context for the source side of a drag)
<function name="gtk_drag_set_icon_widget">
<description>
-Changes the icon for a widget to a given widget. GTK+
-will not destroy the icon, so if you don’t want
+Changes the icon for drag operation to a given widget.
+GTK+ will not destroy the widget, so if you don’t want
it to persist, you should connect to the “drag-end”
signal and destroy it yourself.
@@ -32057,19 +32015,19 @@ signal and destroy it yourself.
<parameters>
<parameter name="context">
<parameter_description> the context for a drag. (This must be called
- with a context for the source side of a drag)
+ with a context for the source side of a drag)
</parameter_description>
</parameter>
<parameter name="widget">
-<parameter_description> a toplevel window to use as an icon.
+<parameter_description> a widget to use as an icon
</parameter_description>
</parameter>
<parameter name="hot_x">
-<parameter_description> the X offset within @widget of the hotspot.
+<parameter_description> the X offset within @widget of the hotspot
</parameter_description>
</parameter>
<parameter name="hot_y">
-<parameter_description> the Y offset within @widget of the hotspot.
+<parameter_description> the Y offset within @widget of the hotspot
</parameter_description>
</parameter>
</parameters>
@@ -32285,11 +32243,13 @@ Undoes the effects of gtk_drag_source_set().
<function name="gtk_drag_unhighlight">
<description>
+Removes a highlight set by gtk_drag_highlight() from
+a widget.
</description>
<parameters>
<parameter name="widget">
-<parameter_description> a widget to remove the highlight from.
+<parameter_description> a widget to remove the highlight from
</parameter_description>
</parameter>
</parameters>
@@ -35293,6 +35253,25 @@ controller action
</return>
</function>
+<function name="gtk_event_controller_motion_new">
+<description>
+Creates a new event controller that will handle motion events
+for the given @widget.
+
+Since: 3.94
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GtkEventControllerMotion
+
+</return>
+</function>
+
<function name="gtk_event_controller_reset">
<description>
Resets the @controller to a clean state. Every interaction
@@ -37374,9 +37353,9 @@ Since: 2.4
<function name="gtk_file_chooser_set_local_only">
<description>
Sets whether only local files can be selected in the
-file selector. If @local_only is %TRUE (the default),
+file selector. If @local_only is %TRUE (the default is %FALSE),
then the selected file or files are guaranteed to be
-accessible through the operating systems native file
+accessible through the operating system’s native file
system and therefore the application only
needs to worry about the filename functions in
#GtkFileChooser, like gtk_file_chooser_get_filename(),
@@ -40597,7 +40576,7 @@ Since: 3.0
<function name="gtk_get_current_event">
<description>
-Obtains a copy of the event currently being processed by GTK+.
+Obtains a reference of the event currently being processed by GTK+.
For example, if you are handling a #GtkButton::clicked signal,
the current event will be the #GdkEventButton that triggered
@@ -40607,9 +40586,9 @@ the ::clicked signal.
</description>
<parameters>
</parameters>
-<return> a copy of the current event, or
+<return> a reference of the current event, or
%NULL if there is no current event. The returned event must be
-freed with gdk_event_free().
+freed with g_object_unref().
</return>
</function>
@@ -41854,12 +41833,12 @@ for a subtitle
</return>
</function>
-<function name="gtk_header_bar_get_show_close_button">
+<function name="gtk_header_bar_get_show_title_buttons">
<description>
Returns whether this header bar shows the standard window
-decorations.
+title buttons.
-Since: 3.10
+Since: 3.94
</description>
<parameters>
@@ -41868,7 +41847,7 @@ Since: 3.10
</parameter_description>
</parameter>
</parameters>
-<return> %TRUE if the decorations are shown
+<return> %TRUE if title buttons are shown
</return>
</function>
@@ -42056,12 +42035,12 @@ Since: 3.12
<return></return>
</function>
-<function name="gtk_header_bar_set_show_close_button">
+<function name="gtk_header_bar_set_show_title_buttons">
<description>
-Sets whether this header bar shows the standard window decorations,
-including close, maximize, and minimize.
+Sets whether this header bar shows the standard window
+title buttons including close, maximize, and minimize.
-Since: 3.10
+Since: 3.94
</description>
<parameters>
@@ -42070,7 +42049,7 @@ Since: 3.10
</parameter_description>
</parameter>
<parameter name="setting">
-<parameter_description> %TRUE to show standard window decorations
+<parameter_description> %TRUE to show standard title buttons
</parameter_description>
</parameter>
</parameters>
@@ -45697,7 +45676,7 @@ you should use gtk_image_new_from_icon_name().
</description>
<parameters>
-<parameter name="pixbuf">
+<parameter name="texture">
<parameter_description> a #GdkTexture, or %NULL
</parameter_description>
</parameter>
@@ -53062,8 +53041,6 @@ will initiate a drag cancel animation.
static void
on_drag_data_received (GtkWidget *widget,
GdkDragContext *context,
-gint x,
-gint y,
GtkSelectionData *data,
guint time,
gpointer user_data)
@@ -66301,103 +66278,6 @@ Since: 3.6
</return>
</function>
-<function name="gtk_selection_add_target">
-<description>
-Appends a specified target to the list of supported targets for a
-given widget and selection.
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> the selection
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> target to add.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_selection_add_targets">
-<description>
-Prepends a table of targets to the list of supported targets
-for a given widget and selection.
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> the selection
-</parameter_description>
-</parameter>
-<parameter name="targets">
-<parameter_description> the targets to add
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_selection_clear_targets">
-<description>
-Remove all targets registered for the given selection for the
-widget.
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an atom representing a selection
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_selection_convert">
-<description>
-Requests the contents of a selection. When received,
-a “selection-received” signal will be generated.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> The widget which acts as requestor
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> Which selection to get
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> Form of information desired (e.g., STRING)
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> Time of request (usually of triggering event)
- In emergency, you could use #GDK_CURRENT_TIME
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if requested succeeded. %FALSE if we could not process
-request. (e.g., there was already a request in process for
-this widget).
-</return>
-</function>
-
<function name="gtk_selection_data_copy">
<description>
Makes a copy of a #GtkSelectionData-struct and its data.
@@ -66564,24 +66444,6 @@ g_object_unref().
</return>
</function>
-<function name="gtk_selection_data_get_selection">
-<description>
-Retrieves the selection #GdkAtom of the selection data.
-
-Since: 2.16
-
-</description>
-<parameters>
-<parameter name="selection_data">
-<parameter_description> a pointer to a #GtkSelectionData-struct.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the selection #GdkAtom of the selection data.
-
-</return>
-</function>
-
<function name="gtk_selection_data_get_surface">
<description>
Gets the contents of the selection data as a cairo surface.
@@ -66941,79 +66803,6 @@ and a suitable target for URI lists is included, otherwise %FALSE.
</return>
</function>
-<function name="gtk_selection_owner_set">
-<description>
-Claims ownership of a given selection for a particular widget,
-or, if @widget is %NULL, release ownership of the selection.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an interned atom representing the selection to claim
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> timestamp with which to claim the selection
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the operation succeeded
-</return>
-</function>
-
-<function name="gtk_selection_owner_set_for_display">
-<description>
-Claim ownership of a given selection for a particular widget, or,
-if @widget is %NULL, release ownership of the selection.
-
-Since: 2.2
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the #GdkDisplay where the selection is set
-</parameter_description>
-</parameter>
-<parameter name="widget">
-<parameter_description> new selection owner (a #GtkWidget), or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="selection">
-<parameter_description> an interned atom representing the selection to claim.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> timestamp with which to claim the selection
-</parameter_description>
-</parameter>
-</parameters>
-<return> TRUE if the operation succeeded
-
-</return>
-</function>
-
-<function name="gtk_selection_remove_all">
-<description>
-Removes all handlers and unsets ownership of all
-selections for a widget. Called when widget is being
-destroyed. This function will not generally be
-called by applications.
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_separator_menu_item_new">
<description>
Creates a new #GtkSeparatorMenuItem.
@@ -90076,7 +89865,7 @@ g_object_ref (fevent->focus_change.window);
gtk_widget_send_focus_change (widget, fevent);
-gdk_event_free (event);
+g_object_unref (event);
]|
Since: 2.20
@@ -90245,9 +90034,8 @@ the clip will be set to @widget's allocation.
<description>
Sets the cursor to be shown when pointer devices point towards @widget.
-If the @cursor is NULL, @widget will use the cursor specified via CSS
-or the parent widget. If neither specifies a cursor, the default cursor
-will be shown. This is the default behavior.
+If the @cursor is NULL, @widget will use the cursor inherited from the
+parent widget.
Since: 3.94
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index 4eaea7f..f8e28fe 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -288,46 +288,6 @@ override the defaults. The returned array will be empty if
</return>
</function>
-<function name="gtk_accel_label_get_accel_width">
-<description>
-Gets the width needed to display this accelerator label. This is used by menus to align all of the
Gtk::MenuItem widgets, and shouldn't be needed by applications.
-</description>
-<parameters>
-</parameters>
-<return> width of this accelerator label.
-</return>
-</function>
-
-<function name="gtk_accel_label_refetch">
-<description>
-Recreates the string representing the accelerator keys.
-</description>
-<parameters>
-</parameters>
-<return> always returns %FALSE.
-</return>
-</function>
-
-<function name="gtk_adjustment_changed">
-<description>
-Emits a "changed" signal from the Adjustment. This is typically called by the owner of the Adjustment after
it has changed any of the Adjustment fields other than the value.
-</description>
-<parameters>
-</parameters>
-<return>
-</return>
-</function>
-
-<function name="gtk_adjustment_value_changed">
-<description>
-Emits a "value_changed" signal from the Adjustment. This is typically called by the owner of the Adjustment
after it has changed the Adjustment value field.
-</description>
-<parameters>
-</parameters>
-<return>
-</return>
-</function>
-
<function name="gtk_adjustment_clamp_page">
<description>
Updates the Adjustment value to ensure that the range between the parameters @lower and @upper is in the
current page (i.e. between @value and @value + @page_size). If this range is larger than the page size, then
only the start of it will be in the current page. A "changed" signal will be emitted if the value is changed.
@@ -750,15 +710,6 @@ passes the correct target list to this function.
<mapping class="Widget" />
</function>
-<function name="gtk_clipboard_wait_for_text">
-<return> A UTF-8 string, which is empty if retrieving
-the selection data failed. (This could happen
-for various reasons, in particular if the
-clipboard was empty or if the contents of the
-clipboard could not be converted into text form.)
-</return>
-</function>
-
<function name="gtk_tree_path_to_string">
<parameters>
<parameter name="path">
@@ -785,6 +736,7 @@ clipboard could not be converted into text form.)
</return>
</function>
+<!-- gmmproc is confused if the GError** parameter is not called "error" -->
<function name="gtk_window_set_icon_from_file">
<description>
Sets the icon for the window.
@@ -801,6 +753,10 @@ with a pixbuf created by loading the image from @filename.
<parameter_description> location of icon file
</parameter_description>
</parameter>
+<parameter name="error">
+<parameter_description> location to store error, or %NULL.
+</parameter_description>
+</parameter>
</parameters>
</function>
@@ -821,12 +777,22 @@ with a pixbuf created by loading the image from @filename.
</parameters>
</function>
+<!-- gmmproc is confused if the GError** parameter is not called "error" -->
<function name="gtk_window_set_default_icon_from_file">
+<description>
+Sets an icon to be used as fallback for windows that haven't
+had gtk_window_set_icon_list() called on them from a file
+on disk.
+</description>
<parameters>
<parameter name="filename">
<parameter_description> location of icon file
</parameter_description>
</parameter>
+<parameter name="error">
+<parameter_description> location to store error, or %NULL.
+</parameter_description>
+</parameter>
</parameters>
</function>
@@ -1746,24 +1712,16 @@ constructed by the Gtk::Builder instance.
</return>
</function>
-
<!-- TODO: Remove this signal description when gtk+'s description contains -->
-<!-- the correct number of parameters (no @info). -->
-<signal name="GtkWidget::selection-get">
-<description>
-
-</description>
+<!-- the correct number of parameters (@open_flags). -->
+<signal name="GtkPlacesSidebar::show-starred-location">
<parameters>
-<parameter name="widget">
+<parameter name="sidebar">
<parameter_description> the object which received the signal.
</parameter_description>
</parameter>
-<parameter name="selection_data">
-<parameter_description>
-</parameter_description>
-</parameter>
-<parameter name="time">
-<parameter_description>
+<parameter name="open_flags">
+<parameter_description> a single value from #GtkPlacesOpenFlags specifying how it should be opened.
</parameter_description>
</parameter>
</parameters>
@@ -1801,5 +1759,28 @@ See gtk_selection_data_set() and gtk_selection_data_set_text().
<return></return>
</signal>
+<!-- TODO: Remove this signal description when gtk+'s description contains -->
+<!-- the correct number of parameters (no @x, no @y). -->
+<signal name="GtkWidget::drag-data-received">
+<parameters>
+<parameter name="widget">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description> the drag context
+</parameter_description>
+</parameter>
+<parameter name="data">
+<parameter_description> the received data
+</parameter_description>
+</parameter>
+<parameter name="time">
+<parameter_description> the timestamp at which the data was received
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
</root>
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 6379de8..8b5b7e0 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -8276,7 +8276,6 @@
(parameters
'("GdkDragContext*" "context")
'("gboolean" "success")
- '("gboolean" "del")
'("guint32" "time_")
)
)
@@ -8310,10 +8309,9 @@
(return-type "GdkDragContext*")
(parameters
'("GtkWidget*" "widget")
+ '("GdkDevice*" "device")
'("GdkContentFormats*" "targets")
'("GdkDragAction" "actions")
- '("gint" "button")
- '("GdkEvent*" "event")
'("gint" "x")
'("gint" "y")
)
@@ -9713,6 +9711,24 @@
+;; From gtkeventcontrollermotion.h
+
+(define-function gtk_event_controller_motion_get_type
+ (c-name "gtk_event_controller_motion_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_event_controller_motion_new
+ (c-name "gtk_event_controller_motion_new")
+ (is-constructor-of "GtkEventControllerMotion")
+ (return-type "GtkEventController*")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+
+
;; From gtkeventcontrollerscroll.h
(define-function gtk_event_controller_scroll_get_type
@@ -12147,15 +12163,15 @@
)
)
-(define-method get_show_close_button
+(define-method get_show_title_buttons
(of-object "GtkHeaderBar")
- (c-name "gtk_header_bar_get_show_close_button")
+ (c-name "gtk_header_bar_get_show_title_buttons")
(return-type "gboolean")
)
-(define-method set_show_close_button
+(define-method set_show_title_buttons
(of-object "GtkHeaderBar")
- (c-name "gtk_header_bar_set_show_close_button")
+ (c-name "gtk_header_bar_set_show_title_buttons")
(return-type "none")
(parameters
'("gboolean" "setting")
@@ -22206,81 +22222,6 @@
)
)
-(define-function gtk_selection_owner_set
- (c-name "gtk_selection_owner_set")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkAtom" "selection")
- '("guint32" "time_")
- )
-)
-
-(define-function gtk_selection_owner_set_for_display
- (c-name "gtk_selection_owner_set_for_display")
- (return-type "gboolean")
- (parameters
- '("GdkDisplay*" "display")
- '("GtkWidget*" "widget")
- '("GdkAtom" "selection")
- '("guint32" "time_")
- )
-)
-
-(define-function gtk_selection_add_target
- (c-name "gtk_selection_add_target")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkAtom" "selection")
- '("GdkAtom" "target")
- )
-)
-
-(define-function gtk_selection_add_targets
- (c-name "gtk_selection_add_targets")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkAtom" "selection")
- '("GdkContentFormats*" "targets")
- )
-)
-
-(define-function gtk_selection_clear_targets
- (c-name "gtk_selection_clear_targets")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkAtom" "selection")
- )
-)
-
-(define-function gtk_selection_convert
- (c-name "gtk_selection_convert")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkAtom" "selection")
- '("GdkAtom" "target")
- '("guint32" "time_")
- )
-)
-
-(define-function gtk_selection_remove_all
- (c-name "gtk_selection_remove_all")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-method get_selection
- (of-object "GtkSelectionData")
- (c-name "gtk_selection_data_get_selection")
- (return-type "GdkAtom")
-)
-
(define-method get_target
(of-object "GtkSelectionData")
(c-name "gtk_selection_data_get_target")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 3c732db..90a8e01 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -636,13 +636,13 @@
;; From GtkAssistant
-(define-signal cancel
+(define-signal close
(of-object "GtkAssistant")
(return-type "void")
(flags "Run Last")
)
-(define-signal close
+(define-signal cancel
(of-object "GtkAssistant")
(return-type "void")
(flags "Run Last")
@@ -2656,12 +2656,6 @@
;; From GtkEntry
-(define-signal activate
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
-)
-
(define-signal populate-popup
(of-object "GtkEntry")
(return-type "void")
@@ -2671,6 +2665,12 @@
)
)
+(define-signal activate
+ (of-object "GtkEntry")
+ (return-type "void")
+ (flags "Run Last, Action")
+)
+
(define-signal move-cursor
(of-object "GtkEntry")
(return-type "void")
@@ -4360,22 +4360,22 @@
;; From GtkGLArea
-(define-signal resize
+(define-signal render
(of-object "GtkGLArea")
- (return-type "void")
+ (return-type "gboolean")
(flags "Run Last")
(parameters
- '("gint" "p0")
- '("gint" "p1")
+ '("GdkGLContext*" "p0")
)
)
-(define-signal render
+(define-signal resize
(of-object "GtkGLArea")
- (return-type "gboolean")
+ (return-type "void")
(flags "Run Last")
(parameters
- '("GdkGLContext*" "p0")
+ '("gint" "p0")
+ '("gint" "p1")
)
)
@@ -4547,10 +4547,10 @@
(default-value "6")
)
-(define-property show-close-button
+(define-property show-title-buttons
(of-object "GtkHeaderBar")
(prop-type "GParamBoolean")
- (docs "Whether to show window decorations")
+ (docs "Whether to show title buttons")
(readable #t)
(writable #t)
(construct-only #f)
@@ -5785,6 +5785,12 @@
;; From GtkMenuShell
+(define-signal cancel
+ (of-object "GtkMenuShell")
+ (return-type "void")
+ (flags "Run Last, Action")
+)
+
(define-signal deactivate
(of-object "GtkMenuShell")
(return-type "void")
@@ -5815,12 +5821,6 @@
)
)
-(define-signal cancel
- (of-object "GtkMenuShell")
- (return-type "void")
- (flags "Run Last, Action")
-)
-
(define-signal cycle-focus
(of-object "GtkMenuShell")
(return-type "void")
@@ -11499,6 +11499,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEvent*" "p0")
)
@@ -11508,6 +11509,7 @@
(of-object "GtkWidget")
(return-type "void")
(flags "")
+ (deprecated #t)
(parameters
'("GdkEvent*" "p0")
)
@@ -11517,6 +11519,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventButton*" "p0")
)
@@ -11526,6 +11529,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventButton*" "p0")
)
@@ -11535,6 +11539,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventTouch*" "p0")
)
@@ -11544,6 +11549,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventScroll*" "p0")
)
@@ -11553,6 +11559,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventMotion*" "p0")
)
@@ -11598,6 +11605,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventCrossing*" "p0")
)
@@ -11607,6 +11615,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventCrossing*" "p0")
)
@@ -11657,66 +11666,11 @@
)
)
-(define-signal property-notify-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("GdkEventProperty*" "p0")
- )
-)
-
-(define-signal selection-clear-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("GdkEventSelection*" "p0")
- )
-)
-
-(define-signal selection-request-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("GdkEventSelection*" "p0")
- )
-)
-
-(define-signal selection-notify-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("GdkEventSelection*" "p0")
- )
-)
-
-(define-signal selection-received
- (of-object "GtkWidget")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkSelectionData*" "p0")
- '("guint" "p1")
- )
-)
-
-(define-signal selection-get
- (of-object "GtkWidget")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkSelectionData*" "p0")
- '("guint" "p1")
- )
-)
-
(define-signal proximity-in-event
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventProximity*" "p0")
)
@@ -11726,6 +11680,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
'("GdkEventProximity*" "p0")
)
@@ -11819,19 +11774,8 @@
(flags "Run Last")
(parameters
'("GdkDragContext*" "p0")
- '("gint" "p1")
- '("gint" "p2")
- '("GtkSelectionData*" "p3")
- '("guint" "p4")
- )
-)
-
-(define-signal window-state-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("GdkEventWindowState*" "p0")
+ '("GtkSelectionData*" "p1")
+ '("guint" "p2")
)
)
diff --git a/gtk/src/gtk_signals.defs.patch b/gtk/src/gtk_signals.defs.patch
index 13e6d0d..3e7b346 100644
--- a/gtk/src/gtk_signals.defs.patch
+++ b/gtk/src/gtk_signals.defs.patch
@@ -1,5 +1,5 @@
---- ./../../gtk/src/gtk_signals.defs.orig 2017-12-03 10:55:53.129734525 +0100
-+++ ./../../gtk/src/gtk_signals.defs 2017-12-03 10:55:53.181734517 +0100
+--- ./../../gtk/src/gtk_signals.defs.orig 2017-12-16 10:19:02.792433346 +0100
++++ ./../../gtk/src/gtk_signals.defs 2017-12-16 10:25:33.054013331 +0100
@@ -2276,11 +2276,11 @@
(define-signal color-activated
(of-object "GtkColorChooser")
@@ -248,11 +248,11 @@
(define-signal mnemonic-activate
(of-object "GtkWidget")
-@@ -11516,182 +11516,182 @@
- (define-signal button-press-event
+@@ -11519,172 +11519,172 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventButton*" "p0")
@@ -263,6 +263,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventButton*" "p0")
@@ -273,6 +274,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventTouch*" "p0")
@@ -283,6 +285,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventScroll*" "p0")
@@ -293,6 +296,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventMotion*" "p0")
@@ -343,6 +347,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventCrossing*" "p0")
@@ -353,6 +358,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventCrossing*" "p0")
@@ -409,53 +415,11 @@
)
)
- (define-signal property-notify-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
-- '("GdkEvent*" "p0")
-+ '("GdkEventProperty*" "p0")
- )
- )
-
- (define-signal selection-clear-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
-- '("GdkEvent*" "p0")
-+ '("GdkEventSelection*" "p0")
- )
- )
-
- (define-signal selection-request-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
-- '("GdkEvent*" "p0")
-+ '("GdkEventSelection*" "p0")
- )
- )
-
- (define-signal selection-notify-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
-- '("GdkEvent*" "p0")
-+ '("GdkEventSelection*" "p0")
- )
- )
-
- (define-signal selection-received
- (of-object "GtkWidget")
-@@ -11716,20 +11716,20 @@
(define-signal proximity-in-event
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventProximity*" "p0")
@@ -466,6 +430,7 @@
(of-object "GtkWidget")
(return-type "gboolean")
(flags "Run Last")
+ (deprecated #t)
(parameters
- '("GdkEvent*" "p0")
+ '("GdkEventProximity*" "p0")
@@ -474,17 +439,7 @@
(define-signal drag-leave
(of-object "GtkWidget")
-@@ -11829,20 +11829,20 @@
- (define-signal window-state-event
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
-- '("GdkEvent*" "p0")
-+ '("GdkEventWindowState*" "p0")
- )
- )
-
+@@ -11782,11 +11782,11 @@
(define-signal grab-broken-event
(of-object "GtkWidget")
(return-type "gboolean")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]