PresetIfaceProxy

Proxy object for Gst.Preset interface when a GObject has no applicable D binding

class PresetIfaceProxy : IfaceProxy , Preset {}

Mixed In Members

From mixin PresetT!()

deletePreset
bool deletePreset(string name)

Delete the given preset.

getMeta
bool getMeta(string name, string tag, string value)

Gets the value for an existing meta data tag. Meta data tag names can be something like e.g. "comment". Returned values need to be released when done.

getPresetNames
string[] getPresetNames()

Get a copy of preset names as a null terminated string array.

getPropertyNames
string[] getPropertyNames()

Get a the names of the GObject properties that can be used for presets.

isEditable
bool isEditable()

Check if one can add new presets, change existing ones and remove presets.

loadPreset
bool loadPreset(string name)

Load the given preset.

renamePreset
bool renamePreset(string oldName, string newName)

Renames a preset. If there is already a preset by the new_name it will be overwritten.

savePreset
bool savePreset(string name)

Save the current object settings as a preset under the given name. If there is already a preset by this name it will be overwritten.

setMeta
bool setMeta(string name, string tag, string value)

Sets a new value for an existing meta data item or adds a new item. Meta data tag names can be something like e.g. "comment". Supplying null for the value will unset an existing value.

Inherited Members

From Preset

getAppDir
string getAppDir()

Gets the directory for application specific presets if set by the application.

setAppDir
bool setAppDir(string appDir)

Sets an extra directory as an absolute path that should be considered when looking for presets. Any presets in the application dir will shadow the system presets.

deletePreset
bool deletePreset(string name)

Delete the given preset.

getMeta
bool getMeta(string name, string tag, string value)

Gets the value for an existing meta data tag. Meta data tag names can be something like e.g. "comment". Returned values need to be released when done.

getPresetNames
string[] getPresetNames()

Get a copy of preset names as a null terminated string array.

getPropertyNames
string[] getPropertyNames()

Get a the names of the GObject properties that can be used for presets.

isEditable
bool isEditable()

Check if one can add new presets, change existing ones and remove presets.

loadPreset
bool loadPreset(string name)

Load the given preset.

renamePreset
bool renamePreset(string oldName, string newName)

Renames a preset. If there is already a preset by the new_name it will be overwritten.

savePreset
bool savePreset(string name)

Save the current object settings as a preset under the given name. If there is already a preset by this name it will be overwritten.

setMeta
bool setMeta(string name, string tag, string value)

Sets a new value for an existing meta data item or adds a new item. Meta data tag names can be something like e.g. "comment". Supplying null for the value will unset an existing value.