GTK,GTK +和GTK2有什么关系? [英] What is the relation between GTK, GTK+ and GTK2?

查看:3220
本文介绍了GTK,GTK +和GTK2有什么关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑GTK的术语。根据维基百科,似乎与GTK +的绑定被称为GTK(GtkAda)和GTK2( gtk2hs,Gtk2-Perl)。



有人可以帮我解决这个问题吗? GTK / GTK +和GTK2是相同API的不同版本。 GTK是旧的,不推荐使用的版本,GTK2是上一版本,GTK + 3 / GTK3是当前版本。

GTK +是旧API的正确名称,但大多数人们称之为GTK。



GTK +的C ++绑定是GTKmm项目的一部分。


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.

这篇关于GTK,GTK +和GTK2有什么关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆