Scripting Interface |
The Button JavaScript class. A simplified Button Qt widget. More...
Properties | |
String | label |
Set the text on the button. More... | |
String | callback |
Use this to assign the name of another function. This function will be triggered automatically when the button is pressed. More... | |
The Button JavaScript class. A simplified Button Qt widget.
This example creates a button with the label "Set Colour" that will call a function that sets the colour of something whenever the button is pressed.
|
readwrite |
Use this to assign the name of another function. This function will be triggered automatically when the button is pressed.
|
readwrite |
Set the text on the button.