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/korundum/rubylib/tutorials/p2/p2.rb

12 lines
266 B

require 'Korundum'
about = KDE::AboutData.new("p2", "Hello World", "0.1")
KDE::CmdLineArgs.init(ARGV, about)
a = KDE::Application.new()
hello = TQt::PushButton.new( a.i18n("Hello World !"), nil )
a.mainWidget = hello
hello.show
a.exec