quickshell-web/modules_old/Quickshell/Scope.json
2024-09-28 02:35:19 +03:00

34 lines
1.1 KiB
JSON

{
"name": "Scope",
"module": "Quickshell",
"type": "class",
"super": {
"type": "local",
"module": "Quickshell",
"name": "Reloadable"
},
"description": "Scope that propagates reloads to child items in order.",
"details": "Convenience type equivalent to setting {{< qmltypelink type=\"local\" module=\"Quickshell\" name=\"Reloadable\" mtype=\"prop\" mname=\"reloadableId\" >}} for all children.\n\nNote that this does not work for visible {{< qmltypelink type=\"qt\" module=\"qml.QtQuick\" name=\"Item\" mtype=\"\" mname=\"\" >}}s (all widgets).\n\n```qml\nShellRoot {\n Variants {\n variants: ...\n\n Scope {\n // everything in here behaves the same as if it was defined\n // directly in `Variants` reload-wise.\n }\n }\n}\n",
"properties": {
"children": {
"type": {
"type": "qt",
"module": "qml",
"name": "list",
"of": {
"type": "qt",
"module": "qml.QtQml",
"name": "QtObject"
}
},
"details": null,
"flags": [
"default",
"readonly"
]
}
},
"functions": [],
"signals": {},
"variants": {}
}