Gtk.SelectionData.prototype.get_data_type

function get_data_type():Gdk.Atom {
    // Gjs wrapper for gtk_selection_data_get_data_type()
}

Retrieves the data type of the selection.

Since 2.14

Returns

the data type of the selection.