Sha256: 11361e793a9bad3b80b3179fc3f150abfa0d3bce12b0f5309e00d73e1e1d0e14
Contents?: true
Size: 348 Bytes
Versions: 101
Compression:
Stored size: 348 Bytes
Contents
require "knj/autoload" class MainWindow def initialize button = Gtk::Button.new("Test") button.signal_connect("clicked") do Gtk.main_quit end win = Gtk::Window.new win.add button win.show_all end def on_button1_clicked(object, event) print "hmm\n" end end main_window = MainWindow.new Gtk.main
Version data entries
101 entries across 101 versions & 1 rubygems