Contiki 2.6

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.

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 386 of file ctk.h.


Field Documentation

The button text.

Definition at line 387 of file ctk.h.