SourceClass RepaintCause
from egui import RepaintCauseclass RepaintCause:What called Context.request_repaint or Context.request_discard?
Properties§
@property
def file(self, /) -> str§
@property
def line(self, /) -> int§
@line.setter
def line(self, /, line: int) -> None§
@property
def reason(self, /) -> str§
@reason.setter
def reason(self, /, reason: str) -> None§
Methods§
Source@staticmethod
def new() -> RepaintCause§
Capture the file and line number of the call site.
Source@staticmethod
def new_reason(reason: str) -> RepaintCause§
Capture the file and line number of the call site, as well as add a reason.