[fxruby-users] positioning by percentage

Dylan Bruzenak dylanb at digitalvalence.com
Thu Apr 27 10:46:56 EDT 2006


Is there an easy way to position components by percentage of their 
container/layout manager ?  Barring that, what is the best class to do 
just xy layouts so that I can build my own layout managers ?  FXComposite ?

thanks,

Dylan
> On Thu, 27 Apr 2006 09:44:05 -0400, "Thomas Vanier"
> <thomas.vanier at gmail.com> wrote :
>
>   
>> Is there an easy way to get the FXRuby and FOX versions used by the
>> program ?
>> Something like the RUBY_VERSION constant :
>> irb(main):003:0> RUBY_VERSION
>> => "1.8.4"
>>     
>
> Yes. The fxrubyversion module method returns the FXRuby version:
>
>     Fox.fxrubyversion ==> "1.4.6"
>
> and the fxversion method returns the version number of the FOX library that
> you've linked against:
>
>     Fox.fxversion ==> "1.4.29"
>
> Hope this helps,
>
> Lyle
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
>
>   



More information about the fxruby-users mailing list