zng_ext_window/
lib.rs

1#![doc(html_favicon_url = "https://zng-ui.github.io/res/zng-logo-icon.png")]
2#![doc(html_logo_url = "https://zng-ui.github.io/res/zng-logo.png")]
3//!
4//! App window and monitors manager.
5//!
6//! # Events
7//!
8//! Events this extension provides:
9//!
10//! * [`WINDOW_OPEN_EVENT`]
11//! * [`WINDOW_CHANGED_EVENT`]
12//! * [`WINDOW_FOCUS_CHANGED_EVENT`]
13//! * [`WINDOW_CLOSE_REQUESTED_EVENT`]
14//! * [`WINDOW_CLOSE_EVENT`]
15//! * [`MONITORS_CHANGED_EVENT`]
16//!
17//! # Services
18//!
19//! Services this extension provides:
20//!
21//! * [`WINDOWS`]
22//! * [`MONITORS`]
23//!
24//! # Raw Services
25//!
26//! Services this extension provides for other more advanced services.
27//!
28//! * [`WINDOWS_FOCUS`]
29//! * [`WINDOWS_EXTENSIONS`]
30//! * [`WINDOWS_DIALOG`]
31//! * [`WINDOWS_DRAG_DROP`]
32//!
33//! The [`WINDOWS`] service installs it self as the [`IMAGES_WINDOW`] handler.
34//!
35//! [`IMAGES_WINDOW`]: zng_ext_image::IMAGES_WINDOW
36//!
37//! # Crate
38//!
39#![doc = include_str!(concat!("../", std::env!("CARGO_PKG_README")))]
40#![warn(unused_extern_crates)]
41#![warn(missing_docs)]
42// suppress nag about very simple boxed closure signatures.
43#![expect(clippy::type_complexity)]
44
45#[macro_use]
46extern crate bitflags;
47
48mod ime;
49pub use ime::*;
50
51mod types;
52pub use types::*;
53
54mod monitor;
55pub use monitor::*;
56
57mod vars;
58pub use vars::*;
59
60mod app;
61pub use app::*;
62
63mod window;
64pub use window::*;
65
66mod windows;
67pub use windows::*;
68
69pub mod cmd;
70
71mod hooks;