There was an error while loading. Please reload this page.
Create a button that the user can press. If you want to create an Ok or Cancel button, see create_ok_button or create_cancel_button instead.
pyui.create_button(dialog, col_spec [,text]) dialog:create_button(col_spec, text)
dialog
dialog_handle
col_spec
integer
{first, last}
text
string
control_handle
When the user pushes the button, the on_click handler is called.
Starting with V27 the button can display an icon next to its text, see set_control_icon.
Control Gallery, set_control_text, set_control_icon, set_on_click_handler, create_ok_button, create_cancel_button