{ "name": "PopupAnchor", "module": "Quickshell", "type": "class", "super": { "type": "qt", "module": "qml.QtQml", "name": "QtObject" }, "description": "Anchorpoint or positioner for popup windows.", "details": "", "flags": [ "uncreatable" ], "properties": { "edges": { "type": { "type": "local", "module": "Quickshell", "name": "Edges" }, "details": "The point on the anchor rectangle the popup should anchor to.\nOpposing edges suchs as `Edges.Left | Edges.Right` are not allowed.\n\nDefaults to `Edges.Top | Edges.Left`.\n" }, "adjustment": { "type": { "type": "local", "module": "Quickshell", "name": "PopupAdjustment" }, "details": "The strategy used to adjust the popup's position if it would otherwise not fit on screen,\nbased on the anchor TYPE99Vrect99Tprop99TYPE, preferred TYPE99Vedges99Tprop99TYPE, and TYPE99Vgravity99Tprop99TYPE.\n\nSee the documentation for TYPE99MQS_Quickshell99NPopupAdjustment99TYPE for details.\n" }, "gravity": { "type": { "type": "local", "module": "Quickshell", "name": "Edges" }, "details": "The direction the popup should expand towards, relative to the anchorpoint.\nOpposing edges suchs as `Edges.Left | Edges.Right` are not allowed.\n\nDefaults to `Edges.Bottom | Edges.Right`.\n" }, "rect": { "type": { "gadget": { "x": { "type": "qt", "module": "qml", "name": "int" }, "y": { "type": "qt", "module": "qml", "name": "int" }, "w": { "type": "qt", "module": "qml", "name": "int" }, "h": { "type": "qt", "module": "qml", "name": "int" }, "width": { "type": "qt", "module": "qml", "name": "int" }, "height": { "type": "qt", "module": "qml", "name": "int" } } }, "details": "The anchorpoints the popup will attach to. Which anchors will be used is\ndetermined by the TYPE99Vedges99Tprop99TYPE, TYPE99Vgravity99Tprop99TYPE, and TYPE99Vadjustment99Tprop99TYPE.\n\nIf you leave TYPE99Vedges99Tprop99TYPE, TYPE99Vgravity99Tprop99TYPE and TYPE99Vadjustment99Tprop99TYPE at their default values,\nsetting more than `x` and `y` does not matter.\n\n> [!NOTE] The anchor rect cannot be smaller than 1x1 pixels.\n" }, "window": { "type": { "type": "qt", "module": "qml.QtQml", "name": "QtObject" }, "details": "The window to anchor / attach the popup to.\n" } }, "functions": [], "signals": {}, "variants": {} }