Connect to the key-press-event or key-release-event of the windows
that should do this?

Tom

2011/3/6 fstephens <[email protected]>:
>
> Is there a way to monitor when a user pastes data from the Linux clipboard? I
> want to know if a Ctrl-V or menu paste has occurred (not middle-click
> pasting of a selection), in any application. I have seen ways to do this in
> a GTK input or textview, but I need to detect a paste in any application.
> I'm using pyGTK and Python 2.x on Linux.
> Thanks.
> --
> View this message in context: 
> http://old.nabble.com/Detect-clipboard-paste-in-Python-tp31069213p31069213.html
> Sent from the Gtk+ - Python mailing list archive at Nabble.com.
>
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>



-- 
Tom Cato Amundsen <[email protected]>                 http://www.solfege.org/
GNU Solfege - free ear training    http://www.gnu.org/software/solfege/

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel

Reply via email to