Re: [Fxruby-users] C++ Fox widgets to be used in FXRuby ... any way?
Status: Inactive
Brought to you by:
lyle
From: Riccardo G. <ric...@fi...> - 2003-07-22 14:23:12
|
Yes sure .. as an example Marco Frailis has done a ColoredListItem starting from some C++ code snippsets he found on the Fox project page .. the conversion to the FXRuby domain was quite straightforward .. my question was originated by the fact that I'll probably need to support a C++ application (not all the people around like Ruby .. I know, it seems impossible :) .. )that will use FOX and that probably need me to develop some new widgets .. I would like than to be able to use that widgets also for my other ruby projects, without implementing them twice .. but anyway this is a maybe scenario, so for now it is just a personal curiosity .. Thanks for the reply, Riccardo :) Lyle Johnson wrote: > Riccardo Giannitrapani wrote: > >> I have some small C++ Fox widgets that I derived in the past from >> standard ones for my applications; my question is if there is an >> "easy" way to use them in FXRuby; I know I can just get the FXRuby >> sources, add my C++ code and the relative swig wrappers and recompile >> FXRuby including them .. but this means that I'll end working with a >> non official release of FXRuby, and moreover it is an operation I need >> to perform every time an FXRuby new version is released .. any >> alternative idea? > > > Is it possible to port the C++ code for those widgets to Ruby? One of > the goals for FXRuby is that you can do most anything with it that you > could with the C++ library, including subclassing existing widgets to > build new ones. > > > -- +--------------------------------------------------------------+ | Riccardo Giannitrapani | | | | Dipartimento di Fisica - Room L1-14-BE | | Universita` di Udine - Via delle Scienze, 206 Udine (Italy) | | Tel (Home): +39-0432-470011 -- (Office): +39-0432-558209 | | Home Page: http://www.fisica.uniud.it/~riccardo | | ICQ# 86590904 | +--------------------------------------------------------------+ |