GTK Graphic Tulk 4.6 Available

After four months of development Published Release of a multi-platform tulkin to create a graphical user interface – GTK 4.6.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.

Among the most noticeable improvements in gtk 4.6:

  • Removed the old OpenGL drawing engine, to change which the new NGL engine came from the default starting with GTK 4.2 and providing higher performance. NGL renamed GL. The texture load code is rewritten, improved support for image and color space formats.
  • significantly reworked the code associated with the calculation of the size of the elements and the layout of the widgets. Previously, the properties of Gtkwidget :: Halign and GTKWIDGET :: Valign When placing elements, it was repelled on the size of the default widgets, which, when specifying only one size in the filling mode, it could lead to an element of an additional space. In GTK 4.6, the possibility of relative measurement of the missing size is implemented (for example, if the width is specified, an accessible height can be taken into account when placed), which allows you to make widgets thinner without excess space.




  • in the widget GTKBOX It is possible to calculate the individual size of the child elements. If earlier the space was distributed equally between the child widgets based on their default size, then in GTK 4.6, the output of the actual size of the child elements is implemented.


  • in the widget gtklabel implemented text transfer support to an arbitrary number of rows, which allows you to create narrow tags that occupy Available vertical space.
  • in the class of gtkwindow Added the ability to fit the minimum size to the ratio of the parties, which allows you to arbitrarily change the window size without fear that it will be too small. Added property “ window.titlebar “.

/Media reports.