PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > Which GUI library to use?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Which GUI library to use?

Réponse
 
LinkBack Outils de la discussion
Vieux 09/05/2008, 16h43   #1
MohsinHijazee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Which GUI library to use?

Hi!
Which GUI library you would recommend to use?

Ruby-GTK or FXRuby?

With respect to:
* Which one is widely use in ruby community?
* Which one is easier?
* Which one is considered more 'rubiysh' by ruby enthusiats. I mean
which one is considered more internal to Ruby?

Regards,
Mohsin
  Réponse avec citation
Vieux 09/05/2008, 17h16   #2
Marc Heiler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

> Which GUI library you would recommend to use?
> Ruby-GTK or FXRuby?


You gave only two choices

> With respect to:
> * Which one is widely use in ruby community?


Difficult to tell. I think ruby-gtk has a slight advantage in this
regard over FXRuby.

> * Which one is easier?


Cant really say. My personal feeling is that FXRuby is easier because
Gtk/gnome really is somewhat large. But then again, both are rather easy
once you understood how signals work.

> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
> which one is considered more internal to Ruby?


That is somewhat impossible to answer. :/

In general I think it is better to just work and not bother which one is
more "rubyish". Both are actively maintained, it does not so much matter
which one you use IMHO.
--
Posted via http://www.ruby-forum.com/.

  Réponse avec citation
Vieux 09/05/2008, 18h48   #3
Ing. Daniel Manrique
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

MohsinHijazee wrote:
> Hi!
> Which GUI library you would recommend to use?
>
> Ruby-GTK or FXRuby?
>
> With respect to:
> * Which one is widely use in ruby community?
> * Which one is easier?
> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
> which one is considered more internal to Ruby?
>
> Regards,
> Mohsin
>
>



Hi,

I've had very good results with WxRuby http://wxruby.rubyforge.org/; It
didn't take long to learn, is NOT very rubyish (basically the C++ APIs
are reimplemented in Ruby), but was very useful for cross-platform
development. So you might want to consider that as a third option.


  Réponse avec citation
Vieux 09/05/2008, 20h59   #4
Alec Ross
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

In message <48248E89.2010605@correo.fca.unam.mx>, Ing. Daniel Manrique
<dmanriqu@correo.fca.unam.mx> writes
>MohsinHijazee wrote:
>> Hi!
>> Which GUI library you would recommend to use?
>>
>> Ruby-GTK or FXRuby?
>>
>> With respect to:
>> * Which one is widely use in ruby community?
>> * Which one is easier?
>> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
>> which one is considered more internal to Ruby?
>>
>> Regards,
>> Mohsin
>>
>>

>
>
>Hi,
>
>I've had very good results with WxRuby http://wxruby.rubyforge.org/; It
>didn't take long to learn, is NOT very rubyish (basically the C++ APIs
>are reimplemented in Ruby), but was very useful for cross-platform
>development. So you might want to consider that as a third option.
>
>


That page also mentions wxSugar; a "sweeter, more Ruby-ish API".

HTH
--
Alec Ross
  Réponse avec citation
Vieux 10/05/2008, 02h38   #5
James Britt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

MohsinHijazee wrote:
> Hi!
> Which GUI library you would recommend to use?
>
> Ruby-GTK or FXRuby?


Neither.

JRuby + Swing + Monkeybars.




--
James Britt

http://www.rubyaz.org - Hacking in the Desert
http://www.jamesbritt.com - Playing with Better Toys

  Réponse avec citation
Vieux 10/05/2008, 04h35   #6
M. Edward (Ed) Borasky
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

MohsinHijazee wrote:
> Hi!
> Which GUI library you would recommend to use?
>
> Ruby-GTK or FXRuby?
>
> With respect to:
> * Which one is widely use in ruby community?


I've never seen any statistics on this. I suspect that there aren't all
that many Ruby GUI applications.

> * Which one is easier?


I think Shoes is probably the easiest to use.

> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
> which one is considered more internal to Ruby?


They are pretty much all derived from C/C++ toolkits except Ruby/Tk,
which is derived from Perl/Tk, which in turn is derived from Tcl/Tk. I
think Shoes is probably the most "Rubyish" of the bunch. Certainly
wxRuby, QtRuby, FXruby and Ruby-GTK are all layered on top of C/C++
libraries.

  Réponse avec citation
Vieux 10/05/2008, 11h01   #7
Vladimir Konrad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

> Ruby-GTK or FXRuby?

Both are OK, but it depends on what application you want to write (e.g.
FXRuby has table widget, GTK does not, GTK can do html
widget, not sure about FXRuby)...

Vlad
  Réponse avec citation
Vieux 10/05/2008, 17h48   #8
Joel VanderWerf
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

Vladimir Konrad wrote:
>> Ruby-GTK or FXRuby?

>
> Both are OK, but it depends on what application you want to write (e.g.
> FXRuby has table widget, GTK does not, GTK can do html
> widget, not sure about FXRuby)...


and Tk has a nice Canvas...

(GTK really doesn't have a Table?)

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

  Réponse avec citation
Vieux 10/05/2008, 18h35   #9
Jonathan Hudson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

On Sat, 10 May 2008 11:48:46 -0500
Joel VanderWerf <vjoel@path.berkeley.edu> wrote:

> Vladimir Konrad wrote:
> >> Ruby-GTK or FXRuby?

> >
> > Both are OK, but it depends on what application you want to write (e.g.
> > FXRuby has table widget, GTK does not, GTK can do html
> > widget, not sure about FXRuby)...

>
> and Tk has a nice Canvas...
>
> (GTK really doesn't have a Table?)
>

GTK does have a table.

-jh

  Réponse avec citation
Vieux 11/05/2008, 22h40   #10
Uwe Kubosch
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?

On Sat, 2008-05-10 at 00:45 +0900, MohsinHijazee wrote:
> Hi!
> Which GUI library you would recommend to use?
>
> Ruby-GTK or FXRuby?
>
> With respect to:
> * Which one is widely use in ruby community?
> * Which one is easier?
> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
> which one is considered more internal to Ruby?


Since we're already mentioning other alternatives:

I've had some experience with JRuby + SWT and I must say it is the most
friendly and productive GUI toolkit I've used.

I'm comparing it to Ruby-GTK, JRuby + Swing, JRuby + AWT, JRuby +
Glimmer, Java + AWT, Java + Swing, and Java + SWT

I'm currently working with JRuby + SWT + JFace and it looks even better.
We have started a project using Eclipse RCP with most of the business
logic written in JRuby. Looks great so far (5 weeks into the project).


Uwe Kubosch
Norway


  Réponse avec citation
Vieux 08/06/2008, 22h43   #11
Vladimir Konrad
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Which GUI library to use?


Sorry for the late reply,


> > and Tk has a nice Canvas...
> >
> > (GTK really doesn't have a Table?)
> >

> GTK does have a table.


Well, one can simulate one using tree-view and list store, but the last
time I needed table header for each line, I had to link movement of 2
tree-views. It is not really a table/spread-sheet widget (unless there
is one in the works in the new gtk version)...

Vlad
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 00h27.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17764 seconds with 19 queries