165 lines
4.1 KiB
JSON
165 lines
4.1 KiB
JSON
|
{
|
||
|
"name": "Toplevel",
|
||
|
"module": "Quickshell.Wayland",
|
||
|
"type": "class",
|
||
|
"super": {
|
||
|
"type": "qt",
|
||
|
"module": "qml.QtQml",
|
||
|
"name": "QtObject"
|
||
|
},
|
||
|
"description": "Window from another application.",
|
||
|
"details": "A window/toplevel from another application, retrievable from\nthe TYPE99MQS_Quickshell_Wayland99NToplevelManager99TYPE.\n",
|
||
|
"flags": [
|
||
|
"uncreatable"
|
||
|
],
|
||
|
"properties": {
|
||
|
"fullscreen": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "bool"
|
||
|
},
|
||
|
"details": "If the window is currently fullscreen.\n\nFullscreen can be requested by setting this property, though it may\nbe ignored by the compositor.\nFullscreen can be requested on a specific screen with the TYPE99VfullscreenOn99Tfunc99TYPE function.\n"
|
||
|
},
|
||
|
"parent": {
|
||
|
"type": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell.Wayland",
|
||
|
"name": "Toplevel"
|
||
|
},
|
||
|
"details": "Parent toplevel if this toplevel is a modal/dialog, otherwise null.\n",
|
||
|
"flags": [
|
||
|
"readonly"
|
||
|
]
|
||
|
},
|
||
|
"maximized": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "bool"
|
||
|
},
|
||
|
"details": "If the window is currently maximized.\n\nMaximization can be requested by setting this property, though it may\nbe ignored by the compositor.\n"
|
||
|
},
|
||
|
"activated": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "bool"
|
||
|
},
|
||
|
"details": "If the window is currently activated or focused.\n\nActivation can be requested with the TYPE99Vactivate99Tfunc99TYPE function.\n",
|
||
|
"flags": [
|
||
|
"readonly"
|
||
|
]
|
||
|
},
|
||
|
"title": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "string"
|
||
|
},
|
||
|
"details": null,
|
||
|
"flags": [
|
||
|
"readonly"
|
||
|
]
|
||
|
},
|
||
|
"minimized": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "bool"
|
||
|
},
|
||
|
"details": "If the window is currently minimized.\n\nMinimization can be requested by setting this property, though it may\nbe ignored by the compositor.\n"
|
||
|
},
|
||
|
"appId": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "string"
|
||
|
},
|
||
|
"details": null,
|
||
|
"flags": [
|
||
|
"readonly"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"functions": [
|
||
|
{
|
||
|
"ret": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "void"
|
||
|
},
|
||
|
"name": "activate",
|
||
|
"id": "activate",
|
||
|
"details": "Request that this toplevel is activated.\nThe request may be ignored by the compositor.\n",
|
||
|
"params": []
|
||
|
},
|
||
|
{
|
||
|
"ret": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "void"
|
||
|
},
|
||
|
"name": "fullscreenOn",
|
||
|
"id": "fullscreenOn",
|
||
|
"details": "Request that this toplevel is fullscreened on a specific screen.\nThe request may be ignored by the compositor.\n",
|
||
|
"params": [
|
||
|
{
|
||
|
"name": "screen",
|
||
|
"type": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "ShellScreen"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"ret": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "void"
|
||
|
},
|
||
|
"name": "setRectangle",
|
||
|
"id": "setRectangle",
|
||
|
"details": "Provide a hint to the compositor where the visual representation\nof this toplevel is relative to a quickshell window.\nThis hint can be used visually in operations like minimization.\n",
|
||
|
"params": [
|
||
|
{
|
||
|
"name": "window",
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml.QtQml",
|
||
|
"name": "QtObject"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "rect",
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "rect"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"ret": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "void"
|
||
|
},
|
||
|
"name": "unsetRectangle",
|
||
|
"id": "unsetRectangle",
|
||
|
"details": null,
|
||
|
"params": []
|
||
|
}
|
||
|
],
|
||
|
"signals": {
|
||
|
"closed": {
|
||
|
"name": "closed",
|
||
|
"details": null,
|
||
|
"params": []
|
||
|
}
|
||
|
},
|
||
|
"variants": {}
|
||
|
}
|