quickshell-web/modules/Quickshell.DBusMenu/DBusMenuItem.json

49 lines
1.4 KiB
JSON
Raw Normal View History

2024-09-27 23:35:19 +00:00
{
"name": "DBusMenuItem",
"module": "Quickshell.DBusMenu",
"type": "class",
"super": {
"type": "local",
"module": "Quickshell",
"name": "QsMenuEntry"
},
"description": "Menu item shared by an external program.",
"details": "Menu item shared by an external program via the\n[DBusMenu specification](https://github.com/AyatanaIndicators/libdbusmenu/blob/master/libdbusmenu-glib/dbus-menu.xml).\n",
"flags": [
"uncreatable"
],
"properties": {
"menuHandle": {
"type": {
"type": "local",
"module": "Quickshell.DBusMenu",
"name": "DBusMenuHandle"
},
"details": "Handle to the root of this menu.\n",
"flags": [
"readonly"
]
}
},
"functions": [
{
"ret": {
"type": "qt",
"module": "qml",
"name": "void"
},
"name": "updateLayout",
"id": "updateLayout",
"details": "Refreshes the menu contents.\n\nUsually you shouldn't need to call this manually but some applications providing\nmenus do not update them correctly. Call this if menus don't update their state.\n\nThe TYPE99VlayoutUpdated99Tsignal99TYPE signal will be sent when a response is received.\n",
"params": []
}
],
"signals": {
"layoutUpdated": {
"name": "layoutUpdated",
"details": null,
"params": []
}
},
"variants": {}
}