Package aldrin :: Module preset :: Class Preset
[show private | hide private]
[frames | no frames]

Class Preset


A class to hold preset data.
Method Summary
  __init__(self, f)
Loads the preset from a file.
  apply(self, plugin)
Apply the preset to a currently loaded plugin.
  pickup(self, plugin)
Pickup the preset from a currently loaded plugin.
  save(self, filehandle)
Writes the preset to an open filehandle.

Method Details

__init__(self, f=None)
(Constructor)

Loads the preset from a file.
Parameters:
f - handle to open preset file.
           (type=file)

apply(self, plugin)

Apply the preset to a currently loaded plugin.
Parameters:
plugin - The plugin to which to apply the preset.
           (type=zzub.Plugin)

pickup(self, plugin)

Pickup the preset from a currently loaded plugin.
Parameters:
plugin - The plugin from which to pick up parameters.
           (type=zzub.Plugin)

save(self, filehandle)

Writes the preset to an open filehandle.
Parameters:
filehandle - Handle to an open preset file.
           (type=file)

Generated by Epydoc 2.1 on Sun Feb 4 18:01:14 2007 http://epydoc.sf.net