SourceClass LabelSelectionState
from egui import LabelSelectionStateclass LabelSelectionState:Handles text selection in labels (NOT in egui.TextEdit)s.
Each viewport has its own state, because viewports are rendered in separate passes.
Methods§
Sourcedef clear_selection(self, /) -> None§
Clear all label text selections in all viewports.
@staticmethod
def default() -> LabelSelectionState§
Sourcedef has_selection(self, /) -> bool§
Is there a label text selection in any viewport?