Sha256: a9da9e291d1b6d231a29421b7ff3361cf8433a458c7eeb313174d2bc12a7941c

Contents?: true

Size: 263 Bytes

Versions: 101

Compression:

Stored size: 263 Bytes

Contents

require "knj/autoload"

button = Gtk::Button.new("Test")
button.signal_connect("clicked") do
  print "Clicked!\n"
end

win = Gtk::Window.new("Trala")
win.add(button)
win.show_all

win.signal_connect("destroy") do
  print "Destroy!\n"
  Gtk.main_quit
end

Gtk.main

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
knjrbfw-0.0.116 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.115 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.114 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.113 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.111 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.110 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.109 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.108 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.107 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.105 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.104 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.103 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.102 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.101 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.100 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.99 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.98 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.97 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.96 lib/knj/jruby-gtk2/tests/test_normal_window.rb
knjrbfw-0.0.95 lib/knj/jruby-gtk2/tests/test_normal_window.rb