Sha256: 54a85c78df31e9bf9fe0b50046ad212993629e2a38fe89ddf22966773b88b5b2
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require "newt" begin Newt::Screen.new b1 = Newt::CompactButton.new(1, 5, "Button1") b2 = Newt::CompactButton.new(1, 9, "Button2") b = Newt::Button.new(1, 13, "Exit") f = Newt::Form.new f.add(b1, b2, 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/CompactButton_new.rb |
newt-0.9.2 | examples/test_method/CompactButton_new.rb |