Forum: FXRuby accessing fxruby widget from another class

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dave L. (Guest)
on 2010-08-27 11:10
what I am wanting to find out is what is the preferred why of
manipulation a fx widget from another class?

My situation is this.

I have a fxruby class that displays and manages the GUI widgets.

One of these is a progress bar and the program passes control to another
ruby class (has NO fxruby code in it) for the processing of data.

what i'd like is to have this secondary class update the progress bar
that becomes visible before the calling of the other class.

I know I could achieve this by making a global variable '$' but was
wondering if someone could show me a better way.


This topic is locked and can not be replied to.