LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Linux System Tray (https://www.linuxquestions.org/questions/programming-9/linux-system-tray-508927/)

przemu 12-09-2006 05:57 PM

Linux System Tray
 
Hello,

i would like to write an application with a very simple gui (a window with a text area - a console simply). I would like it to hide in a system tray. What library should i use, so it could work on any linux with x windows (motif?). I mean i want it to run on any windows manager (kde, gnome and so on). I write it in C/C++. Thanks in advance for any help.

Regards,

Przemek

acid_kewpie 12-10-2006 02:17 AM

a given window manager doesn't preclude using a certain UI toolkit. you can run gtk apps under kde, and qt apps under gnome. as long as the relevant libraries are actually installed on your system then the UI's would work fine. what you may miss out on though are desktop integration features, like system trays etc, but then if you're thinking about xlib then that won't exist at all anyway.

xlib will be supporte everywhere out of the box, for sure, but it's hard, and ugly, so if you want to code in gtk2 etc, you can, just might need to install additional libraries on some systems to make it run.

MicahCarrick 12-11-2006 04:03 PM

Check out:
http://developer.gnome.org/doc/API/2...tatusIcon.html
http://www.freedesktop.org/wiki/Stan...ystemtray-spec


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