[fxruby-users] need to call getApp

Raj Sahae rajsahae at gmail.com
Tue Mar 27 20:24:14 EDT 2007


> The FXApp.instance() class method should do the trick:
>
>     @icon = FXJPGIcon.new(FXApp.instance, ...)
>
> Note that you need to have actually constructed the FXApp prior to
> calling FXApp.instance; otherwise, it will return nil.
>
> Hope this helps,
>
> Lyle
> ________
That was exactly what I was looking for.  Thanks Lyle.

Raj


More information about the fxruby-users mailing list