Maybe you need to add event to catch button press with col.add_events(gtk.gdk.BUTTON_PRESS_MASK)
2009/6/17, Alessandro Dentella <san...@e-den.it>: > On Wed, Jun 17, 2009 at 11:22:45AM +0200, Roberto Cavada wrote: >> Alessandro Dentella wrote: >> >> > but box_clicked_cb is never called. Why that? >> >> >> Use 'clicked' signal, after enabling it: >> >> col = gtk.TreeViewColumn(...) >> col.set_clickable(True) >> col.connect("clicked", self.on_col_clicked) > > > That's what I'm using now. > 'clicked' beahaves as button-release. I want button-press. > > It pops a menu and is more natural to have menus popped when you press, not > when you release... > > > sandro > *:-) > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/