I've just tried a few ways... got nothing better than catching button press on the whole area of TreeView. Seems that widgets in column headers are not activatable, same as, for example, widgets packed into MenuItem
2009/6/17, Alessandro Dentella <[email protected]>: > 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 > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
