Contiki 2.5
Data Fields
ctk_widget_button Struct Reference

Instantiating macro for the ctk_icon widget. More...

#include <core/ctk/ctk.h>

Data Fields

char * text
 The button text. More...
 

Detailed Description

Instantiating macro for the ctk_icon widget.

This macro is used when instantiating a ctk_icon widget and is intended to be used together with a struct assignment like this:

struct ctk_icon icon =
{CTK_ICON("An icon", bitmapptr, textmapptr)};
Parameters
titleThe icon's text.
bitmapA pointer to the icon's bitmap image.
textmapA pointer to the icon's text version of the bitmap.

Definition at line 388 of file ctk.h.

Field Documentation

char* ctk_widget_button::text

The button text.

Definition at line 389 of file ctk.h.