Gst.Object.prototype.get_name
function get_name():String { // Gjs wrapper for gst_object_get_name() }
Returns a copy of the name of object. Caller should GLib.free the return value after usage. For a nameless object, this returns NULL, which you can safely GLib.free as well.
Free-function: g_free
- Returns
the name of object. GLib.free after usage. MT safe. This function grabs and releases object's LOCK.