I've written a couple Ruby programs that run on Linux using
ruby-gnome2 as the GUI toolkit. Say I get asked to port them over to
Windows (2000 and up).
How would I go about slapping a .NET GUI frontend on it? (I'm
assuming using .NET is the way to go these days)
I've written a couple Ruby programs that run on Linux using
ruby-gnome2 as the GUI toolkit. Say I get asked to port them over to
Windows (2000 and up).
How would I go about slapping a .NET GUI frontend on it? (I'm
assuming using .NET is the way to go these days)
I've written a couple Ruby programs that run on Linux using
ruby-gnome2 as the GUI toolkit. Say I get asked to port them over to
Windows (2000 and up).
How would I go about slapping a .NET GUI frontend on it? (I'm
assuming using .NET is the way to go these days)
Joe, just curious why you wouldn't just use the Windows version of Ruby-Gtk2? Is it because of look&feel?
If it's stability concerns, I've written a couple of Ruby-Gtk2 apps that run on Windows every day and my users report no problems.
My RubyCLR bridge should let you do what you're looking for - the drop
that's out there in circulation now has a simple RSS reader built as a
Windows Forms 2.0 application. I've also built a non-trivial 3D Avalon (WPF)
app using an earlier version of the bridge, although I'm just revisiting
that stuff now.
The current drop is almost 3 weeks old - it's about due for a refresh My
private builds now have a ton of new features; off the top of my head there
is:
- support for interfaces
- a lot of really cool Reflection features to make prototyping .NET code in
irb *much* nicer
- a ton of perf and reliability work; 80% of the C++ part of the bridge was
re-written.
- much better support for a few data binding scenarios (such as data binding
against native Ruby arrays)
- support for generics (I don't resolve method overloads against generic
types correctly now - I'm punting that to the next release)
- proper support for array creation
Hm... I'll have to see how ruby-gnome2 operates on Windows. I really
prefer native GUI toolkits though. I'd probably design a Windows UI
completely different than a Linux UI (and also probably different on
OS X).
> Joe, just curious why you wouldn't just use the Windows version of
> Ruby-Gtk2? Is it because of look&feel?
>
> If it's stability concerns, I've written a couple of Ruby-Gtk2 apps that
> run on Windows every day and my users report no problems.
Look&Feel are pretty much OK as well if you change the GTK renderer to WIMP.