Re: [Fxruby-users] some FXRuby 1.2 stuff
Status: Inactive
Brought to you by:
lyle
From: <ly...@kn...> - 2004-07-09 15:33:11
|
On Fri, 9 Jul 2004 18:14:23 +0300, Yuri Leikind <y.l...@sa...> wrote : > 1) aliases.rb has a couple of aliases related to so-called leading rows and > columns in the FXTable class: <snip> > Looks like there are no more leading rows/columns, and there are no > setLeadingRows/getLeadingRows/etc methods. And I personally don't need > them now as tables are created with ready FXHeaders now. You're right, those aliases are now obsolete. Will add this to the bug list. > 2) Before 1.2.x FXRuby I used to > > require "fox" > require "fox/colors" > > Now that FXRuby is packed as a Ruby gem I do this > > require_gem "fxruby" > > where fxruby is not the so file, but a package name. So how am I supposed to > require the "fox/colors" file now in an elegant way, via require_gem? As a side effect of the require_gem statement, Ruby's load path is modified so that it can "see" FXRuby's library path. So you should be able to require those auxiliary files (like fox/colors.rb) as before, i.e. require_gem 'fxruby' require 'fox/colors' > 3) Do you plan to provide gems as the only source package format? I think > rubygems is a terrific thing, but I also suppose there must be a choice. Let me start a new thread of discussion for this one, because it is an important question that I don't want to get buried... |