neurotorchmz.gui.events#

Classes

ImageObjectChangedEvent(*args, **kwds)

Triggers after the ImageObject of a session was changed

SynapseTreeviewContextMenuEvent(*args, **kwds)

This event is called when a SynapseTreeview is generating its context menu.

WindowLoadedEvent(*args, **kwds)

Triggers after the GUI has loaded

WindowTKReadyEvent(*args, **kwds)

Triggers after the GUI has loaded and tkinter is in main loop

class neurotorchmz.gui.events.ImageObjectChangedEvent(*args: Any, **kwds: Any)#

Bases: Event

Triggers after the ImageObject of a session was changed

HOOKS: list[Callable[[Self], None]] = []#
class neurotorchmz.gui.events.SynapseTreeviewContextMenuEvent(*args: Any, **kwds: Any)#

Bases: Event

This event is called when a SynapseTreeview is generating its context menu. As the menu is recreated on every click, a hook into the WindowLoadedEvent is not working

HOOKS: list[Callable[[Self], None]] = []#
class neurotorchmz.gui.events.WindowLoadedEvent(*args: Any, **kwds: Any)#

Bases: Event

Triggers after the GUI has loaded

HOOKS: list[Callable[[Self], None]] = []#
menu_plugins(plugin_module) Menu#

Get the menu for the corosponding plugin

property menu_settings: Menu#
class neurotorchmz.gui.events.WindowTKReadyEvent(*args: Any, **kwds: Any)#

Bases: WindowLoadedEvent

Triggers after the GUI has loaded and tkinter is in main loop

HOOKS: list[Callable[[Self], None]] = []#