Ruby-gtk ?

M

Martin Hart

Hi,

what's happened to ruby-gtk? I have looked in RAA and rubyforge but I can't
find it. Am I missing something?

Cheers,
Martin

--
Martin Hart
Arnclan Limited
53 Union Street
Dunstable, Beds
LU6 1EX
http://www.arnclanit.com
 
G

gabriele renzi

Hi,

what's happened to ruby-gtk? I have looked in RAA and rubyforge but I can't
find it. Am I missing something?

it's included in the ruby-gnome2 project:
ruby-gnome2.sourceforge.jp
 
J

Jason Voegele

what's happened to ruby-gtk? I have looked in RAA and rubyforge but I
can't find it. Am I missing something?

It's now part of the Ruby-GNOME2 project.

http://ruby-gnome2.sourceforge.jp/

--
Jason Voegele
/usr/games/fortune -s
The economy depends about as much on economists as the weather does on
weather forecasters.
-- Jean-Paul Kauffmann
 
A

Archit Baweja

Hey

Charles Hixson said:
A word of warning, however. SourceForge lists that project as being
"pre-Alpha", and experiments seem to bear that out.

I would strongly disagree. The bindings are pretty stable (imho). Maybe docs
are lacking (but I don't care, since I have quite a bit of experience in Gtk+)
I am already writing 3 apps which are turning out pretty stable. And with the
upcoming 0.9.0 release, some more goodies are coming.

Cheers!
Archit
 
A

Alexander Kellett

I would strongly disagree. The bindings are pretty stable (imho). Maybe
docs are lacking (but I don't care, since I have quite a bit of experience
in Gtk+) I am already writing 3 apps which are turning out pretty stable.
And with the upcoming 0.9.0 release, some more goodies are coming.

100% agreed.
i've had no problems with the experiments i did
and i have no gtk+ experience.

Alex
 
J

Jeremy Henty

SourceForge lists that [ruby-gnome2] as being "pre-Alpha", and
experiments seem to bear that out.

Can you be more specific? I have been using ruby-gnome through
several versions and my experience is that it is admirably reliable
and robust.

Regards,

Jeremy Henty
 
D

Dick Davies

Jeremy said:
Charles Hixson wrote: said:
SourceForge lists that [ruby-gnome2] as being "pre-Alpha", and
experiments seem to bear that out.


Can you be more specific? I have been using ruby-gnome through
several versions and my experience is that it is admirably reliable
and robust.

'me too' - maybe its a platform thing? I've seen GTK on Windows
(the Gimp uses it), but it's buggy.
 
G

gabriele renzi

il Sat, 28 Feb 2004 23:52:42 +0900, Dick Davies
'me too' - maybe its a platform thing? I've seen GTK on Windows
(the Gimp uses it), but it's buggy.

the latest gtk from dropline have native l&f and are quite stable,
imho. Same goes for ruby-gtk2 (on my XP box)
 
L

Laurent Sansonetti

Documentation is indeed lacking, we especially need API reference and
tutorials for all covered libraries. We are currently working on this.
100% agreed.
i've had no problems with the experiments i did
and i have no gtk+ experience.
From a KDE developer this is nice to hear ;-)

Cheers,
 
M

Masao Mutoh

Hi,

On the subject of ruby-gtk2, the absence of (sufficient) docs is
a shame, and the raw GTK docs don't always help. But perhaps one
of you folk can help me.

I've modified one of the TreeView examples to add a toggle as a
second column, but I can't work out what signal to connect to
allow the toggle to be clicked. My code is below, can you see
how to make the toggle clickable?

Use "toggled" signal.
See http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk::CellRendererToggle

And there are two samples for this.
Try gtk/sample/gtk-demo/list_store.rb, tree_store.rb
Is there a dynamic way to list all signals that an object can
generate?

See http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips_signals,

Also rbbr shows properties and signals.
Try http://raa.ruby-lang.org/list.rhtml?name=rbbr
 
M

Masao Mutoh

Hi,

Thanks. I had tried this, but without having found the samples I didn't
get it right. I dived in too deep, too soon :). The sample applications
are great - just what I needed.

They do have a few problems on Windows XP though. For example:
* Lots of warnings about missing fonts (can these be disabled?)

This is a GTK+ issue. I don't know how to be disable it.
You can get other gtk application like gtk-demo
If you can set font properties correctly, the message will be not shown.
* Open Stock Item and Icon browser. Down-arrow many times to
change the icon. After 40-50 times, the program crashes.

This is a known bug and have alreday fixed on CVS.
* Open "Images". It starts to draw, then crashes in "close" with
"Unrecognised image file format".
* "Pixbufs" demo instantly chucks an exception in find_file

Hmm. they seem environment problem. I'll try to fix it.
* "Item Factory" demo doesn't work (Alt key not detected perhaps?)

Try "Alt + F". In my environment(Windows2000) it works fine.
* "Size Group" doesn't seem to show anything, should it?

It works on Linux box. It seems environment problem, too.
I'll try to fix it.
* "Change Display" seems to be only an X thing. Does Gtk detect
multi-screen Windows desktops?

I'm not sure.
But I think gtk-demo is not suitable for Windows environment.
It's just demo.
Looks like these probably all work under X, just need debugging with
Windoze.

Agreed. But my main development environment is a Linux box.
And I don't have enough time ...
So I can't support windows well. We'll welcome any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DRb error with Ruby 1.8.1 0
Minor bug in RedCloth (?) 2
HTML Parsing? 10
YAML Aborting with large data set? 3
CGI and multipart data 4
Is there any good Ruby GTK tutorial 5
GTK ListBox? 3
ruby gtk dialog 1

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top