Crate egui_widget_ext

Source
Expand description

§Egui Widget Extension Pack

This crate provides additional widgets for use with egui, allowing for modular inclusion of UI components via feature flags.

§Features

The intent is to have a feature for each widget and its associated functionality so that users can include only what they need.

  • toggle_switch: Simple toggle switch widget
  • alert: Widget for displaying alerts
  • all: Enables all widgets provided by this crate

Structs§

Alert
A customizable alert box widget for egui.
AlertManager
Manages and displays a list of alerts with shared styling and positioning.
Toast
A customizable toast notification widget for egui.
ToastManager

Enums§

AlertLevel
Represents the severity level of an alert. Determines the background color and semantic meaning of the alert box.

Functions§

alert
Convenience function to create an alert widget with a given level and message.
alert_manager
Convenience function to create an alert manager widget with a mutable vector of alerts.
toast
Convenience function to create a toast with a message and default settings.
toast_manager
Convenience function to create a toast manager widget with a mutable VecDeque of toasts.
toggle_switch
A wrapper function that creates a toggle switch widget.