Article View: comp.windows.x
Article #38343Re: [Q]: Can I write X window program using C++?
From: patrick Patrick K.
Date: Sat, 26 Sep 1998 00:00
Date: Sat, 26 Sep 1998 00:00
36 lines
2375 bytes
2375 bytes
In article <906839739snz@vision25.demon.co.uk>,
philh@vision25.demon.co.uk (Phil Hunt) writes:
> In article <36061a79.0@ruby.hknet.com> Doug@hotmail.com writes:
>> I guess the simple answer would be 'Yes'. Please give me some
>> advice on how and where to pay attension. Also are there any
>> site talk about this? Thanks.
>
> Writing a program using low-level X calls is not a good idea, unless
> you want to waste lots of time. It's better to use a more high-level
> class library. Two that spring to mind are Qt (made by Troll Tech,
> www.troll.no), which is used by the KDE environment, and GTK--
> (part of the GNU project), which is used by the GNOME project
> (www.gnome.org IIRC).
Well, this seems to be just an opinion with no real
fact backing it up. There are no real reasons for one not
to use the Xlib directly. If this was a valid statement
then one could also argue:
"programming in C/C++ is not a good idea unless you
want to waste lots of time. It's better to use an
even more high-level language like VB(tm)" (gag!).
Though 3rd party libs might be a good idea if one could
find one with an intuitive interface. One which I have
yet to find. I personally find Qt to be a very ugly
implementation and would not consider using it.
What is wrong with Motif? Though Motif does cost money
at least it is more supported. And if one is not too
fussy about detail LessTif (http://www.lesstif.org/) is
an excellent free clone of it.
Patrick ...
patrick@boxsoft.com
Technical Details
Message-ID:
<6ujrtv$pgb@dfw-ixnews8.ix.netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36061a79.0@ruby.hknet.com> <906839739snz@vision25.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,9c9c0b5f4aa004df X-Google-Attributes: gid103734,public X-Google-Thread: 11038b,9c9c0b5f4aa004df X-Google-Attributes: gid11038b,public X-Google-Thread: f65d0,9c9c0b5f4aa004df X-Google-Attributes: gidf65d0,public From: patrick@boxsoft..NO_SPAM..com (Patrick K.) Subject: Re: [Q]: Can I write X window program using C++? Date: 1998/09/26 Message-ID: <6ujrtv$pgb@dfw-ixnews8.ix.netcom.com> X-Deja-AN: 395182700 Sender: patrick@boxsoft.com References: <36061a79.0@ruby.hknet.com> <906839739snz@vision25.demon.co.uk> Content-Type: text/plain; charset=us-ascii Organization: ICGNetcom X-NETCOM-Date: Sat Sep 26 6:04:31 PM CDT 1998 Mime-Version: 1.0 Newsgroups: comp.windows.x,comp.windows.x.intrinsics,gnu.gcc