EPICS Controls 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  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CSS PyDev - capturing mouse event
From: Mogamad-Amien Crombie <[email protected]>
To: EPICS Tech-Talk <[email protected]>
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  <20172018  2019  2020  2021  2022  2023  2024 
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  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·