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
| AboutWindow | A window showing information about the application. |
| ActionRow | A |
| 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. |
| Bin | A widget with one child. |
| ButtonContent | A helper widget for creating buttons. |
| 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 |
| EntryRow | A |
| EnumListItem |
|
| EnumListModel | A |
| ExpanderRow | A |
| Flap | An adaptive container acting like a box or an overlay. |
| HeaderBar | A title bar widget. |
| Leaflet | An adaptive container acting like a box or a stack. |
| LeafletPage | An auxiliary class used by |
| MessageDialog | A dialog presenting a message or a question. |
| PasswordEntryRow | A |
| PreferencesGroup | A group of preference rows. |
| PreferencesPage | A page from |
| PreferencesRow | A |
| PreferencesWindow | A window to present an application’s preferences. |
| PropertyAnimationTarget | An |
| SplitButton | A combined button and dropdown widget. |
| SpringAnimation | A spring-based |
| Squeezer | A best fit container. |
| SqueezerPage | An auxiliary class used by |
| 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 |
| TabBar | A tab bar for |
| TabButton | A button that displays the number of |
| TabOverview | A tab overview for |
| 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. |
| ViewStack | A view container for |
| ViewStackPage | An auxiliary class used by |
| ViewSwitcher | An adaptive view switcher. |
| ViewSwitcherBar | A view switcher action bar. |
| ViewSwitcherTitle | A view switcher title. |
| Window | A freeform window. |
| WindowTitle | A helper widget for setting a window’s title and subtitle. |
Interfaces
| Swipeable | An interface for swipeable widgets. |
Structs
| SpringParams | Physical parameters of a spring for |
Enumerations
| AnimationState | Describes the possible states of an |
| CenteringPolicy | Describes title centering behavior of a |
| ColorScheme | Application color schemes for |
| Easing | Describes the available easing functions for use with
|
| FlapFoldPolicy | Describes the possible folding behavior of a |
| FlapTransitionType | Describes transitions types of a |
| FoldThresholdPolicy | Determines when |
| LeafletTransitionType | Describes the possible transitions in a |
| NavigationDirection | Describes the direction of a swipe navigation gesture. |
| ResponseAppearance | Describes the possible styles of |
| SqueezerTransitionType | Describes the possible transitions in a |
| ToastPriority |
|
| ViewSwitcherPolicy | Describes the adaptive modes of |
Bitfields
| TabViewShortcuts | Describes available shortcuts in an |
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 |
| show_about_window | A convenience function for showing an application’s about window. |
Function Macros
| CHECK_VERSION | Compile-time version checking. Evaluates to |
| DEPRECATED_IN_1_1_FOR | |
| DEPRECATED_IN_1_2_FOR | |
| DEPRECATED_IN_1_3_FOR | |
| DEPRECATED_TYPE_IN_1_1_FOR | |
| DEPRECATED_TYPE_IN_1_2_FOR | |
| DEPRECATED_TYPE_IN_1_3_FOR | |
| ENCODE_VERSION | |
| UNAVAILABLE |
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. |