After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 383766 - Provide access to signals on GtkTreeSelection, etc.
Provide access to signals on GtkTreeSelection, etc.
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.0.x
Other All
: Normal enhancement
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-08 15:42 UTC by Michael Ekstrand
Modified: 2011-01-10 06:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Ekstrand 2006-12-08 15:42:21 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 :).
Comment 1 Tristan Van Berkom 2010-03-24 18:17:55 UTC
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.
Comment 2 Tristan Van Berkom 2011-01-10 06:48:15 UTC
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.