After three months of development is presented Multi-platform tulk relay to create a graphical interface User – GTK 4.2.0 . GTK 4 develops as part of a new development process, which is trying to provide application developers stable and supported for several years API, which can be used without fear that every six months will have to remake applications due to the API change in the next GTK branch.
In the new issue, the shortcomings are mainly eliminated and improved in APIs based on developers spokes, ported their programs on GTK4. From the most replaced improvements in GTK 4.2 can be noted:
- Added NGL Renderer, a new drawing engine via OpenGL, which is activated by default in Linux, Windows and MacOS. NGL Renderer provides higher performance while reducing the load on the CPU. To return the old rendering engine, run the application from the GSK_RENDERER = GL environment variable.
- redesamed COMPOSE sequence processing and Silent keys , changing the appearance of the next input symbol.
- implements the ability to use GTK in the form of a subproject in the MESON assembly system, which allows you to collect GTK and all of its dependencies in the assembly environment of your own application, as well as get all assembly artifacts for delivery along with your application using the selected toolkit.
- Improved Supports GTK compilation for Windows and MacOS using native tools for data platforms.
- API documentation, to form a new gi-docgen , outstanding more convenient Presentation of information, including buttons to add code examples to the clipboard, a visual representation of the ancestral hierarchies and interfaces of each class, a list of inherited properties, signals and class methods. The interface supports the search on the client side and automatically adapts to different screen sizes. For documentation, the new site docs.gtk.org , which also offers related introspection guides GOBJECT, PANGO and GDKPIXBUF.
- optimized performance of various components, starting with GLSL shaders involved when drawing shaders and ending with objects for people with disabilities.
- Subpixel text positioning is implemented when using new versions of the cairo .
/Media reports.