12345678910import { ManageScene, ExploreScene, UpdatesScene } from "scenes.slint";export component Catalogue inherits Window { in property <int> ox; in property <int> oy; in property <string> scene: "manage"; background: #403f40; if root.scene == "manage": ManageScene { x: -root.ox * 1px; y: -root.oy * 1px; } if root.scene == "explore": ExploreScene { x: -root.ox * 1px; y: -root.oy * 1px; } if root.scene == "updates": UpdatesScene { x: (1 - root.ox) * 1px; y: -root.oy * 1px; }}