I'm confused by the GTK terminology. According to Wikipedia, there seem to be bindings to GTK+ that are called GTK (GtkAda) and GTK2 (gtk2hs, Gtk2-Perl).
Could someone clear this up for me?
Join Stack Overflow to learn, share knowledge, and build your career.
|
I'm confused by the GTK terminology. According to Wikipedia, there seem to be bindings to GTK+ that are called GTK (GtkAda) and GTK2 (gtk2hs, Gtk2-Perl). Could someone clear this up for me? |
|||||||||||||||||
|
|
GTK/GTK+ and GTK2 are different versions of the same API. GTK is an old, deprecated version, GTK2 is the previous one, GTK+ 3/GTK3 is the current version. GTK+ is the correct name of the old API, but most people just call it GTK. The C++ bindings for GTK+ are part of the project GTKmm. |
|||||||||
|
|
The actual name of the software is GTK+. Originally it stood for GIMP Toolkit, but this naming seems to have been dropped at some point (perhaps during the 1.x → 2.x transition). I'm guessing really, really old versions might have been called just GTK; however, even version 1.0—released in 1998—was already called GTK+. Nowadays, people often call it GTK out of convenience (or ignorance). There's nothing officially called GTK2. It just means the 2.x series of GTK+. |
||||
|
|
|
GTK is the library for creating GUI-s for Linux / GNU. It has several versions (I think the latest is version 3). In order for other programming languages to use it (other than C), there have to exist libraries that can bind GTK to that particular language. PHP-GTK means that there's a library binding GTK to PHP enabling PHP to create apps that can be displayed in a nice interface. It supports, however, only up to version 2.2 of the GTK. Same goes for other languages, they have a prefix / suffix and (GtkAda for example) those libraries also tell you up to what version they support GTK (since you might want to try newer GTK functions that aren't available in the library binding GTK to your language). |
|||||||||||||
|