On Tuesday 17 February 2009 10:18:13 projet...@club-internet.fr wrote: > Thanks but then I have a problem. > How can I know that the mouse is over the TreeView ?
Because the contextMenuEvent of the TreeView is only triggered when the mouse is over the treeview. And you can always check whether the mouse-coordinates given in the event are inside your widget. Arnold
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt