SourceEnum Size
from egui import Sizeclass Size:Size hint for table column/strip cell.
Methods§
@staticmethod
def Absolute(initial: float, minimum: float, maximum: float) -> Size§
@staticmethod
def Relative(fraction: float, minimum: float, maximum: float) -> Size§
@staticmethod
def Remainder(minimum: float, maximum: float) -> Size§
Sourcedef at_least(self, /, minimum: float) -> Size§
Won't shrink below this size (in points).
Sourcedef at_most(self, /, maximum: float) -> Size§
Won't grow above this size (in points).
Source@staticmethod
def exact(points: float) -> Size§
Exactly this big, with no room for resize.
Source@staticmethod
def initial(points: float) -> Size§
Initially this big, but can resize.
Sourcedef is_absolute(self, /) -> bool§
Sourcedef is_relative(self, /) -> bool§
Sourcedef is_remainder(self, /) -> bool§
Sourcedef range(self, /) -> tuple[float, float]§
Allowed range of movement (in points), if in a resizable Table.
Sourcedef range_mut(self, /, minimum: float, maximum: float) -> None§
Source@staticmethod
def relative(fraction: float) -> Size§
Relative size relative to all available space. Values must be in range 0.0..=1.0.
Source@staticmethod
def remainder() -> Size§
Multiple remainders each get the same space.