Re: get process pid from xwindow id with Gnome2::Wnck



On Thu, 06 Nov 2008 20:46:17 +0100
Mario Kemper <mario kemper googlemail com> wrote:

Hi zentara,

i am doing exactly what you want to do in my little Project "GScrot -
Screenshot Tool" (https://launchpad.net/gscrot) .

Maybe you want to have a look at the code:
http://bazaar.launchpad.net/~mario-kemper/gscrot/devel/annotate/243?file_id=gscrot-20080901014936-h6hz6il8xlqwo9t5-1
Sub "fct_gscrot_window" is the interesting part - line 4779.

Greetings
Mario


Am Donnerstag, den 06.11.2008, 14:32 -0500 schrieb zentara:
Hi,

I'm trying to work out a scheme, of being able to click on an xwindow,
and get the pid of the process.


Thank you.  I hope I don't need the Gnome2.pm, I will test later.

zentara


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]