Function slint::platform::set_platform¶ Defined in File slint-platform.h 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.