41 lines
1.8 KiB
JSON
41 lines
1.8 KiB
JSON
{
|
|
"name": "WlrLayershell",
|
|
"module": "Quickshell.Wayland",
|
|
"type": "class",
|
|
"super": {
|
|
"type": "local",
|
|
"module": "Quickshell",
|
|
"name": "PanelWindow"
|
|
},
|
|
"description": "Wlroots layershell window",
|
|
"details": "Decorationless window that can be attached to the screen edges using the [zwlr_layer_shell_v1] protocol.\n\n#### Attached object\n`WlrLayershell` works as an attached object of TYPE99MQS_Quickshell99NPanelWindow99TYPE which you should use instead if you can,\nas it is platform independent.\n\n```qml\nPanelWindow {\n // When PanelWindow is backed with WlrLayershell this will work\n WlrLayershell.layer: WlrLayer.Bottom\n}\n```\n\nTo maintain platform compatibility you can dynamically set layershell specific properties.\n```qml\nPanelWindow {\n Component.onCompleted: {\n if (this.WlrLayershell != null) {\n this.WlrLayershell.layer = WlrLayer.Bottom;\n }\n }\n}\n```\n\n[zwlr_layer_shell_v1]: https://wayland.app/protocols/wlr-layer-shell-unstable-v1\n",
|
|
"properties": {
|
|
"keyboardFocus": {
|
|
"type": {
|
|
"type": "local",
|
|
"module": "Quickshell.Wayland",
|
|
"name": "WlrKeyboardFocus"
|
|
},
|
|
"details": "The degree of keyboard focus taken. Defaults to `KeyboardFocus.None`.\n"
|
|
},
|
|
"layer": {
|
|
"type": {
|
|
"type": "local",
|
|
"module": "Quickshell.Wayland",
|
|
"name": "WlrLayer"
|
|
},
|
|
"details": "The shell layer the window sits in. Defaults to `WlrLayer.Top`.\n"
|
|
},
|
|
"namespace": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "string"
|
|
},
|
|
"details": "Similar to the class property of windows. Can be used to identify the window to external tools.\n\nCannot be set after windowConnected.\n"
|
|
}
|
|
},
|
|
"functions": [],
|
|
"signals": {},
|
|
"variants": {}
|
|
} |