A BottomBar is a bottom toolbar that displays actions and content labels.
The BottomBar can operate in two distinct modes: - **Docked Mode**: Acts as a traditional bottom app bar, attached to the window edge -
**Floating Mode**: Hovers over content as an overlay with rounded corners and elevation
Important Notes
- **Button Limitation**: Only accepts `He.Button` widgets as children - **Floating Mode Requirements**: Must set `overlay_widget` when
using `Mode.FLOATING` - **Automatic Overlay Creation**: If the target widget isn't in a `Gtk.Overlay`, one is created automatically
CSS Classes
The BottomBar automatically applies CSS classes for styling: - `bottom-bar`: Always applied to the root element - `docked`: Applied when
in docked mode - `floating`: Applied when in floating mode
The secondary description text displayed below the title. This is
ideal for showing additional context or action hints, such as "Tap to select items" or "Ready to share".
The main title text displayed in the center of the bottom bar. This is
ideal for showing the current context or selection state, such as "Photos" or "3 items selected".