Gtk.SelectionData.prototype.get_target

function get_target():Gdk.Atom {
    // Gjs wrapper for gtk_selection_data_get_target()
}

Retrieves the target of the selection.

Since 2.14

Returns

the target of the selection.