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 01-09-2004, 02:22 PM   #1
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
programming graphical program


I'm learning C/C++ right now and would like to know the situation with for graphical programming. I've seen things online about programming for kde, gnome or X11. Now which one is better and why is there three different styles? I'm really confused and if someone could just shed some light, i'd be grateful.

basically, i want to be able to program for any desktop manager. THanks in advance

Last edited by tearinox; 01-09-2004 at 03:09 PM.
 
Old 01-09-2004, 02:30 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
look at the table on this page here

they are the most common for GUI development..
 
Old 01-09-2004, 02:40 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
QT and GTK apps will run on any desktop manager as long as the libraries exsist on the system. This is the case on most modern linux systems. If you want to really insure it'll run you could always use xlib which is the basic x11 libraries. Requires re-inventing the wheel in a lot of cases though.
 
Old 01-09-2004, 04:17 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
I've been trying to compile a gtk gui for a long time, never could get it done. Qt was pretty simple though. GTK is not OO, and you've to agree that when it comes down to gui handling it's pretty useful . Good tutorials at their page by the way, taking you from a Hello World program up to a playable game with score
 
Old 01-10-2004, 07:27 AM   #5
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
Quote:
Originally posted by Megaman X
GTK is not OO.
GTK is OO, though it is implemented in plain C.
C has no special facilities for OOP, but GTK does arrange for that.
 
Old 01-10-2004, 07:49 AM   #6
chens_83
Member
 
Registered: Dec 2001
Location: Adelaide , South Australia
Distribution: redhat 7.2, Debian , OpenBSD
Posts: 123

Rep: Reputation: 15
didnt know there was polymorphism and inheritance in plain old C nah couldnt see how OO can really help you out in getting a GUI working.. Not as if your going to be making new widgets and the like, by using OO features.
 
Old 01-10-2004, 11:36 AM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
How is it possible to use OO in plain C?
 
  


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
C++ beginner - libraries and graphical programming TotalLinuxNoob Programming 6 11-10-2005 07:35 AM
graphical programming asahlot Programming 1 10-13-2005 09:07 AM
graphical programming, draw a line for example? Inprise Programming 9 11-21-2004 10:17 AM
Graphical programming and Linux marek Programming 2 09-10-2003 02:21 PM
Simple graphical linux programming language? Nerd2 Linux - Software 4 05-03-2003 07:12 AM

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

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

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