What is the relation between GTK, GTK+ and GTK2?

后端 未结 3 1769
旧巷少年郎
旧巷少年郎 2021-02-06 21:59

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

3条回答
  •  醉梦人生
    2021-02-06 22:36

    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.

提交回复
热议问题