发布于 2016-12-29 01:23:27 | 160 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

GTK+ GUI开发工具包

GTK(GIMP Toolkit)是一套跨多种平台的图形工具包,按LGPL许可协议发布的。虽然最初是为GIMP写的,但目前已发展为一个功能强大、设计灵活的一个通用图形库。特别是被GNOME选中使得GTK+广为流传,成为Linux下开发图形界面的应用程序的主流开发工具之一,当然GTK+并不要求必须在Linux上,事实上,目前GTK+已经有了成功的windows版本。


GUI 开发工具包 GTK+ 3.89.2 发布了。

依赖和新 APIs:

新的版本中,更多的 API 已被弃用,并添加了新的接口。在被删除的 API 中,可以看到有 GtkJunctionSides,gdk_window_reparent,gtk_snapshot_append 和 gsk_render_node_make_immutable。

在 GTK + 3.89.2 中新添加的 API 有 GskRoundedRect,gdk_rgba_is_clear,gtk_container_snapshot_child,gdk_rgba_is_opaque 和 GdkDrawContext,它充当 Vulkan 和 GL 上下文的基类。GTK + 3.89.2 还具有渲染节点子类,并更新了捷克语,德语,匈牙利语,意大利语,哈萨克语,俄语和西班牙语的翻译。

更新日志:

* gtk4-icon-browser works again
* gtk-encode symbolic works for icons with names containing dots
* GtkFlowBox and GtkListBox have been changed to no longer emit the ::selected-children-changed signal during destruction
* gtk-demo has gained an example for using PangoTabArray with GtkTextView
* We now support CSS border-spacing in GtkGrid, GtkBox and in gadgets
* The rendering in GDK and GSK has been further refactored. We now only draw toplevel windows, and we always redraw the whole window.
* A Vulkan implementation has been added in parallel to the GL one

Dropped APIs:
 gdk_window_process_updates
 gdk_window_process_all_updates
 gdk_window_reparent
 support for native and foreign subwindows
 gsk_render_node_{append/prepend/insert} variations
 gsk_render_node_make_immutable
 gtk_cairo_should_draw_window
 gtk_snapshot_append
 GtkJunctionSides

New APIs:
 gdk_rgba_is_clear
 gdk_rgba_is_opaque
 GdkDrawContext: A base class for vulkan and gl contexts
 Render node subclasses
 GskRoundedRect
 gtk_container_snapshot_child

* The GSK_USE_SOFTWARE environment variable has been generalized as GSK_RENDERER. Use GSK_RENDERER=help to learn about possible values. Other environment variables that have gained new possible values in clude GSK_DEBUG=vulkan and GTK_DEBUG=snapshot.

Bugs fixed
 749012 GtkStack: Don't emit notify::visible-child during destruction
 771242 opening menu for certain types of GtkComboBox causes Gdk-CRITICAL assertion...
 772371 Take advantage of Unicode
 773299 Ensure GTK+-4.x builds and works on Windows (MSVC in particular)
 774265 No tilt for wintab devices
 774534 input shape and opaque region not applied without begin_paint()/end_paint()
 774686 GtkMenu does not unref all GtkCheckMenuItem it creates
 774695 GtkProgressbar needs full and empty classes
 774743 GtkNotebook does not unref all GtkBuiltinIcon it creates
 774760 inspector: ensure controller is a GtkGesture
 774784 Failed to get desktop session proxy is not an error!
 774790 GtkTextHandle does not unref all GtkAdjustment it references
 774893 Application font sizes scaling gets clamped to 1.00 when starting GtkInspector
 774915 Destroying the parent of a subsurface causes _gdk_window_destroy_hierarchy: ...
 774917 child subsurfaces need to be placed relative to their parent
 774939 GtkLabelAccessible: Initialize link before setting parent
 775038 Build: Add wayland to GSKs dependencies
 775212 GtkScaleButton does not unref all GtkAdjustment it references
 775316 gtk_drag_source_set_icon_pixbuf references the pixbuf received once too much
 775319 gdk_window_get_toplevel() fails to return the toplevel of a child subsurface
 775410 gsk/Makefile.am runs g-ir-scanner before libgsk-4.la is linked
 775525 gtk_flow_box_get_child_at_index shouldn't crash with an invalid index
 775651 GdkX11-4.0.gir, GdkWin32-4.0.gir, and Gsk-4.0.gir are generated before Gdk-4...
 776132 Mention the difference between gdk_window_create_similar_image_surface and c...
 776187 flowbox: Add gtk_flow_box_get_child_at_pos to gtk3
 776306 flowbox: Sometimes emits child-activated during rubberband selection



历史版本 :
GTK+ 3.22.25 发布,GUI 开发工具包
GTK+ 3.22.21 发布,GUI 开发工具包
GTK+ 3.89.2 发布,GUI 开发工具包
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务