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

Package tkgui

source code

Tk-based graphical user interface (GUI).

This package implements a Topographica GUI based on the Tk toolkit, through the Tkinter interface to Python. The rest of Topographica does not depend on this package or any module in it, and thus other GUIs or other types of interfaces can also be used.

$Id: __init__.py 11264 2010-07-21 18:12:49Z ceball $


Version: $Revision: 11264 $

Submodules [hide private]

Functions [hide private]
 
start(mainloop=False, banner=True)
Start Tk and read in an options_database file (if present), then open a TopoConsole.
source code
Variables [hide private]
  system_platform = 'linux'
  right_click_events = ['<Button-3>']
  right_click_release_events = ['ButtonRelease-2']
  TK_SUPPORTS_DOCK = True
  console = None
  __package__ = 'topo.tkgui'
Function Details [hide private]

start(mainloop=False, banner=True)

source code 

Start Tk and read in an options_database file (if present), then open a TopoConsole.

Does nothing if the method has previously been called (i.e. the module-level console variable is not None).

mainloop: If True, then the command-line is frozen while the GUI is open. If False, then commands can be entered at the command-line even while the GUI is operational. Default is False.