On Thu, Aug 30, 2007 at 09:59:33PM +0800, Binary Chen wrote: > I want to put a event box in a treeview column, with a pixbuf in the > event box, how to set the column render?
Cell renderers are not widgets, so this is impossible (== does not make sense). In some cases you can use (or abuse) the `activate' mechanism, subclass a cell renderer class and and override the activate() virtual method. But IIRC only button press events are delivered this way. So generally it will be probably necessary to track the events in the whole tree view and use the provided helper functions to find the cell corresponding to the event's coordinates. Yeti -- http://gwyddion.net/ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list