Regarding relaunching an executable



Hi,


 I have a Toolbar, on which I have put some icons.
When I click on those buttons for the first time I have to lauch a
new application in the callback. So I am using system command to do this
and I run the
application in the system command as background so that I will get back
the control.

My problem now is when I click on the same icon next time it will launch

that application again. But Instead I want the already running
application to come to focus. I tried using exec functions . But  it is
replacing my toolbar itself.

Is there any method to activate an already running exectuable.....

Is this an issue of gtk , gdk or wmx. If it is an issue of wmx,  how can
I do this ??. Are there any examples of this sort ??..

I also want the name of the application opened in the Desktop , How can
I do that??. Exmples for that ????.

Thanks in Advance,
Jyothi.









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