S or /

SourceEnum HandleShape

from egui import HandleShape
HandleShape.Circle

Shape of the handle for sliders and similar widgets.

Variants§

HandleShape.Circle Enum value§

Properties§

@property def aspect_ratio(self, /) -> float |None§
@aspect_ratio.setter def aspect_ratio(self, /, aspect_ratio: float |None) -> None§

Methods§

@staticmethod def Rect(aspect_ratio: float) -> HandleShape§
def is_circle(self, /) -> bool§
def is_rect(self, /) -> bool§
Sourcedef ui(self, /, ui: Ui) -> None§