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

require 'Qt'
require 'tooltip'

a = Qt::Application.new(ARGV)

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