Table of Contents

wxButton

include file: wxButton.e


Creation parameters: Style choices: To trap a button click, use the wxEVT_COMMAND_BUTTON_CLICKED event:
ex:

procedure on_click( atom this, atom event_type, atom id, atom event ) -- do stuff here end procedure

set_event_handler( my_button, get_id(my_button), wxEVT_COMMAND_BUTTON_CLICKED, routine_id("on_click"))

  • proc set_button_label( atom button, sequence label )     
     
    Parent Topics:
  • Classes
  • Controls  
     
    Subtopics:
  • wxBitmapButton
  • wxDefButton


    Table of Contents

    [proc]
    set_button_label
    ( atom button, sequence label )

    Category: wxButton

    Changes the label on a button.