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

Module editor

source code

The GUI model editor.

Tools: for the editor menu bar Objects: that can be manipulated in the canvas Window: window and canvas

Originally written by Alan Lindsay.

$Id: editor.py 11310 2010-07-27 16:56:14Z ceball $


Version: $Revision: 8989 $

Classes [hide private]
  EditorCanvas
EditorCanvas extends the Tk Canvas class.
  ModelEditor
This class constructs the main editor window.
  ArrowTool
ArrowTool is a selectable frame containing an arrow icon and a label.
  NodeTool
NodeTool extends Frame.
  ConnectionTool
ConnectionTool extends Frame.
  ParametersTool
  EditorObject
Anything that can be added and manipulated in an EditorCanvas.
  EditorNode
An EditorNode is used to cover any topographica node, presently this can only be a sheet.
  EditorEP
Represents any topo EventProcessor as a small, fixed-size oval by default.
  EditorSheet
Represents any topo sheet.
  EditorConnection
A connection formed between 2 EditorNodes on a EditorCanvas.
  EditorEPConnection
Represents any topo EPConnection using a line with an arrow head in the middle.
  EditorProjection
Represents any topo CFProjection.
Functions [hide private]
 
names_sorted_by_precedence(classes) source code
Variables [hide private]
  canvas_width = 1200
  scaling_factor = 1.0
  enlarging_factor = 1.25
  canvas_region = (0, 0, 1200, 1200)
Size of the canvas, as a bounding box (xl yl xh yh).
  __package__ = 'topo.tkgui'