Sha256: b827a2521470b51b29c5cb8afaa5ca0080e3627e2e8970087850813483cda571

Contents?: true

Size: 319 Bytes

Versions: 8

Compression:

Stored size: 319 Bytes

Contents

#
# Based on the empty window Gtk+ tutorial example at
# http://library.gnome.org/devel/gtk-tutorial/2.90/c39.html
#
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'ffi-gtk3'

Gtk.init
win = Gtk::Window.new :toplevel
win.show
GObject.signal_connect(win, "destroy") { Gtk.main_quit }
Gtk.main

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gir_ffi-0.3.2 examples/01_empty_window.rb
gir_ffi-0.3.1 examples/01_empty_window.rb
gir_ffi-0.3.0 examples/01_empty_window.rb
gir_ffi-0.2.3 examples/01_empty_window.rb
gir_ffi-0.2.2 examples/01_empty_window.rb
gir_ffi-0.2.1 examples/01_empty_window.rb
gir_ffi-0.2.0 examples/01_empty_window.rb
gir_ffi-0.1.0 examples/01_empty_window.rb