LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-09-2006, 05:57 PM   #1
przemu
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 12-10-2006, 02:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply



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
Linux System Tray Application Mr_Munkey Programming 7 11-23-2005 02:49 PM
Linux equivilent to Window's "system tray"? TippyToes Linux - General 18 07-17-2005 08:08 AM
Need a System Tray? drj000 Linux - Software 7 01-19-2005 07:47 PM
Things for KDE system tray in gnome system tray Boffy Linux - General 3 09-17-2004 07:56 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration