Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-07-2003, 02:19 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Question CATCH mouse event!!!

Hi, all

Im first here. I got a problem in my works. The question is how to catch the mouse event in X Window environment.

1. It's a standalone console program, looping for mouse event.

2. Im using X Window(Without GNOME and KDE, pure X), The Front Application are Movie Player or Image Slider.

3. When user clicks mouse button(do not care X,Y position), that mouse event catcher program could know it. Just stop all movie player or Image Slider App. Run another App.

I need a clue or example on the question, any help would be appreciated!!

Best regards,
Hong Zhang


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create and catch own event bianchi Programming 0 11-29-2005 06:30 AM
try catch(...) Sinner6 Linux - Newbie 3 06-25-2004 09:22 AM
key binding to mouse event agb32 Linux - General 0 09-04-2003 09:19 AM
How can i get the mouse event on gtk_drawing_area? HopeCao Programming 1 03-19-2003 03:53 AM
how to fire mouse event using 'C' code karthikeyan Linux - Software 2 03-08-2003 11:35 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration