class BaseInteractor¶
- class BaseInteractor.BaseInteractor¶
base class for a PythonPart interactor
- Parameters
abc – base class
-
abstract modify_element_property(page: str,
                        name: str,
                        value: Any)¶ Modify property of element
- Parameters
page – the page of the property
name – the name of the property.
value – new value for property.
- abstract on_cancel_function() bool ¶
Handles the cancel function event (e.g. by ESC, …)
- Returns
True/False for success.
- abstract on_control_event(event_id: int)¶
Handles the on control event
- Parameters
event_id – event id of button control.
- abstract on_mouse_leave()¶
Handles the mouse leave event
- abstract on_preview_draw()¶
Handles the preview draw event
- abstract on_value_input_control_enter() bool ¶
Handles the enter inside the value input control event
- Returns
True/False for success.
-
abstract process_mouse_msg(mouse_msg: int,
                  pnt: Point2D,
                  msg_info: Any)¶ Handles the process mouse message event
- Parameters
mouse_msg – the mouse message.
pnt – the input point.
msg_info – additional message info.
- Returns
True/False for success.
- __module__ = 'BaseInteractor'¶