SourceEnum Event
from egui import EventEvent.Copy
Event.Cut
Event.PointerGoneAn input event generated by the integration.
This only covers events that egui cares about.
from egui import EventEvent.Copy
Event.Cut
Event.PointerGoneAn input event generated by the integration.
This only covers events that egui cares about.
Event.Copy Enum value§Event.Cut Enum value§Event.PointerGone Enum value§@staticmethod
def Ime(event: ImeEvent) -> Event§@staticmethod
def Key(key: Key, physical_key: Key |None, pressed: bool, repeat: bool, modifiers: Modifiers) -> Event§@staticmethod
def MouseMoved(delta: Vec2) -> Event§@staticmethod
def MouseWheel(unit: MouseWheelUnit, delta: Vec2, phase: TouchPhase, modifiers: Modifiers) -> Event§@staticmethod
def Paste(text: str) -> Event§@staticmethod
def PointerButton(pos: Pos2, button: PointerButton, pressed: bool, modifiers: Modifiers) -> Event§@staticmethod
def PointerMoved(pos: Pos2) -> Event§@staticmethod
def Rotate(angle: float) -> Event§@staticmethod
def Screenshot(viewport_id: ViewportId, user_data: UserData, image: ColorImage) -> Event§@staticmethod
def Text(text: str) -> Event§@staticmethod
def Touch(device_id: TouchDeviceId, id: TouchId, phase: TouchPhase, pos: Pos2, force: float |None) -> Event§@staticmethod
def WindowFocused(focused: bool) -> Event§@staticmethod
def Zoom(zoom: float) -> Event§def button(self, /) -> PointerButton |None§def debug_pretty(self, /) -> str§def debug_string(self, /) -> str§def delta(self, /) -> Vec2 |None§def force(self, /) -> float |None§def ime(self, /) -> ImeEvent |None§def key(self, /) -> Key |None§def kind(self, /) -> str§def modifiers(self, /) -> Modifiers |None§def mouse_wheel_unit(self, /) -> str |None§def physical_key(self, /) -> Key |None§def pos(self, /) -> Pos2 |None§def pressed(self, /) -> bool |None§def repeat(self, /) -> bool |None§def rotation(self, /) -> float |None§def screenshot_image(self, /) -> ColorImage |None§def text(self, /) -> str |None§def touch_device_id(self, /) -> TouchDeviceId |None§def touch_id(self, /) -> TouchId |None§def touch_phase(self, /) -> str |None§def touch_phase_value(self, /) -> TouchPhase |None§def user_data(self, /) -> UserData |None§def viewport_id(self, /) -> ViewportId |None§def window_focused(self, /) -> bool |None§def zoom(self, /) -> float |None§