Make menu style accessible
This commit is contained in:
parent
4655411256
commit
214f6f9cba
2 changed files with 11 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ pub mod clipboard;
|
|||
pub mod executor;
|
||||
pub mod keyboard;
|
||||
pub mod mouse;
|
||||
pub mod overlay;
|
||||
pub mod settings;
|
||||
pub mod time;
|
||||
pub mod widget;
|
||||
|
|
|
|||
10
src/overlay.rs
Normal file
10
src/overlay.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//! Build and show dropdown menus.
|
||||
///
|
||||
/// This is an alias of an `iced_native` element with a default `Renderer`.
|
||||
pub mod menu {
|
||||
pub use iced_native::overlay::menu::{Appearance, State, StyleSheet};
|
||||
|
||||
/// A widget that produces a message when clicked.
|
||||
pub type Menu<'a, Message, Renderer = crate::Renderer> =
|
||||
iced_native::overlay::Menu<'a, Message, Renderer>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue