1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
Ruby/Libglade2
==============
Ruby/Libglade2 is a Ruby bindings of Libglade2.
This provides a very simple interface to the libglade library,
to load interfaces dynamically from a glade file.
Requirements
------------
Ruby: http://www.ruby-lang.org/
GTK+: http://www.gtk.org/
libgnome: http://www.gnome.org/ (If you use GNOME widgets)
Libglade2: http://www.daa.com.au/~james/gnome/
Ruby/GLib2, Ruby/GTK2: http://ruby-gnome2.sourceforge.net/
Ruby/GNOME2: http://ruby-gnome2.sourceforge.net/ (If you use GNOME widgets)
ruby-glade-create-template requires:
REXML: http://www.germane-software.com/software/rexml/
(Included in ruby-1.8.x or later)
Install
-------
0. install libgnome2, libglade2, libxml2, libz, ruby.
1. ruby extconf.rb
2. make
3. su
4. make install
It requires libglade2, libxml2, and libz. You may have to
provide extconf.rb with the paths to these.
And ruby-glade-create-template requires REXML.
Usage
------
Create a ruby-glade template .rb file from a .glade file.
$ruby-glade-create-template yourgladefile.glade > file.rb
Then you can excute it.
$ ruby file.rb
Copying
-------
Copyright (c) 2002-2005 Ruby-GNOME2 Project Team
This program is free software.
You can distribute/modify this program under the terms of
the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
Original author is Avi Bryant <avi@beta4.com>
Project Website
---------------
http://ruby-gnome2.sourceforge.jp/
|