Expand description
Windows-native borderless frame support for Slint.
This crate removes the visible Win32 non-client frame without turning the
window into WS_POPUP. Windows therefore remains responsible for resize,
minimize/maximize animations, Aero Snap, Win + Arrow, the system menu,
task switching, and the Windows 11 Snap Layout flyout.
The normal entry point is FrameController::attach.
Structs§
- Client
Area - A rectangle in the custom title bar that remains a Slint client area.
- Frame
Controller - A UI-thread controller for one Slint window.
- Frame
Options - Geometry and behavior of the native borderless frame.
- Logical
Point - A logical point in Slint device-independent pixels.
- Logical
Size - A logical size in Slint device-independent pixels.
Enums§
- Caption
Button - Which system caption button is under the pointer.
- Frame
Error - Errors returned while attaching or detaching a frame.
- Frame
Event - Notifications emitted by the native frame.
- Horizontal
Anchor - The edge from which a title-bar client area is positioned.
Constants§
- SLINT_
LIBRARY_ NAME - Name used with Slint’s
@libraryimport syntax.
Functions§
- slint_
library_ path - Filesystem location of the bundled Slint component library.