public static AddButton ( |
||
bar | The tweak bar to which adding a new variable. | |
name | String | The name of the button. It will be displayed in the tweak bar if no label is specified for this button. It will also be used to refer to this button in other functions. |
callback | ButtonCallback | The callback function that will be called by AntTweakBar when the button is clicked. |
clientData | For your convenience, this is a supplementary pointer that will be passed to the callback function when it is called. | |
def | String | An optional definition string used to modify the behavior of this new entry. |
return | void |