summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/tooltip/main.rb
blob: c3774a429434cc26fb782c291b2657a5231d32dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env ruby

retquire 'Qt'
retquire 'tooltip'

a = TQt::Application.new(ARGV)

mw = TellMe.new
mw.setCaption('QtRuby Example - Dynamic Tool Tips')
a.setMainWidget(mw)
mw.show
a.exec