You could probably install a Qt event filter on the DAG widget via PySide to 
handle double-clicks. I’m not sure off the top of my head how hard it would be 
to ensure that the click locations didn’t intersect existing nodes (and thus 
interfere/overlap with node double-click actions).

-Nathan



From: loocas 
Sent: Thursday, March 14, 2013 8:05 AM
To: [email protected] 
Subject: [Nuke-python] Register certain mouse events?

Hi there,

I was wondering, is there a way to register a certain mouse-event?

The reason I'm asking is, it'd be nice to be able to implement a load-file from 
a double click on the graph editor (similar to a double-click in Photoshop).

So, is there a way I can tell the user just double clicked the graph editor?

Thanks in advance, cheers.



--------------------------------------------------------------------------------

- loocas


--------------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to