Add a menu bar option to the desktop config (#2107)
* add an option to set a custom menu in the desktop config * Fix rename issue --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
10d361a44e
commit
d442dac168
11 files changed
+152
-95
No files matched your search
@@ -35,10 +35,13 @@ pub use tao::dpi::{LogicalPosition, LogicalSize};
|
||||
pub use tao::event::WindowEvent;
|
||||
pub use tao::window::WindowBuilder;
|
||||
pub use wry;
|
||||
// Reexport muda only if we are on desktop platforms that support menus
|
||||
#[cfg(not(any(target_os = "ios", target_os = "android")))]
|
||||
pub use muda;
|
||||
|
||||
// Public exports
|
||||
pub use assets::AssetRequest;
|
||||
pub use config::{Config, WindowCloseBehaviour};
|
||||
pub use config::{Config, WindowCloseBehavior};
|
||||
pub use desktop_context::{window, DesktopContext, DesktopService};
|
||||
pub use event_handlers::WryEventHandler;
|
||||
pub use hooks::{use_asset_handler, use_global_shortcut, use_window, use_wry_event_handler};
|
||||
|
||||
Reference in new issue
Block a user