ext.buttonhelper
Helper button functions.
| eventButton(x, y, w, h, name) | Create a button that just queues an event. |
|---|
- eventButton(x, y, w, h, name)Source
Create a button that just queues an event.
Parameters
- x number X coordinate of the button.
- y number Y coordinate of the button.
- w number Width of the button.
- h number Heigth of the button.
- name string | nil Name of the event queued, defaults to
"button_click".
Returns
- string ID of the button, use it in
gui.ext.buttonfunctions