免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3568 | 回复: 1
打印 上一主题 下一主题

用于创造跨平台GUI界面的GTK+工具集正式发布了3.0版本 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-11 22:38 |只看该作者 |倒序浏览
GTK+ 3是GTK+的一次重大更新,包含了大量变动,主要变化包括:使用Cairo矢量图形库处理绘图;改进输入设备处理,更新支持多重指针、键盘等外设;新的主题API;更好的支持应用程序;等等。GTK+是GIMP和GNOME等广泛采用的工具集,它将整合到GNOME 3.0版本中。
官方新闻如下:
GTK+ 3.0 is a major new version of GTK+, containing far too many changes to list them all here.

The major highlights include:

Cairo drawing throughout. GDK no longer wraps the antiquated X11 drawing API; we’ve made a clean break and exclusively rely on cairo for all our drawing needs now. This has also enabled us to remove several other X11-centric concepts such as GCs, colormaps and pixmaps.
Modern input device handling. The input device handling in GDK has long been a sadly neglected area. This has changed; with 3.0, GTK+ steps into the modern world of XI2 with full support for multiple pointers, keyboards and other gizmos.
A new theming API which sports a familiar CSS syntax for theme configuration and other improvements such as animated state transitions.
More flexible geometry management, with support for height-for-width, for both widgets and cell renderers.
Multiple backend support for GDK. With GTK+ 2.x, you had to recompile your application to have it work with a different GDK backend. In GTK+ 3, multiple GDK backends can be built into a single library and selected at runtime.
Easy application support. With the integration of D-Bus support in GIO, we could finally add a GtkApplication class that handles a lot of the platform integration aspects of writing an application, such as keeping track of open Windows, ensuring uniqueness, exporting actions, etc.
Of course, there’s some new widgets as well, such as a switch and an application chooser.
GTK+ is the work of hundreds of contributors, far too many to list them all here. But I want to take the time to thank some people who contributed in a major way:

Carlos Garnacho (Lanedo), for his work on XI2 support and the new theme system
Benjamin Otte (Red Hat), for his work on GDK and cairo drawing
Tristan Van Berkom (Openismus), for his work on geometry management
Colin Walters (Red Hat), for his work on GtkApplication
Ryan Lortie (Codethink), for his work on dconf, GSettings and GtkApplication
Javier Jard�n, for tireless code, build and documentation cleanup

论坛徽章:
5
技术图书徽章
日期:2013-11-07 13:21:58技术图书徽章
日期:2013-12-07 10:34:46技术图书徽章
日期:2014-04-23 08:50:31双鱼座
日期:2014-09-16 09:12:34亥猪
日期:2015-01-23 13:37:49
2 [报告]
发表于 2011-02-11 23:31 |只看该作者
这次更新期待很久了,很多特性让人兴奋:完全使用cairo绘制,新的theme engine,内置css支持。timeline动画。
代码结构相比2.x清晰多了,写个新的backend也不再是难事。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP