GTK+ is a highly usable, feature rich toolkit for creating
graphical user interfaces which boasts cross platform
compatibility and an easy to use API. GTK+ it is written
in C, but has bindings to many other popular programming
languages such as C++, Python and C# among others. GTK+ is
licensed under the GNU LGPL 2.1 allowing development of
both free and proprietary software with GTK+ without any
license fees or royalties.
The GNOME project provides two things: The GNOME desktop
environment, an intuitive and attractive desktop for
users, and the GNOME development platform, an extensive
framework for building applications that integrate into
the rest of the desktop.
Testing on Windows 7, Ruiby 2.0.0
* ruby installer Ruby 2.0.0-p0,
* devkit DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe)
Compiling json, eventmachine, ok...
Ruby-GNOME2 1.2.3 supports Ruby 2.0.0! Gems for Windows
includes binaries for Ruby 1.9.3 and Ruby 2.0.0.
Install:
gem install gtk2
Ok for windows, but error installing gtksourceview2 :
d:/usr/Ruby/Ruby200/bin/ruby.exe extconf.rb
....
checking for new allocation framework... yes
checking for attribute assignment... no
checking for cairo... yes
checking for rb_cairo.h... no
checking for Win32 OS... yes
checking for gtksourceview-2.0... no
checking for brew... no
checking for port... no
*** extconf.rb failed ***
gem install gtk3
Nok
error compilling cairo-1.12.4-x86-mingw32 : cairo.h
:No such file or directory
In <41bea7da82c36915b1b1479aa01cf61e@ruby-forum.com>
"Re: Ruby-GNOME2 1.2.3" on Thu, 21 Mar 2013 02:18:38 +0900,
Sorry, some more issues on windows ...
No problem. Thanks for trying it.
* gtksourceview2-1.2.3-x86-mingw32
lib/2.0/gtksourceview2.so
seem to be corrupted: LoadError when require it
Umm... Does it work on Ruby 1.9.3? Could you try it?
* goocanvas
cant find a mingw32 version
Sorry. There is no plan to release it. I want to release it
as GObject Introspection based bindings. But GObject
Introspection can't be cross compiled on Linux. :<
* FileChooserDialog
popup (ruby.exe:3316 : GLib-GIO-ERROR**: No GSettings schemas
are installed on the system)
I will fix it in the next release.
* Colors in Greybird style : in
gdk3-1.2.3-x86-mingw32\vendor\local\share\themes\Greybird\gtk-3.0\gtk.css
thank you to replace theme_Xg_color by :
With gtk3/gtsourceview2 i got:
%%%%%%%%%%%% cannot load such file -- ./2.0/gtksourceview2.so
from modified
gtksourceview2-1.2.3-x86-mingw32\lib\gtksourceview2.rb as
begin
major, minor, micro, = RUBY_VERSION.split(/\./)
require "./#{major}.#{minor}/gtksourceview2.so"
rescue LoadError => e
puts "%%%%%%%%%%%% #{e}"
require "gtksourceview2.so"
end
what is gtsourceview3 ? do i need it for use sourceView with gtk3 ?
* goocanvas
Sorry. There is no plan to release it...
Too bad, i wanted switch to gtk3 for get goocanvas ...
I do not know why, but the references of @bg_color and @fg_color
do not work in definition of theme_bg_color and theme_fg_color,
so my propositoion for obtain a correct look on windows :
I do not know why, but the references of @bg_color and @fg_color
do not work in definition of theme_bg_color and theme_fg_color,
so my propositoion for obtain a correct look on windows :
Could you show me a sample program, expected screenshot
(maybe you use modified gtk3.css) and actual screenshot (you
use the original gtk3.css)? I will try it on Windows.
Thanks,
···
Regis d'Aubarede <lists@ruby-forum.com> wrote:
--
kou