Limiting gtk app to single instance,

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

 



 
Hello All,

Is there a way to limit the number of instances of a gtk application to one only. If an instance of this application is already running then can I bring it to focus.
I tried to read from the process table and find if the application is running, this works but the app has to wait till zombies are cleared. I was exploring if there is an API that would tell me if an instance of app is already running.

Thanks
Phillip,



_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux