Unix Technical Forum

X-Windows/Motif/GTK

This is a discussion on X-Windows/Motif/GTK within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Can I ask a really dumb question. I'm just starting to get my head around all this X-Window thing. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:20 PM
Mr Balloon
 
Posts: n/a
Default X-Windows/Motif/GTK

Can I ask a really dumb question.

I'm just starting to get my head around all this X-Window thing.

I'm about to download some software, there are packages there for Motif and
GTK. Am I right in thinking GTK is Gnome Toolkit, and this will only work
under the Gnome environment?

My window manager of choice is KDE, so should I download the Motif one then,
or does KDE emulate GTK.......?? Does what I'm asking even make any sense!

If anyone could give me a quick rundown on the above, I'd really appreciate
it.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:20 PM
Fred Emmott
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mr Balloon wrote:
| Can I ask a really dumb question.
|
| I'm just starting to get my head around all this X-Window thing.
|
| I'm about to download some software, there are packages there for
Motif and
| GTK. Am I right in thinking GTK is Gnome Toolkit, and this will only work
| under the Gnome environment?
|
| My window manager of choice is KDE, so should I download the Motif one
then,
| or does KDE emulate GTK.......?? Does what I'm asking even make any
sense!
|
| If anyone could give me a quick rundown on the above, I'd really
appreciate
| it.
|
|

gtk isn't gnome sepecific, gtk apps can work in gnome/kde/windows + mac
os X i think

not came across a motif app in a long time...

- --
Fred Emmott

Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. --- Linus Torvalds
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/4GQ4Dvn9hyzHIq4RAgi6AJ0YSJqamTYs1W28pMA3vkEICUJvvA CcDhly
xwW/9vNSmMbeYwy52Y309FE=
=eepm
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:20 PM
Mr Balloon
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

Fred Emmott wrote:
>
> gtk isn't gnome sepecific, gtk apps can work in gnome/kde/windows +
> mac
> os X i think


Thanks Fred, I'll get the GTK one then.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 09:21 PM
Franz M. Sauerzopf
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

In <3fe063da$0$9386$cc9e4d1f@news-text.dial.pipex.com>, Mr Balloon wrote:

>
> If anyone could give me a quick rundown on the above, I'd really
> appreciate it.

X is the underlying architecture for graphics display in most linuxes.
Some efforts are made to introduce new concepts, but...

To write programs directly in X with full window handling and stuff is
rather complex. Therefore, you got APIs to make things easier. A rather
old one (and you see it) is motif. Some apps use it (xmgrace comes to my
mind, maybe acrobat reader?).

The most widespread APIs are GTK (Gimp Toolkit) and Qt. GTK and GTK2 are
the base of Gnome and Gnome2, Qt is the base of KDE.

You can run GTK apps outside of gnome, inside KDE and so on, as long as
you have the GTK libraries. You can run gnome apps under KDE, if you have
GTK and gnome libraries installed, and so on...

I like to run gnome apps under windowmaker, and have no problems.

Hope this fast overview is sufficient, and hopefully not too sloppy for
the pickier folks round here...

Have a nice day
Franz

--
Franz M. Sauerzopf
Atominstitut, TU Wien

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 09:21 PM
Lew Pitcher
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

Mr Balloon wrote:

> Can I ask a really dumb question.
>
> I'm just starting to get my head around all this X-Window thing.
>
> I'm about to download some software, there are packages there for Motif and
> GTK. Am I right in thinking GTK is Gnome Toolkit, and this will only work
> under the Gnome environment?


The GTK is the "/Gimp/ Tool Kit". It doesn't require GNOME; it's a
general-purpose X toolkit like Motif or QT. It was used to build "The Gimp"
(it's genesis) and GNOME.

> My window manager of choice is KDE, so should I download the Motif one then,
> or does KDE emulate GTK.......?? Does what I'm asking even make any sense!


KDE uses the QT toolkit from Trolltech. It doesn't use or emulate either
Motif /or/ GTK. If you want to develop apps for your WM-of-choice (that is,
KDE), then you'll need QT, and can safely ignore Motif and GTK. However, if
your goal is to develop for other platforms, you might want to examine the
differences between QT, GTK, and Motif, and choose one for your development.

> If anyone could give me a quick rundown on the above, I'd really appreciate
> it.


GTK, QT, and Motif are "toolkits". They all supply basic "high-level"
windowing APIs to make programming tasks easier. They all implement their
high-level API with calls to the XLib low-level API. They are siblings; each
providing the same services, but with individual differences in behaviour
and appearance.

To make a MSWindows analogy, they are like Borland's OWL and Microsoft's
MFC; different APIs that implement the same actions, but with individual
differences in behaviour and appearance.



--
Lew Pitcher, IT Consultant, Application Architecture
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 09:21 PM
Mr Balloon
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

Franz M. Sauerzopf wrote:
> In <3fe063da$0$9386$cc9e4d1f@news-text.dial.pipex.com>, Mr Balloon
> wrote:
>


Thanks Franz and Lew, two very informative posts.

Out of interest, what is the pronunciation for 'Qt'.. A softer sounding
'cutey' or a more harsh 'Q. T.'? (Just because I heard someone the other
day refer to 'Tcl' as tickle, where I'd always pronounced it 'T. C. L.')


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 09:21 PM
Mark Hill
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

On Wed, 17 Dec 2003 15:38:20 -0000,
Mr Balloon <mrballoon@aol.com> wrote:
>
> Out of interest, what is the pronunciation for 'Qt'.. A softer sounding
> 'cutey' or a more harsh 'Q. T.'? (Just because I heard someone the other
> day refer to 'Tcl' as tickle, where I'd always pronounced it 'T. C. L.')


I'm not sure about Qt pronunciation, (although I go for the harsh
version), but Tcl is generally pronounced as tickle. From
<http://www.faqs.org/faqs/tcl-faq/part1/>:

#v+
Tcl [...] stands for ``tool command language'' and is pronounced
``tickle.''
#v-


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 09:22 PM
William Hamblen
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

On 2003-12-17, Mr Balloon <mrballoon@aol.com> wrote:

> I'm about to download some software, there are packages there for Motif and
> GTK. Am I right in thinking GTK is Gnome Toolkit, and this will only work
> under the Gnome environment?


The GTK library supplies widgets and such for X programming. You don't
need the rest of Gnome to use the GTK library.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 09:24 PM
Eef Hartman
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

Fred Emmott <pcfreak65@hotmail.com> wrote:
> gtk isn't gnome sepecific, gtk apps can work in gnome/kde/windows + mac
> os X i think


Example of gtk applications are:
xmms (WinAmp like music player)
AbiWord (Word-like P/D text processor)
Gimp (Graphical Image Manipulation Program)
and, I believe, the xfce desktop enviroment.

> not came across a motif app in a long time...


Try Nedit (ok, so it's got the Motix support compiled INTO the
executable, so you won't need the Motif libs for it).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 09:26 PM
AthlonRob
 
Posts: n/a
Default Re: X-Windows/Motif/GTK

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On Thu, 18 Dec 2003 15:31:46 +0000 (UTC), Eef Hartman <E.J.M.Hartman@math.tudelft.nl> wrote:
> Example of gtk applications are:
> xmms (WinAmp like music player)
> AbiWord (Word-like P/D text processor)
> Gimp (Graphical Image Manipulation Program)
> and, I believe, the xfce desktop enviroment.


You missed the best IM client... gaim :-)
and xchat, a decent IRC client

--
Rob | If not safe,
Email and Jabber: | one can never be free.
athlonrob at axpr dot net |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/4qgGhm6KEoOOAe0RAmRrAKD0d9WCHhy85y8iuyiS2PR3hpA19A CgibII
LxnuxEY14OcSxkYiqlpwWB8=
=Wz4M
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com