SourceEnum FontSelection
from egui import FontSelectionFontSelection.DefaultVariants§
FontSelection.Default Enum value§
Methods§
@staticmethod
def FontId(font_id: FontId) -> FontSelection§
@staticmethod
def Style(text_style: TextStyle) -> FontSelection§
Sourcedef resolve(self, /, style: Style) -> FontId§
Resolve to a FontId.
On egui.FontSelection.Default and no override in the style, this will
resolve to TextStyle.Body.
Sourcedef resolve_with_fallback(self, /, style: Style, fallback: FontSelection) -> FontId§
Resolve with a final fallback.
Fallback is resolved on egui.FontSelection.Default and no override in the style.