# For my next trick

**URL:** <https://www.ruby-forum.com/t/for-my-next-trick/175220>\
**Category:** Ruby-Gnome 2\
**Created:** [September 9, 2009, 9:59pm UTC](https://www.ruby-forum.com/t/for-my-next-trick/175220 "2009-09-09T21:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [September 9, 2009, 9:59pm UTC](https://www.ruby-forum.com/t/for-my-next-trick/175220/1 "2009-09-09T21:59:32Z")

</div>

Hi All,

I now have remote GUI instantiation for Glade and Gtk::Builder working,  
but I have a few minor things to work out.

One is that you can keep adding object trees to a Gtk::Builder, but when  
I do this I want to be able to connect the new batches to methods of  
different objects. Now, I’m guessing Gtk::Builder#connect\_signals runs  
through all the published signals which means it would try to reconnect  
existing ones.

What I want to be able to do is run though all the signals for all the  
widgets in the Gtk::Builder and connect the ones that I find  
unconnected. Unfortunately, possibly due to incompetence, I can’t find  
much in the way of signal management (e.g. Widget.signal#connected? or  
something) on in the Gtk class tree.

Can anyone offer any advice about how the Builder manages signal  
connection outside the connect\_all method? Or, how I can track down  
unconnected signals amongst the builder’s widget set.

As an aside, is there a more active IRC channel than #ruby-gnome2 on  
[irc.gnome.org](http://irc.gnome.org)? I’ve popped in there a few times recently and it seems  
completely dead.

Thanks,

Matt.
