Harold Hausman
8/7/2006 6:06:00 AM
On 8/6/06, Skeets <skillet3232@yahoo.com> wrote:
>
> Harold Hausman wrote:
> >
> > Hi Tom,
> >
> > You might want to look into Gtk2, Gnome2, and Glade. I've been having
> > good luck with Gtk recently (after mucking with tk and fox in the
> > past) and it looks like Glade is an xml specification for building
> > Gtk2 GUI's... Or maybe a piece of software used to design Gtk2 GUI's
> > which happens to use XML?
> >
> > Just thought I'd mention it since it wasn't on your list.
> >
> > Regards,
> > -Harold
>
> Harold, i'm working on a pretty simple app that that needs to get 4 or
> 5 pieces of information from my user so it can run. i'm thinking about
> applying rubyscript2exe so i can get it in executable form for windows.
> the script2exeauthor recommends wxruby so that the library can be
> compiled into the exe file. this is great, but there isn't much info
> on wxruby and the tutorial didn't seem to play nice with this newb.
>
> glade looks interesting. can you compare it to wxruby? is it really
> that much of a hassle to link to the library? are glade and
> rubyscript2exe compatible?
>
> tia...
>
Hey, maybe Erik (author of RubyScript2Exe) will chime in here but I
don't think it's the linking up to the library that is the hard part.
The thing about getting Gtk stuff to run on windows seems to be that
the runtimes (in the form of DLLs I believe) need to be installed on
the machine separately from Ruby or your script or whatever. I'm not
sure if that's the case with WxRuby, if not, that would explain why
it's more compatible with RubyScript2Exe. I've never personally tried
WxRuby, first I tried fox because it came with the one click
installer, but the look and feel were all wrong, and the docs for the
ruby bindings were confusing to me, so then I tried tk which had the
right look and feel but the docs are even more scattered and bizarre!
(assuming of course that you don't read Japanese :)
I haven't personally gotten to the point where I want to spread my
Ruby Gtk apps all over the world so I don't have any personal
experience with packaging them up, yet. :) Though I feel like if I can
get it running on my own windows box I should be able to write some
instructions for other people to get it going too, when the time
comes. Moreover, I just assume that any *nix users that want to use
my stuff will not only know how to use Gtk, but will also patch my
code in case I've somehow injected it with Win32 dependecies. ;)
hth,
-Harold