Action

constructor(name: String, handler: () -> Unit)

Parameters

name

The action button's text.

handler

The handler to be called when the action is clicked.