Sha256: 28bd2b7f37b625892de0f585aaab502db233d7005fe520f7d152ee8ee887002d

Contents?: true

Size: 781 Bytes

Versions: 2

Compression:

Stored size: 781 Bytes

Contents

# GirFFI-Gtk

GirFFI-based bindings for Gtk+. Supports both Gtk+ 2 and Gtk+ 3.

## Usage

Gtk2:

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

Gtk3:

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

See the `examples/` directory for more examples.

## Install

    gem install gir_ffi-gtk

## License

Copyright © 2012–2014 [Matijs van Zuijlen](http://www.matijs.net)

GirFFI-Gtk is free software, distributed under the terms of the GNU Lesser
General Public License, version 2.1 or later. See the file COPYING.LIB for
more information.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-gtk-0.7.1 README.md
gir_ffi-gtk-0.7.0 README.md