|
From: Ole S. <ole...@gm...> - 2009-06-10 11:56:14
|
Hi again, when right-clicking on one or more lines in a plot, I want to present the user a context menu where he can select to remove these lines. Preferrably I want to do this not with a 'pick_event' connection but with the (Qt) backend methods since the context menu should contain more options (which shall be shown also when right-clicking on the diagram background). Unfortunately, I have no idea, how to do this. At first, I found only the pick_event() which responds to a left mouse click. Is there a way to get the Line2D instances that would be picked by specifying the mouse position? At second, if I have a Line2D instance: how can I remove it from the axes? Best regards Ole |