wxCommandEvent(3)

MODULE
wxCommandEvent - See external documentation: wxCommandEvent.

DESCRIPTION

See external documentation: wxCommandEvent <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html>.

    Use wxEvtHandler:connect/3 with EventType::
        command_button_clicked, command_checkbox_clicked, command_choice_selected, command_listbox_selected, command_listbox_doubleclicked, command_text_updated, command_text_enter, command_menu_selected, command_slider_updated, command_radiobox_selected, command_radiobutton_selected, command_scrollbar_updated, command_vlbox_selected, command_combobox_selected, command_tool_rclicked, command_tool_enter, command_checklistbox_toggled, command_togglebutton_clicked, command_left_click, command_left_dclick, command_right_click, command_set_focus, command_kill_focus, command_enter

See also the message variant #wxCommand{} event record type.

This class is derived (and can use functions) from:
wxEvent

DATA TYPES

    wxCommandEvent():

        An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

getClientData(This::wxCommandEvent()) -> term()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetclientobject>.

getExtraLong(This::wxCommandEvent()) -> integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetextralong>.

getInt(This::wxCommandEvent()) -> integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetint>.

getSelection(This::wxCommandEvent()) -> integer()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetselection>.

getString(This::wxCommandEvent()) -> string()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventgetstring>.

isChecked(This::wxCommandEvent()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventischecked>.

isSelection(This::wxCommandEvent()) -> bool()

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventisselection>.

setInt(This::wxCommandEvent(), I::integer()) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventsetint>.

setString(This::wxCommandEvent(), S::string()) -> ok

    See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html#wxcommandeventsetstring>.