Class virtual AXOWidgets.generic_button


class virtual generic_button : object .. end
Inherits
method virtual add_click_action : (unit -> unit) -> unit

bind an event that will be called when the button is clicked. Call order is unspecified.

method virtual remove_click_action : (unit -> unit) -> unit

unbind an event so it won't be called again

method virtual clear_click_actions : unit

unbind all events

method virtual deactivate_button : unit

temporarily deactivate events

method virtual activate_button : unit

reset deactivated events

method virtual click : unit

immediatly perform all activated click actions