Label widget implementation.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | wtk_label |
This is the label control struct. More... | |
Functions | |
struct win_window * | wtk_label_as_child (struct wtk_label *label) |
This function returns a reference to the window that should be used when managing the widget, such as move, resize, destroy and reparenting. More... | |
bool | wtk_label_change (struct wtk_label *label, const char *caption) |
Set new caption for label, return false if out of mem. More... | |
static bool | wtk_label_handler (struct win_window *win, enum win_event_type type, void const *data) |
This function is the window event handler for label widgets. More... | |
void | wtk_label_size_hint (struct win_point *size, const char *caption) |
Get minimum widget size. More... | |
struct wtk_label * | wtk_label_create (struct win_window *parent, struct win_area const *area, char const *caption, gfx_color_t text_color, struct gfx_bitmap *background, bool align_right) |
This function creates a new label widget. More... | |