Package wx :: Class ConfigPathChanger
[frames | no frames]

Type ConfigPathChanger

object --+
         |
        ConfigPathChanger


A handy little class which changes current path to the path of given entry and restores it in the destructoir: so if you declare a local variable of this type, you work in the entry directory and the path is automatically restored when the function returns.


Method Summary
ConfigPathChanger __init__(self, config, entry)
  __del__(self)
  __repr__(self)
String Name(self)
Get the key name
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

Name(self)

Get the key name

Returns:
String

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:46:53 2007 http://epydoc.sf.net