SourceClass EventFilter
from egui import EventFilter
class EventFilter:
Controls which events that a focused widget will have exclusive access to.
Currently this only controls a few special keyboard events,
but in the future this struct should be extended into a full callback thing.
Any events not covered by the filter are given to the widget, but are not exclusive.
Properties§
@property
def escape(self, /) -> bool§
@escape.setter
def escape(self, /, escape: bool) -> None§
@property
def horizontal_arrows(self, /) -> bool§
@horizontal_arrows.setter
def horizontal_arrows(self, /, horizontal_arrows: bool) -> None§
@property
def tab(self, /) -> bool§
@tab.setter
def tab(self, /, tab: bool) -> None§
@property
def vertical_arrows(self, /) -> bool§
@vertical_arrows.setter
def vertical_arrows(self, /, vertical_arrows: bool) -> None§
Methods§
@staticmethod
def default() -> EventFilter§
Sourcedef matches(self, /, event: Event) -> bool§