GLib.Source.prototype.get_name
function get_name(): String { // Gjs wrapper for g_source_get_name() }
Gets a name for the source, used in debugging and profiling. The name may be #NULL if it has never been set with GLib.Source.prototype.set_name.
Since 2.26
- Returns
the name of the source