diplomat.wx_gui.fpe_editor.Tool
- class diplomat.wx_gui.fpe_editor.Tool(name: str, icon: bytes, icon_size: Tuple[int, int], help: str, on_click: Callable[[], NoneType], widget: wx.Window | None = None, shortcut_code: tuple = (), toolbar_obj: wx.ToolBarToolBase | None = None)[source]
Bases:
object- __init__(name: str, icon: bytes, icon_size: Tuple[int, int], help: str, on_click: Callable[[], None], widget: wx.Window | None = None, shortcut_code: tuple = (), toolbar_obj: wx.ToolBarToolBase | None = None) None
Methods
__init__(name, icon, icon_size, help, on_click)Attributes
shortcut_codetoolbar_objwidgetnameiconicon_sizehelpon_click