Atmel Software Framework

wtk_radio_button.h File Reference

Graphical Widget toolkit.

Copyright (c) 2012 Atmel Corporation. All rights reserved.

Functions

struct win_windowwtk_radio_button_as_child (struct wtk_radio_button *radio_button)
 This function returns a reference to the window that should be used when managing the widget, such as move, resize, destroy and reparenting. More...
 
struct wtk_radio_buttonwtk_radio_button_create (struct win_window *parent, struct win_area const *area, char const *caption, bool selected, struct wtk_radio_group *group, win_command_t command_data)
 This function creates a new radio button widget. More...
 
win_command_t wtk_radio_button_get_command (struct wtk_radio_button *radio_button)
 This function returns the window command of the specified radio button, as set when the widget was created. More...
 
bool wtk_radio_button_is_selected (struct wtk_radio_button const *radio_button)
 This function returns true if the radio button is the one currently selected within its radio button group. More...
 
void wtk_radio_button_select (struct wtk_radio_button *radio_button)
 This function sets this radio button to be the single radio button selected within its group. More...
 
void wtk_radio_button_size_hint (struct win_point *size, const char *caption)
 Get minimum widget size. More...
 
struct wtk_radio_groupwtk_radio_group_create (void)
 This function creates a new radio button group, allocating required memory and properly initializing the object. More...
 
struct wtk_radio_buttonwtk_radio_group_get_selected (struct wtk_radio_group *group)
 This function retrieves a pointer to the currently selected radio button in a radio group. More...