Atmel Software Framework

wtk_icon_button Struct Reference

This is the icon button control struct.

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

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

Data Fields

win_command_t command
 Command to send. More...
 
struct win_windowcontainer
 Container, ultimate widget parent. More...
 
struct wtk_icon_groupgroup
 Reference to the group we are member of. More...
 
enum wtk_icon_button_state state
 Current state. More...
 

win_command_t wtk_icon_button::command

Command to send.

Must be non-zero to be enabled.

Referenced by wtk_icon_button_create(), wtk_icon_button_get_command(), and wtk_icon_button_handler().

struct win_window* wtk_icon_button::container
struct wtk_icon_group* wtk_icon_button::group

Reference to the group we are member of.

Referenced by wtk_icon_button_create(), wtk_icon_button_handler(), wtk_icon_button_is_selected(), and wtk_icon_button_select().

enum wtk_icon_button_state wtk_icon_button::state

Current state.

Referenced by wtk_icon_button_create(), and wtk_icon_button_handler().