Sha256: eca3110dff46b16a823615071cc35bb51c42ca5534de7d5d2f69012c65107b72

Contents?: true

Size: 369 Bytes

Versions: 12

Compression:

Stored size: 369 Bytes

Contents

module PPCurses

  class CompositeMenu

    def initialize(menu1, menu2)
      @menu1 = menu1
      @menu2 = menu2

      @menu1.setSubMenu(menu2)

    end

    def show()
      @menu1.show()
      @menu2.show()
    end


    def getMenuSelection()
     @menu1.getMenuSelection() 
    end
 
	  def close()
      @menu1.close()
      @menu2.close()
 	  end

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

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