Sha256: 08aa9b460a1be403afebe8865bf9cc53799e6eee6f20f0f0208f70e7847e53af

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require "newt"

begin

  Newt::Screen.new

  v = Newt::Screen.win_menu("Test Menu", "Text", 50, 5, 5, 3,
							["One", "Two", "Three"], "OK")

  #Newt::Screen.wait_for_key

ensure
  Newt::Screen.finish
end

p v

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newt-0.9.7 examples/test_method/Screen_win_menu.rb
newt-0.9.2 examples/test_method/Screen_win_menu.rb