Pebble Foundation Classes  0.2.0
C++ for Pebble
SimpleMenuItem Struct Reference

Data structure containing the information of a menu item. More...

#include <pebble.h>

Public Attributes

const char * title
 The title of the menu item. Required.
 
const char * subtitle
 The subtitle of the menu item. Optional, leave NULL if unused.
 
GBitmap * icon
 The icon of the menu item. Optional, leave NULL if unused.
 
SimpleMenuLayerSelectCallback callback
 

Detailed Description

Data structure containing the information of a menu item.

Member Data Documentation

◆ callback

SimpleMenuLayerSelectCallback SimpleMenuItem::callback

The callback that needs to be called upon a click on the SELECT button. Optional, leave NULL if unused.


The documentation for this struct was generated from the following file: