[pygtk] Newbie: Idea to impelement an hovering widget following my mouse.

Laurent Dufrechou laurent.dufrechou at gmail.com
Wed Jan 13 07:44:43 WST 2010


Hello,

 

I've got TreeView and one of vertical column show me log informations.

Currently these logs are displayed as one line log.

 

 



 

 

I would like to implement a widget that when hovering over a specific widget
of the TreeView , I would like to popup a white rectangle attached to the
mouse and displaying the full log (multi line log (let say I could limit to
5 lines)).

 

Is it possible, what should it implies?

 

I've found this for mouse hovering coordinate:
http://www.learningpython.com/2006/07/25/writing-a-custom-widget-using-pygtk
/

But I got no idea how to impelemnt a "popup" widget that will draw itself
over the tree widget.

 

Any idea?

 

Laurent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100113/2434189b/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 7433 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20100113/2434189b/attachment.png 


More information about the pygtk mailing list