From: Robert Dober Date: 2009-04-27T22:52:59+09:00 Subject: Re: Gui library suggestion based on my needs? On Mon, Apr 27, 2009 at 3:28 PM, Pito Salas wrote: > Any recommendation on which 'gui' package I should use to build a ruby > client application? > > Here are some of my needs, some of which have bearing on the > package I choose: > > - Should run on windows, mac and linux > - I don't have a strong requirement that the app looks super 'native' > on each platform. > - I should be able to create a simple installer for it that is a no anyway, unless somebody comes up with a thingy I do not know about yet , which would be great of course, all Ruby GUIs need a library, that said Gnome and Tk are both easy to install on Linux and Windose, Mac? I dunno, but supposedly yes. > - User should be able to launch it from the desktop > - The UI is relatively simple: menus, windows, dialog boxes tk is the simplest solution satisfying the points above > - A key part of the interface is a graphical display of a scanned > image (from a .tiff for example) and allowing the user to use the > mouse to drag out rectangles annotating the image > - In a different command, the graphical display of a scanned images > needs quickly cycle through one after the other > - The graphical display of the scanned image needs to be zoomed in and > out and panned with the mouse I guess you gotta check that out for yourself but I do not see any particular difficulties ad hoc. > Thoughts? Yeah maybe you wanna check out JRuby and all those emerging Java GUI builders that is accessible from it. HTH Robert -- Si tu veux construire un bateau ... Ne rassemble pas des hommes pour aller chercher du bois, préparer des outils, répartir les tâches, alléger le travail… mais enseigne aux gens la nostalgie de l’infini de la mer. If you want to build a ship, don’t herd people together to collect wood and don’t assign them tasks and work, but rather teach them to long for the endless immensity of the sea. -- Antoine de Saint-Exupéry