Component
from slint import Componentpython
Component is the base class for all instances of Slint components. Use the member functions to show or hide the window, or spin the event loop.
Methods
Section titled “Methods”show() -> NoneShows the window on the screen.
hide() -> NoneHides the window from the screen.
run() -> NoneShows the window, runs the event loop, hides it when the loop is quit, and returns.
© 2026 SixtyFPS GmbH