mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-08-05 04:00:15 +02:00
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
[
|
|
{
|
|
"namespace": "ExampleAPI",
|
|
"functions": [
|
|
{
|
|
"name": "sayHello",
|
|
"type": "function",
|
|
"description": "Says hello to the user.",
|
|
"async": true,
|
|
"parameters": [
|
|
{
|
|
"name": "name",
|
|
"type": "string",
|
|
"description": "Who to say hello to."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"name": "onToolbarClick",
|
|
"type": "function",
|
|
"description": "Fires when the user clicks the secondary mouse button anywhere on the toolbar in the main window.",
|
|
"parameters": [
|
|
{
|
|
"name": "toolbarId",
|
|
"type": "string",
|
|
"description": "The ID of the toolbar the user clicked."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"name": "x",
|
|
"minimum": 0,
|
|
"description": "The X position of the mouse when the user clicked."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"name": "y",
|
|
"minimum": 0,
|
|
"description": "The Y position of the mouse when the user clicked."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|