Sha256: a170e8b30aa90304671b352465e1c268f1b956a2500a96c2c06c3b527b82f6c1

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

module PPCurses

  class CompositeMenu

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

      @menu1.set_sub_menu(menu2)

    end

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


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

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppcurses-0.0.21 lib/ppcurses/menu/CompositeMenu.rb