[go: up one dir, main page]

Module i_slint_core::platform

source ·
Expand description

The backend is the abstraction for crates that need to do the actual drawing and event loop

Re-exports

pub use crate::software_renderer;
pub use crate::window::WindowAdapter;
pub use crate::input::key_codes::Key;
pub use crate::input::PointerEventButton;

Enums

This enum describes the different error scenarios that may occur when set_platform fails.
A event that describes user input.

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.

Functions

Returns the duration before the next timer is expected to be activated. This is the largest amount of time that you can wait before calling update_timers_and_animations().
Set the Slint platform abstraction.
Call this function to update and potentially activate any pending timers, as well as advance the state of any active animtaions.