Gst.Structure.prototype.to_string
function to_string():String { // Gjs wrapper for gst_structure_to_string() }
Converts structure to a human-readable string representation.
For debugging purposes its easier to do something like this: |[ GST_LOG ("structure is %" GST_PTR_FORMAT, structure); ]| This prints the structure in human readble form.
Free-function: g_free
- Returns
a pointer to string allocated by GLib.malloc. GLib.free after usage.