[pygtk] button-press-event on a TreeViewColumn Header?
Alessandro Dentella
sandro at e-den.it
Wed Jun 17 15:47:41 WST 2009
Hi,
I'd like to connect to a 'button-press-event' of a column header of a
TreeViewColumn. As only clicked is provided, I set the widget::
label = gtk.Label(title)
box = gtk.EventBox()
box.add(label)
column.set_widget(box)
box.connect('button-press-event', self.box_clicked_cb)
# column.connect('clicked', self.clicked_cb)
but box_clicked_cb is never called. Why that?
Any Hints?
thanks in advance
sandro
--
Sandro Dentella *:-)
http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
More information about the pygtk
mailing list