Thanks Bjartur, for the reply. Bjartur, you could consider my use-case, similar to what happens in case of a checkbox - the user clicks the checkbox (initially unchecked), by taking over the mouse-pointer over the checkbox cell; and then the checkbox reflects back the changed status on the UI (checked state).
The only caveat - this (the change from unchecked-to-checked state) happens only after the mouse is hovered away from the checkbox-cell. There is no visible status change on the UI (change from unchecked-to-checked state), if the mouse-pointer is not hovered away, even though the user has clicked the checkbox-cell, expecting spontaneous status change on the UI (change from unchecked-to-checked state). Regards, Ajay On Wed, Jul 25, 2012 at 6:09 PM, Bjartur Thorlacius <[email protected]>wrote: > On Wed, Jul 25, 2012 at 6:16 AM, Ajay Garg <[email protected]> wrote: > > So, is there a way to programmatically momentarily-hover-away / > > momentarily-disappear-mouse from over "cell_favorite" (or rather a > > "gtk.GenericCellRenderer") ? > You can warp the mouse pointer to wherever you want. Alternatively, > you can use a 1x1 (possibly transparent) pixel cursor icon, as > unclutter does IIRC. You might have to use GDK or XLib. > > Do you need to warp the mouse to trigger an event and invoke a > function? If so, why not just invoke the function directly without > messing with the user's cursor? The user expects the be under his > control, most of the time. >
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
