{"id":105108,"date":"2022-09-16T09:36:50","date_gmt":"2022-09-16T07:36:55","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome"},"modified":"2022-09-16T09:36:50","modified_gmt":"2022-09-16T07:36:55","slug":"vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome","title":{"rendered":"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>The GNOME project has released the Libadwaita 1.2 library, which includes a set of components for styling user interfaces in accordance with the GNOME HIG (Human Interface Guidelines). The library features 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 code for the library is written in C and is distributed under the LGPL 2.1+ license.    <\/p>\n<p><center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/77464bf4a5f527b72ce0ea39c99e8d21.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>      <\/p>\n<p>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.     <\/p>\n<p>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.          <\/p>\n<p>Major changes in libadwaita 1.2:  <\/p>\n<ul>\n<li class=\"l\"> The Adw.EntryRow widget has been added for use as a list element. The widget provides an input field and a header with the ability to attach additional widgets before and after the input field (such as confirmation buttons or an indicator that the data can be edited). Additionally, there is an Adw.PasswordEntryRow variant designed for password input.  <center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/5b3c7a278894f94fc2bcf8fb36fa4caa.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>\n<li class=\"l\"> The Adw.MessageDialog widget has been added for displaying a dialog with a message or question. This widget is an enhanced replacement for Gtk.MessageDialog that can adapt the layout of elements to the size of the window. For instance, in wide windows, buttons can be displayed in a single row, while in narrow ones, they can break into multiple columns. Another distinction is that the widget is not a subclass of GtkDialog and provides an entirely new API that is not tied to predefined GtkResponseType button types (in Adw.MessageDialog, all action handling is performed by the application), simplifying the embedding of other widgets using the extra-child property and offering separate styles for the header and main text.    <center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/723359cb964503b5da142d4c300cddc6.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>\n<li class=\"l\"> The Adw.AboutWindow widget has been added for displaying an information window about the application. This widget replaces Gtk.AboutDialog and is characterized by the use of responsive element layouts and extended supplementary sections, such as a changelog, acknowledgments, information about third-party component licenses, links to informational resources, and debugging assistance data.      <center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/cfe9995fb1a9c205b33e76b5ef61cbf9.jpg\" style=\"display:block;margin: 0 auto;\" \/><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/f01c1e9968ec234ba13777134b9046d4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>\n<li class=\"l\"> The capabilities of Adw.TabView and Adw.TabBar widgets have been expanded, with a redesign of the hotkey handling mechanism to address issues with key combinations overlapping with GTK4 handlers (e.g., Ctrl+Tab). The new version also introduces a property for setting tooltips for tab indicators and buttons.\n<li class=\"l\"> The Adw.PropertyAnimationTarget class has been added to simplify the animation of object properties.\n<li class=\"l\"> The style of the tab panel (Adw.TabBar) has been significantly changed \u2014 the active tab is highlighted more clearly and the contrast of elements has been increased in the dark theme variant.  <center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/47d6c3ea32306b5858f3c6b89eef4ad9.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>  <center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/4536cb858e2062e7e0eb1bd81e4c4aa6.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>\n<li class=\"l\"> The height of vertical dividers has been reduced, allowing the header and search row panel to eliminate distracting light borders in favor of dark borders defined by @headerbar_shade_color, and to add a background style that matches the header panels.\n<li class=\"l\"> The style class '.large-title' has been deprecated, and '.title-1' should be used instead.\n<li class=\"l\"> The margins in the Adw.ActionRow widget have been reduced to bring its appearance closer to that of the panels and the Adw.EntryRow widget.\n<li class=\"l\"> The same styles used in header, search, and tab panels have been applied to the Gtk.Actionbar and Adw.ViewSwitcherBar widgets.    <center><img decoding=\"async\" alt=\"Release of the Libadwaita 1.2 library for creating GNOME-style interfaces\" src=\"\/wp-content\/uploads\/2022\/09\/2df9214d04fa9f7738e7bb5bae0bab5a.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>              <\/ul>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=57792\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0435\u043a\u0442 GNOME \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Libadwaita 1.2, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0439 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0435\u0432\u043e\u0433\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c GNOME HIG (Human Interface Guidelines). \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043e\u0431\u0449\u0435\u043c\u0443 \u0441\u0442\u0438\u043b\u044e GNOME, \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u044d\u043a\u0440\u0430\u043d\u044b \u043b\u044e\u0431\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430. \u041a\u043e\u0434 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421\u0438 \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":105109,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-105108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u043e\u0435\u043a\u0442 GNOME \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Libadwaita 1.2, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0439 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0435\u0432\u043e\u0433\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c GNOME HIG (Human Interface Guidelines).\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Libadwaita 1.2 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435 GNOME | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u0435\u043a\u0442 GNOME \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Libadwaita 1.2, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0439 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0435\u0432\u043e\u0433\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c GNOME HIG (Human Interface Guidelines).\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-09-16T07:36:55+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-09-16T07:36:55+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Release of the Libadwaita 1.2 library for creating GNOME-style interfaces | ProHoster","description":"The GNOME project has released version 1.2 of the Libadwaita library, which includes a set of components for styling user interfaces that comply with the GNOME HIG (Human Interface Guidelines).","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Libadwaita 1.2 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0432 \u0441\u0442\u0438\u043b\u0435 GNOME | ProHoster","og:description":"\u041f\u0440\u043e\u0435\u043a\u0442 GNOME \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Libadwaita 1.2, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0439 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0435\u0432\u043e\u0433\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u043c GNOME HIG (Human Interface Guidelines).","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/vypusk-biblioteki-libadwaita-1-2-dlya-sozdaniya-interfejsov-v-stile-gnome","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2022-09-16T07:36:55+00:00","article:modified_time":"2022-09-16T07:36:55+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/105108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=105108"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/105108\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/105109"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=105108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=105108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=105108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}