Skip to content

Component

from slint import Component
python

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.

show() -> None

Shows the window on the screen.

hide() -> None

Hides the window from the screen.

run() -> None

Shows the window, runs the event loop, hides it when the loop is quit, and returns.


© 2026 SixtyFPS GmbH