Microchip® Advanced Software Framework

wtk_check_box.h File Reference

Graphical Widget toolkit.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Functions

struct win_windowwtk_check_box_as_child (struct wtk_check_box *check_box)
 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_check_boxwtk_check_box_create (struct win_window *parent, struct win_area const *area, char const *caption, bool selected, win_command_t command_data)
 This function creates a new check box widget. More...
 
win_command_t wtk_check_box_get_command (struct wtk_check_box *check_box)
 This function returns the window command of the specified check box, as set when the widget was created. More...
 
bool wtk_check_box_is_selected (struct wtk_check_box const *check_box)
 This function returns true if the check box is selected. More...
 
void wtk_check_box_set (struct wtk_check_box *check_box, bool selected)
 This function sets the value of the check box according to the "selected" parameter. More...
 
void wtk_check_box_size_hint (struct win_point *size, const char *caption)
 Get minimum widget size. More...
 
void wtk_check_box_toggle (struct wtk_check_box *check_box)
 This function toggles the value of a check box. More...