From: "W. Kent Starr" Date: 2001-04-24T03:07:15+09:00 Subject: [ruby-talk:14095] Re: FXRuby and registering callbacks On Monday 23 April 2001 12:10, Lyle Johnson wrote: > > Hi, > > Could someone tell me the right way to register > > a callback in FXRuby? > > Barry and I have already discussed this a bit in private e-mails, but I > wanted to clarify that in the current drop of FXRuby, the example programs > are present in the source code tarball (e.g. FXRuby-0.99.167.tar.gz) but > not in the Win32 precompiled binary distribution > (FXRuby-0.99.167-win32.zip). The latter ZIP file literally contains only > the shared library ("fox.so") for the Cygwin version of Ruby for Windows. > My original intent was that one would download the source tarball and > possibly also the Win32 binary if that was needed; but I agree with Barry > that the Win32 package should include all of the "non-source" files, e.g. > the web pages and examples. I will definitely correct this for the next > drop. FYI, wxWindows has what IMO is a good way to do his. The wxGTK distro is bundled in an all-inclusive tarball (sans docs), a tarball with just the library code, a tarball for demos and a tarball for samples. Now, the bundling for Windows and/or Mac may be different (haven't checked yet), but, I am thinking that maybe for FXRuby a good way to go is all-inclusive, library build only tar, example code tar and Window binary. This way, a Unix build could be done all at once, library only and then examples in a different directory as desired; Windows could be binary and then examples put wherever desired. Currently, Winzip and others read tar.gz files now, or perhaps replicate the examples.tar as a zip file for those with older versions? Just a thought :-) Kent Starr elderburn@mindpring.com