Hi all.

I have a custom subclass of gtk.GenericCellRenderer, CellRendererFavorite.
This is encapsulated within a "gtk.TreeViewColumn".


I guess some code would make things clearer ::

############################################################################
154         cell_favorite = CellRendererFavorite(self.tree_view)
155         cell_favorite.connect('clicked',
self.__favorite_clicked_cb)

156
157         column = gtk.TreeViewColumn()
158         column.props.sizing = gtk.TREE_VIEW_COLUMN_FIXED
159         column.props.fixed_width = cell_favorite.props.width
160         column.pack_start(cell_favorite)
161         column.set_cell_data_func(cell_favorite,
self.__favorite_set_data_cb)
162         self.tree_view.append_column(column)
############################################################################



Now, in the callback function "__favorite_set_data_cb", some of the "props"
(icon-name, color, etc) are changed.
However, the UI effect takes place ONLY when the mouse is hovered away from
"cell_favorite".

So, is there a way to programmatically momentarily-hover-away /
momentarily-disappear-mouse from over "cell_favorite" (or rather a
"gtk.GenericCellRenderer") ?


Will be grateful for a reply.


Thanks and Regards,
Ajay
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to