Module slint::platform

source ·
Expand description

This module contains items that you need to use or implement if you want use Slint in an environment without one of the supplied platform backends such as qt or winit.

The primary interface is the platform::Platform trait. Pass your implementation of it to Slint by calling platform::set_platform() early on in your application, before creating any Slint components.

The Slint on Microcontrollers documentation has additional examples.

Modules

Structs

Enums

Traits

  • Trait that is returned by the Platform::new_event_loop_proxy
  • This trait defines the interface between Slint and platform APIs typically provided by operating and windowing systems.
  • This trait represents a Renderer that can render a slint scene.
  • This trait represents the adaptation layer between the Window API and then windowing specific window representation, such as a Win32 HWND handle or a wayland_surface_t.

Functions