Greetings!
I am in the process of migrating a tool from a GtkTree
to a GtkCTree. One of the things the old GtkTree used to
do was catch right-clicks on the tree elements, which it
used to pop-up an input dialog. I'm trying to implement
the same functionality in the GtkCTree, but it seems there
are no node-level signals available, because the GtkCTreeNode
objects are not themselves widgets.
I can catch the button-press-event for the GtkCTree as
a whole, and test the event structure for right-click-ness,
but it's not obvious to me how to go from a tree-level
click event to a node. I am reluctant to make right-clicking
operate on the selected node, because I am already using
selection state to convey other information.
I've gone a couple of rounds with the documentation,
in case there is a widget hidden inside the GtkCTreeNode,
but this does not appear to be the case. Anyone have
any good clues?
-- Andrew Reid
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/