Added menu functionality. (#58)

* Added core::Channel and menu functionality. core::Channel may leak memory.

* Added leptos example.
This commit is contained in:
bicarlsen 2024-08-02 15:31:56 +02:00 committed by GitHub
parent aa3a64af11
commit 115009d4bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 1319 additions and 13 deletions

View file

@ -1,4 +1,4 @@
//! Provides APIs to create windows, communicate with other windows and manipulate the current window.
//! Provides APIs to create windows, communicate with other windows, and manipulate the current window.
//!
//! ## Window events
//! Events can be listened to using [`Window::listen`].
@ -90,8 +90,8 @@ impl Stream for DragDropListen {
}
}
#[derive(Deserialize)]
struct WindowLabel {
#[derive(Serialize, Deserialize)]
pub(crate) struct WindowLabel {
label: String,
}