Sha256: 98674f2ecde9b50fbdb914fdc4b1c0ad61a582b48840a0f4e0944e724f582d3e

Contents?: true

Size: 228 Bytes

Versions: 14

Compression:

Stored size: 228 Bytes

Contents

class BaseMenu

  def setSubMenu(menu)
    @subMenu = menu
  end

  def hide()
    @win.clear
    @win.refresh

    @subMenu.hide() if @subMenu      
  end

  def getSelectedMenuName()
    return @items[@selection] 
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ppcurses-0.0.20 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.19 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.18 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.17 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.16 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.15 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.14 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.13 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.12 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.11 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.10 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.9 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.8 lib/ppcurses/menu/BaseMenu.rb
ppcurses-0.0.7 lib/ppcurses/menu/BaseMenu.rb