On Thursday September 9 2010 20:33:03 sa6113 wrote: > I want to use backendQtAgg inorder to imbed plot dialog into basic dialog > and by clicking the labels open plot option. > I couldn't use 'motion_notify_event' because the event only handles into > plot area not in canvas area!!! > anybody knows?
Hi, maybe your problem was solved meanwhile, but if not I've got an idea about it. I think you have to adapt the framework used in the widgets.py defining the class CheckButtons. There one connects the button_press_event to a method _clicked and in this method it is checked wheter or not the click was inside the area associated with the label t.get_window_extent().contains(event.x, event.y) I admit my late reply, but maybe it is useful anyway. Kind regards, Matthias ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users