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