Gtk.SelectionData.prototype.get_selection

function get_selection():Gdk.Atom {
    // Gjs wrapper for gtk_selection_data_get_selection()
}

Retrieves the selection Gdk.Atom of the selection data.

Since 2.16

Returns

the selection Gdk.Atom of the selection data.