Sha256: 057f307affa02040c60a13700ccdf92eb3d7a406f9403a023cf232341dc939fc
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require "newt" begin Newt::Screen.new cb1 = Newt::Checkbox.new(1, 10, "Button1", 'A', nil) cb2 = Newt::Checkbox.new(1, 11, "Button2", '', '+') b = Newt::Button.new(1, 12, "Exit") f = Newt::Form.new f.add(cb1, cb2, b) f.run() ensure Newt::Screen.finish end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
newt-0.9.7 | examples/test_method/Checkbox_new.rb |
newt-0.9.2 | examples/test_method/Checkbox_new.rb |