gdk: document selection owner accessor

This commit is contained in:
Daemonratte 2026-05-10 10:30:26 +02:00
commit d5f3df6c62

View file

@ -71,6 +71,16 @@ gboolean gdk_selection_owner_set (GdkWindow *owner,
GdkAtom selection,
guint32 time_,
gboolean send_event);
/**
* gdk_selection_owner_get:
* @selection: an atom identifying a selection.
*
* Determines the owner of the given selection.
*
* Returns: (transfer none): 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.
*/
GdkWindow* gdk_selection_owner_get (GdkAtom selection);
#endif/* GDK_MULTIHEAD_SAFE */