GUI Events# arcade.gui.UIEvent# class arcade.gui.UIEvent(source: Any)[source]# An event created by the GUI system. Can be passed using widget.dispatch(“on_event”, event). An event always has a source, which is the UIManager for general input events, but will be the specific widget in case of events like on_click events. arcade.gui.UIKeyEvent# class arcade.gui.UIKeyEvent(source: Any, symbol: int, modifiers: int)[source]# arcade.gui.UIKeyPressEvent# class arcade.gui.UIKeyPressEvent(source: Any, symbol: int, modifiers: int)[source]# arcade.gui.UIKeyReleaseEvent# class arcade.gui.UIKeyReleaseEvent(source: Any, symbol: int, modifiers: int)[source]# arcade.gui.UIMouseDragEvent# class arcade.gui.UIMouseDragEvent(source: Any, x: float, y: float, dx: float, dy: float, buttons: int, modifiers: int)[source]# arcade.gui.UIMouseEvent# class arcade.gui.UIMouseEvent(source: Any, x: float, y: float)[source]# Covers all mouse event arcade.gui.UIMouseMovementEvent# class arcade.gui.UIMouseMovementEvent(source: Any, x: float, y: float, dx: float, dy: float)[source]# arcade.gui.UIMousePressEvent# class arcade.gui.UIMousePressEvent(source: Any, x: float, y: float, button: int, modifiers: int)[source]# arcade.gui.UIMouseReleaseEvent# class arcade.gui.UIMouseReleaseEvent(source: Any, x: float, y: float, button: int, modifiers: int)[source]# arcade.gui.UIMouseScrollEvent# class arcade.gui.UIMouseScrollEvent(source: Any, x: float, y: float, scroll_x: int, scroll_y: int)[source]# arcade.gui.UIOnChangeEvent# class arcade.gui.UIOnChangeEvent(source: Any, old_value: Any, new_value: Any)[source]# Value of a widget changed arcade.gui.UIOnClickEvent# class arcade.gui.UIOnClickEvent(source: Any, x: float, y: float)[source]# arcade.gui.UIOnUpdateEvent# class arcade.gui.UIOnUpdateEvent(source: Any, dt: int)[source]# Arcade on_update callback passed as UIEvent arcade.gui.UITextEvent# class arcade.gui.UITextEvent(source: Any, text: str)[source]# arcade.gui.UITextMotionEvent# class arcade.gui.UITextMotionEvent(source: Any, motion: Any)[source]# arcade.gui.UITextMotionSelectEvent# class arcade.gui.UITextMotionSelectEvent(source: Any, selection: Any)[source]#