{ "name": "PopupWindow", "module": "Quickshell", "type": "class", "super": { "type": "local", "module": "Quickshell", "name": "QsWindow" }, "description": "Popup window.", "details": "Popup window that can display in a position relative to a floating\nor panel window.\n\n#### Example\nThe following snippet creates a panel with a popup centered over it.\n\n```qml\nPanelWindow {\n id: toplevel\n\n anchors {\n bottom: true\n left: true\n right: true\n }\n\n PopupWindow {\n parentWindow: toplevel\n relativeX: parentWindow.width / 2 - width / 2\n relativeY: parentWindow.height\n width: 500\n height: 500\n visible: true\n }\n}\n```\n", "properties": { "relativeX": { "type": { "type": "qt", "module": "qml", "name": "int" }, "details": "The X position of the popup relative to the parent window.\n" }, "anchor": { "type": { "type": "unknown", "module": "", "name": "" }, "details": null, "flags": [ "readonly" ] }, "visible": { "type": { "type": "qt", "module": "qml", "name": "bool" }, "details": "If the window is shown or hidden. Defaults to false.\n" }, "parentWindow": { "type": { "type": "qt", "module": "qml.QtQml", "name": "QtObject" }, "details": "The parent window of this popup.\n\nChanging this property reparents the popup.\n" }, "relativeY": { "type": { "type": "qt", "module": "qml", "name": "int" }, "details": "The Y position of the popup relative to the parent window.\n" }, "screen": { "type": { "type": "local", "module": "Quickshell", "name": "ShellScreen" }, "details": "The screen that the window currently occupies.\n\nThis may be modified to move the window to the given screen.\n", "flags": [ "readonly" ] } }, "functions": [], "signals": {}, "variants": {} }