LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-04-2003, 07:44 PM   #1
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
General GTK questions


From what I understand GTK+ is a part of C right?
Is that what I see when I tell kdevelop to make a simple gui program?
What's the best gui code to use for compatability on both kde and gnome?
 
Old 12-04-2003, 08:25 PM   #2
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Gtk+ is a library written in C -- it's not part of the C language itself, or part of the C standard library.

KDE uses Qt, not Gtk+, so KDevelop won't involve Gtk+ in any way.

KDE and GNOME use different GUI toolkits (Qt and Gtk+ respectively), so you can't write an application that is both a KDE and a GNOME application. However, you can run GNOME applications on a KDE desktop and vice versa.

Alex
 
Old 12-04-2003, 10:44 PM   #3
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Original Poster
Rep: Reputation: 30
ah, thank you. Suprisingly the help files never put it that clearly.

I pretty much need to use kdevelop because I'm trying to teach myself from the help docs and I would like to have a hand with that. When I create a KDE app in kdevelop it has kprinter.h and qpaint.h libraries, will the program only run on kde if there are proprietary kwhatever.h libraries or are they not proprietary?

Last edited by Onemessedupjedi; 12-04-2003 at 10:49 PM.
 
Old 12-08-2003, 01:36 PM   #4
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
All of KDE is open source (www.kde.org and developer.kde.org)

Alex
 
Old 12-08-2003, 01:39 PM   #5
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
don't do it! don't give in to nasty qt.... http://gtk.org with http://anjuta.sf.net kickass
 
Old 12-09-2003, 05:22 AM   #6
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
I have to say I (slightly) prefer Gtk+ as well, but just for a bit of balance, Qt is a great toolkit too, and if that's what you've started with I think you should stick with it.

Alex
 
  


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
few more general questions xushi Solaris / OpenSolaris 1 05-16-2005 01:54 AM
General questions Mingthefirst *BSD 3 10-03-2004 11:10 AM
GTK general help! crm Linux - Software 0 09-12-2004 07:54 AM
general questions saiz66 Slackware 2 04-27-2003 11:44 PM
general questions ChrisC Linux - General 1 03-31-2003 07:28 PM

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

All times are GMT -5. The time now is 11:42 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