Atmel Software Framework

wtk_check_box Struct Reference

This is the check box control struct.

It contains references to the windows composing the check box, as well as non-window information required.

Note
Structure fields are only internally accessible, only pointers to structure is needed externally.

Data Fields

char * caption
 Copy of caption string. More...
 
win_command_t command
 Command to send. More...
 
struct win_windowcontainer
 Container, ultimate widget parent. More...
 
bool selected
 True if selected. More...
 
enum wtk_check_box_state state
 Current state. More...
 

char* wtk_check_box::caption

Copy of caption string.

Referenced by wtk_check_box_create(), and wtk_check_box_handler().

win_command_t wtk_check_box::command

Command to send.

Must be non-zero to be enabled.

Referenced by wtk_check_box_create(), wtk_check_box_get_command(), and wtk_check_box_handler().

struct win_window* wtk_check_box::container
enum wtk_check_box_state wtk_check_box::state

Current state.

Referenced by wtk_check_box_create(), and wtk_check_box_handler().