Class: Toybox.WatchUi.IconMenuItem
- Inherits:
-
Toybox.WatchUi.MenuItem
Overview
See Also:
Instance Method Summary collapse
-
getIcon() as Graphics.BitmapType or WatchUi.Drawable or Null
Get IconMenuItem icon.
-
initialize(label as Lang.String or Lang.Symbol, subLabel as Lang.String or Lang.Symbol or Null, identifier, icon as Graphics.BitmapType or WatchUi.Drawable, options as { :alignment as MenuItem.Alignment } or Null)
Constructor.
-
setIcon(icon as Graphics.BitmapType or WatchUi.Drawable) as Void
Set the IconMenuItem icon.
Instance Method Details
getIcon() as Graphics.BitmapType or WatchUi.Drawable or Null
Get IconMenuItem icon.
initialize(label as Lang.String or Lang.Symbol, subLabel as Lang.String or Lang.Symbol or Null, identifier, icon as Graphics.BitmapType or WatchUi.Drawable, options as { :alignment as MenuItem.Alignment } or Null)
Constructor
setIcon(icon as Graphics.BitmapType or WatchUi.Drawable) as Void
Set the IconMenuItem icon.