Package topo :: Package tkgui :: Module editor :: Class EditorNode
[hide private]
[frames] | no frames]

Class EditorNode

source code


An EditorNode is used to cover any topographica node, presently this can only be a sheet. It is a sub class of EditorObject and supplies the methods required by any node to be used in a EditorCanvas. Extending classes will supply a draw method and other type specific attributes.
Instance Methods [hide private]
 
__init__(self, canvas, simobj, pos, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
attach_connection(self, con, from_to) source code
 
remove_connection(self, con, from_to) source code
 
get_pos(self) source code
 
show_properties(self)
Show parameters frame for object.
source code
 
view_connection_parameters(self, *args) source code

Inherited from EditorObject: draw, in_bounds, move, objdoc, okay_parameters, remove, set_focus, update_parameters

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from EditorObject: FROM, TO

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, canvas, simobj, pos, name)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

show_properties(self)

source code 
Show parameters frame for object.
Overrides: EditorObject.show_properties
(inherited documentation)