Skip to main content

Crate slint_borderless

Crate slint_borderless 

Source
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§

ClientArea
A rectangle in the custom title bar that remains a Slint client area.
FrameController
A UI-thread controller for one Slint window.
FrameOptions
Geometry and behavior of the native borderless frame.
LogicalPoint
A logical point in Slint device-independent pixels.
LogicalSize
A logical size in Slint device-independent pixels.

Enums§

CaptionButton
Which system caption button is under the pointer.
FrameError
Errors returned while attaching or detaching a frame.
FrameEvent
Notifications emitted by the native frame.
HorizontalAnchor
The edge from which a title-bar client area is positioned.

Constants§

SLINT_LIBRARY_NAME
Name used with Slint’s @library import syntax.

Functions§

slint_library_path
Filesystem location of the bundled Slint component library.