Re: [Matplotlib-users] How by clicking an axes label open a dialog?

2010-12-01 Thread Matthias Michler
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


Re: [Matplotlib-users] How by clicking an axes label open a dialog?

2010-09-15 Thread sa6113

Whould you please help me? I am looking forward.

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?
 
 

-- 
View this message in context: 
http://old.nabble.com/How-by-clicking-an-axes-label-open-a-dialog--tp29661031p29715956.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] How by clicking an axes label open a dialog?

2010-09-15 Thread sa6113

Whould you please help me? I am looking forward.

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?
 
 

-- 
View this message in context: 
http://old.nabble.com/How-by-clicking-an-axes-label-open-a-dialog--tp29661031p29715986.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] How by clicking an axes label open a dialog?

2010-09-09 Thread sa6113


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?

-- 
View this message in context: 
http://old.nabble.com/How-by-clicking-an-axes-label-open-a-dialog--tp29661031p29661031.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users