best gui toolkit

H

Hidetoshi NAGAI

From: Chad Perrin <[email protected]>
Subject: Re: best gui toolkit
Date: Wed, 3 Dec 2008 03:43:05 +0900
Message-ID: said:
Probably even easier to learn and implement: tk

Tk lacks some features you may have come to expect from GTK, however.

Please teach me about the features.
I want to add the features to Ruby/Tk, if I can.

For example, HBox/VBox(?) like widget are included
in a example 'tkalignbox.rb' on 'ext/tk/sample' directory.
 
P

Pierre Pat

I personaly like wxRuby.
Quite easy, and lots of sample code provided with it, so really easy to
pick up.

Shoes is just fun to code, works really nicely, but I wouldn't recommand
it for normal GUI application yet, since it doesnt have menu bar for
instance.
But it's definitely worth trying :)
 
S

Saji N. Hameed

Does anyone want Tcl3D (http://www.tcl3d.org/) support on Ruby/Tk ?

that will be fantastic!

saji

--
Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 (e-mail address removed)
KOREA
 
M

mdiam

you guys should really look at shoes if you want 2D!

I agree that shoes it's a very nice toy, but:
- what about if I need binding like:
I totally agree with you with you that tk is really underestimated,

I agree too! Tk (and Tcl) has Unicode support for long time now, much
before most other script languages

The main default of Ruby with the GUI is the same default TCL has with
OO systems

The TCL argument for not having a standard OO system was that on can
use several of them... but as no one is standard, Tcl is not yet
considered as a OO langage.

Also Ruby has many (more or less easy to install) Gui toolkit
availables.
But if Ruby had (only) one full supported (preinstalled) GUI
Every one could count on any Ruby installation for building a Gui
application!
 
L

Logan Barnett

[Note: parts of this message were removed to make it a legal post.]


Also Ruby has many (more or less easy to install) Gui toolkit
availables.
But if Ruby had (only) one full supported (preinstalled) GUI
Every one could count on any Ruby installation for building a Gui
application!

This is along the lines of declaring a One True web framework (like
Rails).
Tk and Swing are two multiplateform Gui toolkit.
It would be nice if Tk could be used in the Java world, and
if Swing could (out of the Ruby box) be used from the (C)Ruby
world!

Swing can be used out of box from JRuby, and JRuby + Swing apps don't
require the user to install all of (J)Ruby, but just double click a
jar/exe/app. What's the harm with JRuby, or are you referring to Ruby
in a general sense?

-Logan
 
M

mdiam

Hello Logan,

This is along the lines of declaring a One True web framework (like  
Rails).

Not exactly the same, I think (but not sure) that it's easier to
change
from a framework to another than from a (lower library like) a
GUI such Swing to Qt or Gtk.
So a GUI choice seems critical for me.

Also Tcl provide a natural GUI library with it's Tk tool kit. But
also Python which embed Tk with it!
A Python/Tk script is easiest to distribute than a Ruby/Tk (but not
as sexy to write ;-)

Swing can be used out of box from JRuby, and JRuby + Swing apps don't  
require the user to install all of (J)Ruby, but just double click a  
jar/exe/app.

Yes, that is **the** big advantage for JRuby (and the fact that any
java lib can be use
directly with Jruby!)

What's the harm with JRuby, or are you referring to Ruby  
in a general sense?

Some of my Ruby scripts (without gui) run either in (C)Ruby or in
Jruby without
any modifications, which is very nice.
But I have some Ruby/Tk which cannot be rub into Jruby whith big
changes !

Having Tk running onto jruby (either via Swank java lib or via FFI and
native Tk) would allow me to smoothly migrate from (C)ruby to Jruby.
Or having Swing gui easily usable from native CRuby (without jni)
could be very nice too!

-- Maurice
 

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


Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top