Package gui :: Module uf_objects :: Class Uf_storage
[hide private]
[frames] | no frames]

Class Uf_storage

source code


A singleton container for holding all the GUI user functions.

Instance Methods [hide private]
str
get_uf(self, id=0)
Return the name of the user function corresponding to the given wx ID.
source code

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __init__, __iter__, __le__, __len__, __lt__, __ne__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(self, *args, **kargs)
Replacement method for implementing the singleton design pattern.
source code
Class Variables [hide private]
  _instance = {'pcs.display': <gui.uf_objects.Uf_object object a...

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(self, *args, **kargs)
Static Method

source code 

Replacement method for implementing the singleton design pattern.

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

get_uf(self, id=0)

source code 

Return the name of the user function corresponding to the given wx ID.

Parameters:
  • id (int) - The unique wx ID number.
Returns: str
The name of the user function.

Class Variable Details [hide private]

_instance

Value:
{'pcs.display': <gui.uf_objects.Uf_object object at 0x33b8ed0>, 'pymol\
.command': <gui.uf_objects.Uf_object object at 0x33b7350>, 'molecule.c\
opy': <gui.uf_objects.Uf_object object at 0x33b8590>, 'dasha.create': \
<gui.uf_objects.Uf_object object at 0x33afa50>, 'spectrum.replicated':\
 <gui.uf_objects.Uf_object object at 0x33b9790>, 'noe.spectrum_type': \
<gui.uf_objects.Uf_object object at 0x33b8c50>, 'frame_order.num_int_p\
ts': <gui.uf_objects.Uf_object object at 0x33afed0>, 'monte_carlo.on':\
 <gui.uf_objects.Uf_object object at 0x33b8a10>, 'pipe.bundle': <gui.u\
...