Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
App_widget_group

Data Structures

struct  widget_context
 Widget application context. More...
 

Macros

#define TOTAL_NUM_ICONS   3
 

Enumerations

enum  command_id {
  DUMMY_ID,
  ICON_BUTTON_1_ID,
  ICON_BUTTON_2_ID,
  ICON_BUTTON_3_ID,
  BUTTON_PREV_ID,
  BUTTON_NEXT_ID,
  BUTTON_SELECT_ID
}
 Command event IDs. More...
 

Functions

bool app_widget_launch (void)
 Setup widget demo. More...
 
static bool widget_frame_command_handler (struct wtk_basic_frame *frame, win_command_t command_data)
 Frame handler for the application. More...
 

Variables

static struct widget_contextwidget_ctx
 Statically allocated context pointer. More...
 

#define TOTAL_NUM_ICONS   3

enum command_id

Command event IDs.

Note
The first entry in this enum is zero-valued, and therefore reserved for widgets that should not issue command events.
See Also
Widget toolkit
Enumerator
DUMMY_ID 

Unused command event ID.

ICON_BUTTON_1_ID 

Command event ID for first icon button.

ICON_BUTTON_2_ID 

Command event ID for second icon button.

ICON_BUTTON_3_ID 

Command event ID for third icon button.

BUTTON_PREV_ID 

Command event ID for previous icon button.

BUTTON_NEXT_ID 

Command event ID for next icon button.

BUTTON_SELECT_ID 

Command event ID for select icon button.

static bool widget_frame_command_handler ( struct wtk_basic_frame frame,
win_command_t  command_data 
)
static

struct widget_context* widget_ctx
static

Statically allocated context pointer.