Class: MG::Menu
- Inherits:
-
Object
- Object
- MG::Menu
- Defined in:
- doc/API_reference.rb
Overview
This is usually in the form of buttons that are pressed.
Properties collapse
-
#enabled? ⇒ Boolean
Whether the menu is enabled.
Miscellaneous collapse
-
#align_items_horizontally(padding = null) ⇒ Menu
aligns menu items horizontally with padding (call after adding items via image_item).
-
#align_items_vertically(padding = null) ⇒ Menu
aligns menu items vertically with padding (call after adding items via image_item).
Instance Attribute Details
#enabled? ⇒ Boolean
Whether the menu is enabled. When enabled, a menu can be touched or clicked. By default, a menu is enabled.
663 664 665 |
# File 'doc/API_reference.rb', line 663
def enabled?
@enabled?
end
|
Instance Method Details
#align_items_horizontally(padding = null) ⇒ Menu
aligns menu items horizontally with padding (call after adding items via image_item)
655 |
# File 'doc/API_reference.rb', line 655 def align_items_horizontally(padding=null); end |
#align_items_vertically(padding = null) ⇒ Menu
aligns menu items vertically with padding (call after adding items via image_item)
649 |
# File 'doc/API_reference.rb', line 649 def align_items_vertically(padding=null); end |