Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-13-2009, 10:50 AM   #1
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool Any one there help needed to get mouse event

I've tried another thread , no one helped , once more ..

I need to know while right clicking , which is that system file get executing ..
eg: while right clicking in desktop or in any other window , one context menu get fired up , any one knows which is that line of code get executing

Is it something like any kernel module get called , !! a wild guess !!!!
Old 03-13-2009, 12:18 PM   #2
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
When the mouse gets pressed in the GUI, the X server sees it, finds which window should recieve notification of this event, then sends the event to the program thats listening for button events from that window. From there the program itself will draw the context menu, usually with the assistence from the GUI toolkit.

So no, I do not know what line of code will get executed as it will be diffrence for each program.


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
Mouse Event steve_linux Linux - Desktop 1 07-17-2008 11:33 AM
key binding to mouse event agb32 Linux - General 0 09-04-2003 09:19 AM
CATCH mouse event!!! hongzhang Linux - Software 0 08-07-2003 02: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 > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:29 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