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.

topo.tkgui.start(mainloop=False, banner=True, exit_on_quit=True)[source]

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.

Table Of Contents

This Page