mpthompson at gmail.com
9/12/2006 12:44:00 AM
I'm would like to create a unified Ruby on Windows XP that will combine
user interface elements of Ruby/Tk and OpenGL. Using Google I've seen
several year old references to a Togl Tk widget that seemed to wrap
OpenGL as a Tk widget, but all the links to it appear to be dead and I
can't find any references that it ever worked on Windows.
I'm have looked into FxRuby as it has OpenGL support built in, but
unfortunately aspects of my user interface are tied to the Tk Canvas
object which provides needed 2D editing functionality for my
application. Is it possible to wrap the Tk canvase within FxRuby? I
assume not.
I would appreciate it if someone provide insight into if it is indeed
possible to wrap an OpenGL view as a Tk widget in Ruby.
I guess my fallback is to create a single application that manages two
windows, one being the OpenGL and the other being Ruby/Tk.
--Mike