CL_InputDialog - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# Class CL_InputDialog

CL_InputDialog component More...

Derived from: CL_Window
Derived by: none
Group: GUI (Controls)

#include <ClanLib/gui.h>

Construction:

CL_InputDialog | CL_InputDialog constructor

Operations:

add_input_box | Add inputbox with label to dialog. The inputbox is deleted by the InputDialog when destroyed.
add_check_box | Add checkbox with label to dialog. The checkbox is deleted by the InputDialog when destroyed.
get_button | Get the pointer to one of the built in buttons (ok/cancel/etc) to further customize it 0 based. Returns NULL if no button exists at that index
get_result_button | Returns the number of the button that was used to close the dialog.

Detailed description:

!group=GUI/Controls! !header=gui.h!
Questions or comments, write to the ClanLib mailing list.