GNOME Bugzilla – Bug 383766
Provide access to signals on GtkTreeSelection, etc.
Last modified: 2011-01-10 06:48:15 UTC
It would convenient if glade (and therefore libglade/gtkbuilder/whatever) would provide a means to specify signal handlers for signals on "auxillary" objects such as the GtkTreeSelection owned by a GtkTreeView. The basic use case I have is to connect to the "changed" signal of the GtkTreeSelection on my TreeView. It seems to me that this is probably at least somewhat related to the Gobject effort (http://live.gnome.org/LibgladeWithGobjects), and may or may not fully make sense until that comes about. But here it is to be recorded as a formal feature request :).
Note: This could be easily implemented by having the GtkTreeView export the GtkTreeSelection as an internal child and let Glade configure it's properties/signals as if it were a widget internal to a composite widget (like a GtkDialog action-area for instance). Without doing anything fancy in the treeview editor, the treeselection would at least always show up in the inspector as a child of any treeview.
This has been done at some point in GtkTreeView, exported an internal "selection" child from Glade and now it's accessible. Thanks for the report.