Gst.Preset.prototype.rename_preset
function rename_preset(old_name:String, new_name:String):Boolean { // Gjs wrapper for gst_preset_rename_preset() }
Renames a preset. If there is already a preset by the new_name it will be overwritten.
- old_name
current preset name
- new_name
new preset name
- Returns
true for success, false if e.g. there is no preset with old_name