Thank you for the quick response. I was aware of Tk, but - honestly - I
think Tk is ugly, anachronistic and even a lot worse than current Java
Swing.
[..]
The app I'm building will have a Dia/Visio/XFig/Inkscape-like "drag and drop shapes onto a canvas" GUI, but not a full diagramming package. I've actually considered using one of the open-source diagramming packages as a front end but I haven't found one that's Ruby-scriptable -- Python and Guile/Scheme appear to be the scripting languages of choice for such codes. If I go this way I'll have to have the diagramming package export XML or SVG and have the Ruby program execute it.
Google sketchup is a free drawing app that uses Ruby for plugins and general extensions. It is available for OSX and Windows, but not Linux, so may not be of interest to you.
Dave.
···
On 26 Sep 2006, at 15:02, M. Edward (Ed) Borasky wrote:
Hmmm ... has anyone built a "GUI" using ruby-rsvg?
1. Tk is ugly, but it's a "de facto standard" and does come built-in.
...
The app I'm building will have a Dia/Visio/XFig/Inkscape-like "drag and drop shapes onto a canvas" GUI, but not a full diagramming package. I've actually considered using one of the open-source diagramming packages as
Tk does have a rather nice 2D Canvas widget with various shapes, layers, groups, etc. I'd love to see a similar widget in Fox...
···
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
your project's code, plus three separate GUIs. However, the GUIs should
be pretty simple.
If you make the GUI and the rest of the project communicate using some
kind of RPC over TCP, you even get, for pretty much free, the ability to
have the GUI remote.
Or use Rails and make a browser-based GUI with Ajax.
That is certainly interesting for some applications but I think that
approach is not feasible when you need to do any kind of graphics stuff
like drawing to a canvas, interactive graphics and even more, 3D.
QT is quite nice on the MacOS X (although far from looking native).
GTK does not exist on MacOS X (unless you run it in X11, but that is
like saying the GUI is *NOT* native). A port is being made, but I don't
know how well it works.
wx is a lot worse than QT (on the MacOS X).
···
Thomas Adam <thomas.adam22@gmail.com> wrote:
I suppose I could
suggest GTK to you as well as QT, since I know both those widget sets
will run on Windows (with the proviso that they're installed of course
-- certainly that doesn't ship natively with Windows), although I have
no idea what that's like for the Mac, or even if ports are available
for it. Again, there is also the wxWindows widget set (WxWindows is
the old name for it -- I forget what it has been renamed to).
QT is quite nice on the MacOS X (although far from looking native).
GTK does not exist on MacOS X (unless you run it in X11, but that is
like saying the GUI is *NOT* native). A port is being made, but I don't
know how well it works.
> QT is quite nice on the MacOS X (although far from looking native).
> GTK does not exist on MacOS X (unless you run it in X11, but that is
> like saying the GUI is *NOT* native). A port is being made, but I don't
> know how well it works.
I may be wrong, but I'm pretty sure FOX uses X11 under OS X. (But I
don't like how FOX looks on Windows or X as it is, so I may be biased)
···
On Tue, Sep 26, 2006 at 08:00:12PM +0900, Une b?vue wrote:
Mc Osten <riko@despammed.com> wrote:
what about FOX on Mac OS X ???
--
une b?vue
From wikipedia:
Both Qt and wxWidgets have some support for programming natively on Mac
OS and Mac OS X platforms, which FOX currently does not support.
I suppose you are right.
And what about FLTK? And XUL? In fact it may be quite interesting...
···
Logan Capaldo <logancapaldo@gmail.com> wrote:
I may be wrong, but I'm pretty sure FOX uses X11 under OS X. (But I
don't like how FOX looks on Windows or X as it is, so I may be biased)
well, it doesn't need to be your stuff
I simply don't know any application that uses it (and never looked for
one). So if you were aware of such an application, I would have tried it
gladly.
However, it looks like you do have a mac too, so I suppose if you knew
those applications, you would have tried them by yourself.
the most "live" app i'am using on mac, being not X11 dependant, are
SwingX-java and Swt-java (for X-platform).
i think also they are F-Script-Cocoa app, able to run on other platform
because Objective-C is also available over windows (by using gnustep ?)
and sure over *nix...
···
Mc Osten <riko@despammed.com> wrote:
However, it looks like you do have a mac too, so I suppose if you knew
those applications, you would have tried them by yourself.
Just a note about Tk -- it has built-in *bindings* in ruby, not a
built-in toolkit. You still need the Tcl/Tk backend, which must be
installed seperately on windows or *nix or mac. Not to mention that
Tile must be installed seperately (for the tk 1.8 stable branch at
least). Unless I've missed something, the only thing built-in about Tk
is the bindings, not the toolkit itself.