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

The GNOME Project has released version 1.3 of the Libadwaita library, which includes a set of components for styling user interfaces in accordance with GNOME HIG (Human Interface Guidelines). The library provides ready-made widgets and objects for building applications that adhere to the overall GNOME style, with interfaces that can adapt to screens of any size. The library's code is written in C and is distributed under the LGPL 2.1+ license.

The libadwaita library is used in conjunction with GTK4 and includes components from the Adwaita theme used in GNOME, which have been extracted from GTK into a separate library. Extracting GNOME's visual styling elements into a separate library enables the necessary changes for GNOME to be developed independently of GTK, allowing GTK developers to focus on foundational aspects while GNOME developers can more rapidly and flexibly implement the styling changes they require without impacting GTK itself.

The library includes standard widgets that cover various interface elements such as lists, panels, editing blocks, buttons, tabs, search forms, dialog windows, etc. The proposed widgets allow for the creation of versatile interfaces that function seamlessly on both large PC and laptop screens and small touchscreens of smartphones. The user interface of applications dynamically adapts based on the screen size and available input devices. The library also includes a set of Adwaita styles that align appearances with GNOME guidelines, eliminating the need for manual adaptation.

Key changes in libadwaita 1.3:

  • The AdwBanner widget has been implemented, which can be used instead of the GTK widget GtkInfoBar to display banner windows containing a title and one optional button. The widget's content transforms based on 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 displayed using the AdwTabView class. The new widget can be used to manage tab work on mobile devices without creating a custom tab switcher implementation.
    Release of the Libadwaita 1.3 library for creating GNOME-style interfaces Release of the Libadwaita 1.3 library for creating GNOME-style interfaces
  • The AdwTabButton widget has been added to display buttons with information about the number of open tabs in AdwTabView, which can be used on mobile devices to open the tab overview mode.
    Release of the Libadwaita 1.3 library for creating GNOME-style interfaces
  • Support for accessibility tools has been implemented for the AdwViewStack, AdwTabView, and AdwEntryRow widgets.
  • A property has been added to the AdwAnimation class to ignore the disabling of animations in system settings.
  • The AdwActionRow class now supports subtitle highlighting.
  • Properties title-lines and subtitle-lines have been added to the AdwExpanderRow class.
  • A method grab_focus_without_selecting() has been added to the AdwEntryRow class, similar to GtkEntry.
  • An async choose() method has been added to the AdwMessageDialog class, similar to GtkAlertDialog.
  • API calls related to drag-and-drop interfaces have been added to the AdwTabBar class.
  • The AdwAvatar class now ensures correct image scaling.
  • The ability to use dark style and high-contrast mode on the Windows platform has been added.
  • Selected items in lists and grids are now highlighted with the color used for accenting active elements.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster