Here's a port of the current ruby binding for gtk2.  Like the ruby-qt4
port, you need to LD_PRELOAD libpthread for this to work.

Tested on amd64.  Compiles on i386, but not tested there yet.

Jeremy

Here's a test program if you want to test:

require 'gtk2'

button = Gtk::Button.new("Hello World")
button.signal_connect("clicked") {
  puts "Hello World"
}

window = Gtk::Window.new
window.signal_connect("delete_event") {
  puts "delete event occurred"
  #true
  false
}

window.signal_connect("destroy") {
  puts "destroy event occurred"
  Gtk.main_quit
}

window.border_width = 10
window.add(button)
window.show_all

Gtk.main

Attachment: ruby-gtk2.tar.gz
Description: application/tar-gz

Reply via email to