Function

Gtk-3.0Gtkselection_owner_set_for_displaySince 2.2

  • Claim ownership of a given selection for a particular widget, or, if widget is null, release ownership of the selection.

    Parameters

    • display: Gdk.Display

      the Gdk.Display where the selection is set

    • widget: Gtk.Widget

      new selection owner (a Gtk.Widget), or null.

    • selection: Gdk.Atom

      an interned atom representing the selection to claim.

    • time_: number

      timestamp with which to claim the selection

    Returns boolean

    TRUE if the operation succeeded

    2.2