Button

Button

new Button(model, clickFn, tooltip)

Description:
  • Create a new button.

Source:
Parameters:
Name Type Description
model Wick.Base

See Wick.GUIElement constructor

clickFn function

The function to call when the button is clicked

tooltip string

(Optional) The title of the tooltip