<command-button> ( target gesture command -- button )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Button gadgets

Prev:<repeat-button> ( label quot: ( button -- ) -- button )
Next:<toolbar> ( target -- toolbar )


Vocabulary
ui.gadgets.buttons

Inputs
targetan object
gesturea gesture
commanda command


Outputs
buttona new button


Word description
Creates a <border-button> which invokes the command on target when clicked.

See also
<button>, <border-button>, <roll-button>, <presentation>

Definition