Egui::Tabs
Inherits Egui::Widget < Reference < Object
Constants
Element classes for StyleSheet tweaks from app code:
ctx.stylesheet.rule(Tabs::TAB_CLASS, …)
Constructors
Instance methods
The tab whose close button was clicked this frame — its index, nil when nothing closed. The app removes the tab from its own state (and fixes the selection).
:multiline wraps full rows instead of scrolling one row
(:carousel) — see the class doc.
CSS-like class this widget styles under in the global
StyleSheet (nil = not registered yet). Widgets adopt the class
system gradually; see Button and containers/sidebar.cr for
the reference wiring (base + state overlays).
The tabs root keys #ui reads (the strip itself). The per-card
keys of tabs.tab are declared by TabPart — the strip records
its own meta under the (non-interacting) scroll id so the Class
tab knows these props too.