[pygtk] How to momentarily-hover-away / momentarily-disappear-mouse from over the gtk.GenericCellRenderer ?

Ajay Garg ajaygargnsit at gmail.com
Tue Aug 14 12:27:48 WST 2012


Hi Bjartur.
Found a simple way to do it :)

I just hide, then unhide the window.
Simple, elegant and effective. :)


Thanks a ton for your help.

Thanks and Regards,
Ajay


On Mon, Jul 30, 2012 at 4:05 AM, Bjartur Thorlacius <svartman95 at gmail.com>wrote:

> On Sun, 29 Jul 2012 15:32:46 +0530
> Ajay Garg <ajaygargnsit at gmail.com> wrote:
>
> > I am using a "gtk.TreeViewColumn" + "gtk.CellRenderer" +
> > "set_cell_data_func" paradigm.
> >
> > I googled, and the link
> > https://mail.gnome.org/archives/gtkmm-list/2009-June/msg00071.html
> > seems to suggest that the "set_cell_data_func" callback is called,
> > when the mouse cursor is moved away from the cell (which I suppose,
> > triggers the re-paint of the cell).
> >
> > Is it so? if yes, can the re-paint be triggered in some other manner?
> >
> According to my reading of
> http://developer.gnome.org/gtk/2.24/chap-drawing-model.html, yes it
> can. Widgets are to draw themselves in response to the expose-event
> signal. Try emitting expose-event on the object representing the
> widget. GObjects surely have a signal() method or some such.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120814/37f2f690/attachment.html>


More information about the pygtk mailing list