Class: GlimmerTetris::View::TetrisMenuBar
- Inherits:
-
Object
- Object
- GlimmerTetris::View::TetrisMenuBar
- Includes:
- Glimmer::UI::CustomWidget
- Defined in:
- app/glimmer_tetris/view/tetris_menu_bar.rb
Constant Summary collapse
- COMMAND_KEY =
OS.mac? ? :command : :ctrl
Instance Method Summary collapse
Instance Method Details
#parent_custom_shell ⇒ Object
134 135 136 137 138 |
# File 'app/glimmer_tetris/view/tetris_menu_bar.rb', line 134 def parent_custom_shell # grab custom shell widget wrapping parent widget proxy (i.e. Tetris) and invoke method on it the_parent_custom_shell = parent_proxy&.get_data('custom_shell') the_parent_custom_shell if the_parent_custom_shell&.visible? end |