Function slint::platform::set_platform

Function Documentation

inline void slint::platform::set_platform(std::unique_ptr<Platform> platform)

Registers the platform with Slint. Must be called before Slint windows are created. Can only be called once in an application.