Forum: Ruby-Gnome 2 use signals to communicate between GUI objects?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
38a8230ed3d5c685558b4f0aad3fc74b?d=identicon&s=25 Joe Van Dyk (Guest)
on 2006-05-24 09:06
(Received via mailing list)
Say when a user selects a radio box in one part of the GUI, a couple
other parts of the GUI should change.

Should I use a gtk (glib, I think) signal for this?  Or function calls
between the different objects?

I'm trying to set this up for easy unit testing, by the way.  I could
use the Observer pattern, but when one part of the GUI needs to react
to a few different 'events', I think using one update() function
becomes difficult.

Hope that made sense...

Joe
This topic is locked and can not be replied to.