Sha256: 6d4064cf0d62c2096deedd4c67f8c418ca83994dcff0009788ac1ce9f45f9bca

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require_relative '../../lib/ppcurses.rb'


@app = PPCurses::Application.new

form = PPCurses::Form.new

km = PPCurses::InputElement.new_decimal_only(' Decimal Number', 10)
age = PPCurses::InputElement.new_integer_only('      Integer', 5)

form.add(km)
form.add(age)

@app.content_view = form
@app.launch



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppcurses-0.1.2 test/form/decimal_element.rb