GTK 4.10 has already been released and these are its news

GTK4

GTK or The GIMP Toolkit is a cross-platform graphical component library for developing graphical user interfaces.

After six months of development, the launch of the new version of the cross-platform toolkit for creating a graphical user interface, "GTK 4.10.0".

The new branch of GTK 4 is being developed under a new process developmental that you try to provide to application developers a stable and compatible API for several years, which can be used without fear that applications will need to be reworked every six months due to API changes in the next GTK.

Main new features of GTK 4.10

In this new version that is presented of GTK 4.10, it is highlighted that sAdded new classes GtkColorDialog , GtkFontDialog , GtkFileDialog , and GtkAlertDialog with the implementation of dialogs to select colors, fonts and files, showing alerts. the new options distinguished by transition to a more consistent API and balanced that works in asynchronous mode (GIO async). The new dialogs make use of Freedesktop portals (xdg-desktop-portal) wherever possible and available, which are used to provide access to user environment resources from sandboxed applications.

Another novelty that stands out from the new version is that a new CPDB backend has been added (Common Printing Dialog Backend), which provides generic drivers for use in print dialogs. Support for the previously used lpr printing backend has been deprecated.

in the widget GtkFileChooserWidget cWith the implementation of the open dialog for selecting files in applications, the mode of presenting the contents of the directories in the form of a network of icons is implemented. By default, the classic file list view is still used and a separate button has appeared on the right side of the panel to switch to icon mode.

Library GDK, which provides a layer between GTK and the graphics subsystem, proposes the GdkTextureDownloader structure, which is used to load textures into the GdkTexture class and can be used to convert various formats, texture scaling using OpenGL has been improved.

Besides that, the GSK library (GTK Scene Kit), which provides the ability to render graphic scenes via OpenGL and Vulkan, supports nodes with skins and custom filtering of scalable textures.

It is also highlighted that support for new versions of the Wayland protocol extensions has been implemented, because the output was improved in the startup notifications when using the "xdg-activation" protocol and that problems with the size of the cursor on screens with high pixel density were solved.

Of the other changes that stand out from the new version:

  • The GtkMountOperation class has been adapted to work in non-X11 environments.
  • Added support for modal windows to the Broadway backend, allowing you to draw the output of the GTK library in a web browser window
  • The GtkFileLauncher class proposes a new asynchronous API to replace gtk_show_uri
  • Improved template handling in gtk-builder-tool.
  • The GtkSearchEntry widget has added support for displaying dummy text when the field is empty and there is no entry focus.
  • The GtkUriLauncher class was added to replace the gtk_show_uri function, which is used to determine which application to launch to display a given URI or to throw an error if no controller is present.
  • In the GtkStringSorter class, support has been added for several "collation" methods that allow collation and sorting based on the meaning of the characters (for example, if there is an accent mark).
  • A large part of the APIs and widgets have been deprecated, which were decided not to be supported in the future GTK5 branch and replaced with analogues that work in asynchronous mode.
  • Ported to the public GtkAccessible frontend, which allows you to plug in third-party frontend controllers for people with disabilities. Added GtkAccessibleRange interface.
  • On macOS, Drag-and-Drop (DND) support is provided.
  • On Windows, integration with system settings has been improved.
  • Unified debug output format.
  • The memory limit for the JPEG image uploader has been raised to 1 GB.

Finally, if you are interested in knowing more about it, you can consult the details In the following link.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Nonamed said

    For those who are interested, there is a fork of GTK3, called CTK, which aims to keep all those features that a classic desktop needs and that were literally loaded with GTK4.

    It is used in CAFE desktop (fork the MATE).

    https://github.com/cafe-desktop