class Tetris::View::TetrisMenuBar

Constants

COMMAND_KEY

Public Instance Methods

parent_custom_shell() click to toggle source
# File lib/glimmer-dsl-opal/samples/elaborate/tetris/view/tetris_menu_bar.rb, line 129
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