>>>>> "Jean-Baptiste" == Jean-Baptiste Cazier <[EMAIL PROTECTED]> writes:
Jean-Baptiste> S�l I would like to emulate a tooltip on a
Jean-Baptiste> GtkDrawingarea. I am aware the The Drawing Area
Jean-Baptiste> does not emit signals to allow this, however I want
Jean-Baptiste> the "tooltip" to be triggered by the click of the
Jean-Baptiste> mouse: When I click on the mouse, I want to have
Jean-Baptiste> information appearing right under the pointer
Jean-Baptiste> related to this point. Also it is not a tooltip,
Jean-Baptiste> it should pretty much look like one and might be
Jean-Baptiste> using some of the interface written for it.
Jean-Baptiste> Anybody already tried that ?
John Gill wrote a Cell class for matplotlib as part of his table
module. A cell is a rectangular patch with an edge and face color
with text inside. You could reuse this to roll your own tooltips box
for the drawing are, and customize the size, colors and font to make
it look as much like a tooltip as possible. The Cell class renders
into a DrawingArea.
JDH
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/