owner_get_for_display


Description:


[ Version ( since = "2.2" ) ]
public unowned Window? owner_get_for_display (Display display, Atom selection)

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.

Parameters:

display

a Display

selection

an atom indentifying a selection

Returns:

if there is a selection owner for this window, and it is a window known to the current process, the Window that owns the selection, otherwise null.


Namespace: Gdk.Selection
Package: gdk-3.0