mirror of
https://github.com/tauri-apps/tauri-egui.git
synced 2026-02-04 02:41:19 +01:00
Export Window type
This commit is contained in:
@@ -16,6 +16,8 @@ mod plugin;
|
||||
use plugin::EguiPlugin;
|
||||
pub use plugin::EguiPluginHandle;
|
||||
|
||||
pub type Window = plugin::Window<tauri::EventLoopMessage>;
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum Error {
|
||||
#[error("failed to create window: {0}")]
|
||||
|
||||
@@ -37,7 +37,7 @@ use std::{
|
||||
};
|
||||
|
||||
pub mod window;
|
||||
use window::Window;
|
||||
pub(super) use window::Window;
|
||||
|
||||
pub type AppCreator = Box<dyn FnOnce(&CreationContext<'_>) -> Box<dyn eframe::App + Send> + Send>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user