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