Function

Gtk-3.0Gtkselection_owner_set

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

    Parameters

    • widget: Gtk.Widget

      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