Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: CSS PyDev - capturing mouse event
From: Mogamad-Amien Crombie <acrombie@tlabs.ac.za>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Tue, 9 May 2017 11:27:23 +0200

Hi, I have a python script file that must capture the mouse scroll-wheel (in my case).

I need this functionality in my xygraph widget.

Having installed pynput in my Python2.7, it works outside CSS but when I run my CSS with the script below,

it comes back with "ImportError: No module named pynput"

#################################

from org.csstudio.opibuilder.scriptUtil import PVUtil
from org.eclipse.jface.dialogs import MessageDialog
from pynput.mouse  import Listener

#################################

thanks

Amien


Replies:
Re: CSS PyDev - capturing mouse event Kasemir, Kay

Navigate by Date:
Prev: RE: AreaDetector bindings and RBV propagation Mark Rivers
Next: Question about Edm dynamic display zone's fill color according to PVs lzf neu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: RE: AreaDetector bindings and RBV propagation Mark Rivers
Next: Re: CSS PyDev - capturing mouse event Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 10 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·