Namespace
Adw – 1
Building blocks for modern GNOME applications
Dependencies
| GObject—2.0 | The base type system library |
| Browse documentation | |
| Gtk—4.0 | The GTK toolkit |
| Browse documentation |
Classes
| AboutDialog |
A dialog showing information about the application. since: 1.5 |
| AboutWindow |
A window showing information about the application. deprecated: 1.6 since: 1.2 |
| ActionRow |
A |
| AlertDialog |
A dialog presenting a message or a question. since: 1.5 |
| Animation |
A base class for animations. |
| AnimationTarget |
Represents a value |
| Application |
A base class for Adwaita applications. |
| ApplicationWindow |
A freeform application window. |
| Avatar |
A widget displaying an image, with a generated fallback. |
| Banner |
A bar with contextual information. since: 1.3 |
| Bin |
A widget with one child. |
| BottomSheet |
A bottom sheet with an optional bottom bar. since: 1.6 |
| Breakpoint |
Describes a breakpoint for since: 1.4 |
| BreakpointBin |
A widget that changes layout based on available size. since: 1.4 |
| ButtonContent |
A helper widget for creating buttons. |
| ButtonRow |
A since: 1.6 |
| CallbackAnimationTarget |
An |
| Carousel |
A paginated scrolling widget. |
| CarouselIndicatorDots |
A dots indicator for |
| CarouselIndicatorLines |
A lines indicator for |
| Clamp |
A widget constraining its child to a given size. |
| ClampLayout |
A layout manager constraining its children to a given size. |
| ClampScrollable |
A scrollable |
| ComboRow |
A |
| Dialog |
An adaptive dialog container. since: 1.5 |
| EntryRow |
A since: 1.2 |
| EnumListItem |
|
| EnumListModel |
A |
| ExpanderRow |
A |
| Flap |
An adaptive container acting like a box or an overlay. deprecated: 1.4 |
| HeaderBar |
A title bar widget. |
| InlineViewSwitcher |
A view switcher that uses a toggle group. since: 1.7 |
| Layout |
An individual layout in since: 1.6 |
| LayoutSlot |
A child slot within since: 1.6 |
| Leaflet |
An adaptive container acting like a box or a stack. deprecated: 1.4 |
| LeafletPage |
An auxiliary class used by deprecated: 1.4 |
| MessageDialog |
A dialog presenting a message or a question. deprecated: 1.6 since: 1.2 |
| MultiLayoutView |
A widget for switching between different layouts. since: 1.6 |
| NavigationPage |
A page within since: 1.4 |
| NavigationSplitView |
A widget presenting sidebar and content side by side or as a navigation view. since: 1.4 |
| NavigationView |
A page-based navigation container. since: 1.4 |
| OverlaySplitView |
A widget presenting sidebar and content side by side or as an overlay. since: 1.4 |
| PasswordEntryRow |
A since: 1.2 |
| PreferencesDialog |
A dialog showing application’s preferences. since: 1.5 |
| PreferencesGroup |
A group of preference rows. |
| PreferencesPage |
A page from |
| PreferencesRow |
A |
| PreferencesWindow |
A window to present an application’s preferences. deprecated: 1.6 |
| PropertyAnimationTarget |
An since: 1.2 |
| ShortcutLabel |
A widget that displays a keyboard shortcut. unstable since: 1.8 |
| ShortcutsDialog |
A dialog that displays application’s keyboard shortcuts. unstable since: 1.8 |
| ShortcutsItem |
An object representing an individual shortcut in unstable since: 1.8 |
| ShortcutsSection |
An object representing a section in unstable since: 1.8 |
| Spinner |
A widget showing a loading spinner. since: 1.6 |
| SpinnerPaintable |
A paintable showing a loading spinner. since: 1.6 |
| SpinRow |
An since: 1.4 |
| SplitButton |
A combined button and dropdown widget. |
| SpringAnimation |
A spring-based |
| Squeezer |
A best fit container. deprecated: 1.4 |
| SqueezerPage |
An auxiliary class used by deprecated: 1.4 |
| StatusPage |
A page used for empty/error states and similar use-cases. |
| StyleManager |
A class for managing application-wide styling. |
| SwipeTracker |
A swipe tracker used in |
| SwitchRow |
A since: 1.4 |
| TabBar |
A tab bar for |
| TabButton |
A button that displays the number of since: 1.3 |
| TabOverview |
A tab overview for since: 1.3 |
| TabPage |
An auxiliary class used by |
| TabView |
A dynamic tabbed container. |
| TimedAnimation |
A time-based |
| Toast |
A helper object for |
| ToastOverlay |
A widget showing toasts above its content. |
| Toggle |
A toggle within since: 1.7 |
| ToggleGroup |
A group of exclusive toggles. since: 1.7 |
| ToolbarView |
A widget containing a page, as well as top and/or bottom bars. since: 1.4 |
| ViewStack |
A view container for |
| ViewStackPage |
An auxiliary class used by |
| ViewStackPages |
An auxiliary class used by since: 1.4 |
| ViewSwitcher |
An adaptive view switcher. |
| ViewSwitcherBar |
A view switcher action bar. |
| ViewSwitcherTitle |
A view switcher title. deprecated: 1.4 |
| Window |
A freeform window. |
| WindowTitle |
A helper widget for setting a window’s title and subtitle. |
| WrapBox |
A box-like widget that can wrap into multiple lines. since: 1.7 |
| WrapLayout |
A box-like layout that can wrap into multiple lines. since: 1.7 |
Interfaces
| Swipeable |
An interface for swipeable widgets. |
Structs
| BreakpointCondition |
Describes condition for an since: 1.4 |
| SpringParams |
Physical parameters of a spring for |
Enumerations
| AccentColor |
Describes the available system accent colors. since: 1.6 |
| AnimationState |
Describes the possible states of an |
| BannerButtonStyle |
Describes the available button styles for since: 1.7 |
| BreakpointConditionLengthType |
Describes length types for since: 1.4 |
| BreakpointConditionRatioType |
Describes ratio types for since: 1.4 |
| CenteringPolicy |
Describes title centering behavior of a |
| ColorScheme |
Application color schemes for |
| DialogPresentationMode |
Describes the available presentation modes for since: 1.5 |
| Easing |
Describes the available easing functions for use with
|
| FlapFoldPolicy |
Describes the possible folding behavior of a deprecated: 1.4 |
| FlapTransitionType |
Describes transitions types of a deprecated: 1.4 |
| FoldThresholdPolicy |
Determines when deprecated: 1.4 |
| InlineViewSwitcherDisplayMode |
Describes what since: 1.7 |
| JustifyMode |
Describes line justify behaviors in a since: 1.7 |
| LeafletTransitionType |
Describes the possible transitions in a deprecated: 1.4 |
| LengthUnit |
Describes length units. since: 1.4 |
| NavigationDirection |
Describes the direction of a swipe navigation gesture. |
| PackDirection |
Describes child packing behavior in a since: 1.7 |
| ResponseAppearance |
Describes the possible styles of since: 1.2 |
| SqueezerTransitionType |
Describes the possible transitions in a deprecated: 1.4 |
| ToastPriority |
|
| ToolbarStyle |
Describes the possible top or bottom bar styles in an since: 1.4 |
| ViewSwitcherPolicy |
Describes the adaptive modes of |
| WrapPolicy |
Describes line wrapping behavior in a since: 1.7 |
Bitfields
| TabViewShortcuts |
Describes available shortcuts in an since: 1.2 |
Callbacks
| AnimationTargetFunc |
Prototype for animation targets based on user callbacks. |
Functions
| get_enable_animations |
Checks whether animations are enabled for |
| get_major_version |
Returns the major version number of the Adwaita library. |
| get_micro_version |
Returns the micro version number of the Adwaita library. |
| get_minor_version |
Returns the minor version number of the Adwaita library. |
| init |
Initializes Libadwaita. |
| is_initialized |
Use this function to check if libadwaita has been initialized with
|
| lerp |
Computes the linear interpolation between |
| rgba_to_standalone |
Adjusts since: 1.6 |
| show_about_dialog |
A convenience function for showing an application’s about dialog. since: 1.5 |
| show_about_dialog_from_appdata |
A convenience function for showing an application’s about dialog from AppStream metadata. since: 1.5 |
| show_about_window |
A convenience function for showing an application’s about window. deprecated: 1.6 since: 1.2 |
| show_about_window_from_appdata |
A convenience function for showing an application’s about window from AppStream metadata. deprecated: 1.6 since: 1.4 |
Function Macros
| CHECK_VERSION |
Compile-time version checking. Evaluates to |
Constants
| DURATION_INFINITE |
Indicates an |
| MAJOR_VERSION |
Adwaita major version component (e.g. 1 if the version is 1.2.3). |
| MICRO_VERSION |
Adwaita micro version component (e.g. 3 if the version is 1.2.3). |
| MINOR_VERSION |
Adwaita minor version component (e.g. 2 if the version is 1.2.3). |
| VERSION_S |
Adwaita version, encoded as a string, useful for printing and concatenation. |