S or /

SourceModule style

egui theme (spacing, colors, etc).

Classes§

FontSelection Enum

A way to select FontId, either by picking one directly or by using a TextStyle.

HandleShape Enum

Shape of the handle for sliders and similar widgets.

ImeComposition

Visual style for IME composition.

Interaction

How and when interaction happens.

NumberFormatter

How to format numbers in e.g. a egui.DragValue.

NumericColorSpace Enum

How to display numeric color values.

ScrollAnimation

Scroll animation configuration, used when programmatically scrolling somewhere (e.g. with [egui.Ui.scroll_to_cursor](egui.Ui.html#scroll_to_cursor-5999)).

ScrollFadeStyle

Controls if and how to fade out the sides of a egui.ScrollArea to indicate there is more there if you scroll.

ScrollStyle

Controls the spacing and visuals of a egui.ScrollArea.

Selection

Selected text, selected elements etc

Spacing

Controls the sizes and distances between widgets.

Style

Specifies the look and feel of egui.

StyleModifier

Utility to modify a Style in some way. Constructed via StyleModifier.from from a Fn(Style) or a Style.

TextCursorStyle

Look and feel of the text cursor.

TextStyle Enum

Alias for a FontId (font of a certain size).

Visuals

Controls the visual style (colors etc) of egui.

Widgets

The visuals of widgets for different states of interaction.

WidgetVisuals

bg = background, fg = foreground.

Functions§

default_text_styles

The default text styles of the default egui theme.

SourceFunction default_text_styles§

from egui import default_text_styles
def default_text_styles() -> TextStyles

The default text styles of the default egui theme.

Constants§

Re-exports§