Release of the Libadwaita 1.3 library for creating GNOME-style interfaces

The GNOME Project has published the release of the Libadwaita 1.3 library, which includes a set of components for styling the user interface that complies with the GNOME HIG (Human Interface Guidelines) recommendations. The library includes ready-made widgets and objects for building applications that comply with the general GNOME style, the interface of which can adapt responsively to screens of any size. The library code is written in C language and distributed under the LGPL 2.1+ license.

The libadwaita library is used in conjunction with GTK4 and includes components of the Adwaita skin used in GNOME, which have been moved out of GTK into a separate library. Moving GNOME visuals into a separate library allows GNOME-needed changes to be developed separately from GTK, allowing GTK developers to focus on the basics, and GNOME developers to more quickly and flexibly push styling changes for themselves without affecting GTK itself.

The library includes standard widgets covering various interface elements, such as lists, panels, editing blocks, buttons, tabs, search forms, dialog boxes, etc. The proposed widgets allow you to create universal interfaces that function seamlessly both on large screens of PCs and laptops, and on small touch screens of smartphones. The application interface dynamically changes depending on the screen size and available input devices. The library also includes a set of Adwaita styles that bring the look and feel to GNOME guidelines without the need for manual customization.

Major changes in libadwaita 1.3:

  • The AdwBanner widget has been implemented, which can be used instead of the GTK GtkInfoBar widget to display banner windows containing a title and one optional button. The content of the widget transforms depending on the size, and animation can be applied when showing and hiding.
    Release of the Libadwaita 1.3 library for creating GNOME-style interfaces
  • The AdwTabOverview widget has been added, designed for a visual overview of tabs or pages shown using the AdwTabView class. The new widget can be used to organize tabbed browsing on mobile devices without creating your own switcher implementation.
    Release of the Libadwaita 1.3 library for creating GNOME-style interfacesRelease of the Libadwaita 1.3 library for creating GNOME-style interfaces
  • Added an AdwTabButton widget to display buttons with information about the number of open tabs in AdwTabView that can be used on a mobile device to open tab browsing mode.
    Release of the Libadwaita 1.3 library for creating GNOME-style interfaces
  • The AdwViewStack, AdwTabView, and AdwEntryRow widgets now support accessibility tools.
  • A property has been added to the AdwAnimation class to ignore disabling animations in system settings.
  • The AdwActionRow class now has the ability to select subtitles.
  • The title-lines and subtitle-lines properties have been added to the AdwExpanderRow class.
  • The grab_focus_without_selecting() method has been added to the AdwEntryRow class, by analogy with GtkEntry.
  • The async choose() method has been added to the AdwMessageDialog class, similar to GtkAlertDialog .
  • Added drag-n-drop API calls to the AdwTabBar class.
  • Correct scaling of images is provided in the AdwAvatar class.
  • Added the ability to use dark style and high contrast mode when working on the Windows platform.
  • Selected list and grid items are now highlighted with the color used to highlight active items (accent).

Source: opennet.ru

Add a comment