From: Conrad Schneiker Date: 2001-05-15T07:03:47+09:00 Subject: [ruby-talk:15122] Re: Q: GUI framework with direct drawing capabilities? Stefan Matthias wrote: # I wonder whether there's any Ruby GUI package available which not # only supports the usual widgets/controls but also has some kind of # canvas object in which I can draw directly. It should support # Windows and optionally Linux. # # I'd like to draw a map of six-sided fields (so called hexes) either # by filling polygons or (preferable) blitting non-rectangular bitmap # tiles. It should be possible to add text. Furthermore, I'd like # react to mouse clicks into hexes. I'm not sure what you mean by "can draw directly"--with a mouse or with a program? In either case, Ruby/TK should be able to handle this. Check out the Tk widget demos in the RAA; you might be able to start out by cutting, pasting, and hacking stuff from them. I think there is work underway to translate the Ruby/Tk documentation from Japanese into English, which may also be helpful. There is also a brief intro to Ruby/Tk in the Pickaxe book. Disclaimer: I am not a Ruby/Tk expert, but there are some other people that could probably help you with this, here and on the comp.lang.tcl newsgroup. Conrad Schneiker (This note is unofficial and subject to improvement without notice.)