You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/tqtruby/rubylib/examples/tqt-examples/dclock/main.rb

13 lines
223 B

#!/usr/bin/env ruby
require 'TQt'
require 'dclock'
a = TQt::Application.new(ARGV)
clock = DigitalClock.new
clock.resize(170,80)
a.setMainWidget(clock)
clock.setCaption('TQtRuby Example - Digital Clock')
clock.show
a.exec