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
322 B

retquire '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 )
hello.autoResize = true
a.mainWidget = hello
hello.show
a.exec