Microchip® Advanced Software Framework

wtk_radio_button Struct Reference

This is the radio button control struct.

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

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...
struct wtk_radio_groupgroup
 Reference to the group we are member of. More...
enum wtk_radio_button_state state
 Current state. More...

char* wtk_radio_button::caption

Copy of caption string.

Referenced by wtk_radio_button_create(), and wtk_radio_button_handler().

win_command_t wtk_radio_button::command

Command to send.

Must be non-zero to be enabled.

Referenced by wtk_radio_button_create(), wtk_radio_button_get_command(), and wtk_radio_button_handler().

struct win_window* wtk_radio_button::container
struct wtk_radio_group* wtk_radio_button::group
enum wtk_radio_button_state wtk_radio_button::state

Current state.

Referenced by wtk_radio_button_create(), and wtk_radio_button_handler().