SourceModule style
egui theme (spacing, colors, etc).
Classes§
| FontSelection Enum | A way to select |
| 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 |
| NumericColorSpace Enum | How to display numeric color values. |
| ScrollAnimation | Scroll animation configuration, used when programmatically scrolling somewhere (e.g. with |
| ScrollFadeStyle | Controls if and how to fade out the sides of a |
| ScrollStyle | Controls the spacing and visuals of a |
| 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 |
| TextCursorStyle | Look and feel of the text cursor. |
| TextStyle Enum | Alias for a |
| 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_stylesdef default_text_styles() -> TextStylesThe default text styles of the default egui theme.