Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I guess this has been asked many times already but I was wondering if there is any really lightweight library thats already installed on most linux boxes that I can directly use for drawing :
1. textboxes or textfields
2. volume meters like the ones shown in KMixer
I need to show some rapidly varying values and thats all really....some buttons, gauges thats all...GTK and KDE seem to heavy weight but they seem to be the only ones which are installed by default on most distros.
I do not want to use SDL or opengl and then another library for rendering gui on top of them as SDL and opengl are not installed on many systems and i will move my code around quite a bit. It should be as simple as :
gcc main.c
./a.out
Any such options ?.....and yeah I dont want to worry about what version is installed in my target system etc..I will be compiling once anyway and not distributing binaries.
That's impossible, because no matter what toolkit you use you need to tell gcc to include the library.
I don't see the problem with using GTK+, because it seems to be the most commonly available, it's much more light-weight than Qt, and IMO relatively easy to program.
right I think I will go with gtk...the only reason I cant use FLTK is because it may not be available by default on most distros. I have no problem with adding compiler flags of course...but I may not always have root access to install libraries. I am mostly targeting Ubuntu and Opensuse.
btw...Sasha..I see you are using Slackware64.....can you tell me which distro specifically...I am currently using SLAX on Qemu so I can access Linux on windows.
right I think I will go with gtk...the only reason I cant use FLTK is because it may not be available by default on most distros. I have no problem with adding compiler flags of course...but I may not always have root access to install libraries. I am mostly targeting Ubuntu and Opensuse.
btw...Sasha..I see you are using Slackware64.....can you tell me which distro specifically...I am currently using SLAX on Qemu so I can access Linux on windows.
btw...Sasha..I see you are using Slackware64.....can you tell me which distro specifically...I am currently using SLAX on Qemu so I can access Linux on windows.
What do you mean? Slackware IS a distro on its own!
Xlib is installed by default and is the most basic toolkit, but not the easiest, xmessages and xdialog (or any drop in clone) are also installed in most distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.