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. since: 1.2 |
ActionRow |
A since: 1 |
Animation |
A base class for animations. since: 1 |
AnimationTarget |
Represents a value since: 1 |
Application |
A base class for Adwaita applications. since: 1 |
ApplicationWindow |
A freeform application window. since: 1 |
Avatar |
A widget displaying an image, with a generated fallback. since: 1 |
Banner |
A bar with contextual information. since: 1.3 |
Bin |
A widget with one child. since: 1 |
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. since: 1 |
CallbackAnimationTarget |
An since: 1 |
Carousel |
A paginated scrolling widget. since: 1 |
CarouselIndicatorDots |
A dots indicator for since: 1 |
CarouselIndicatorLines |
A lines indicator for since: 1 |
Clamp |
A widget constraining its child to a given size. since: 1 |
ClampLayout |
A layout manager constraining its children to a given size. since: 1 |
ClampScrollable |
A scrollable since: 1 |
ComboRow |
A since: 1 |
EntryRow |
A since: 1.2 |
EnumListItem |
since: 1 |
EnumListModel |
A since: 1 |
ExpanderRow |
A since: 1 |
Flap |
An adaptive container acting like a box or an overlay. deprecated: 1.4 since: 1 |
HeaderBar |
A title bar widget. since: 1 |
Leaflet |
An adaptive container acting like a box or a stack. deprecated: 1.4 since: 1 |
LeafletPage |
An auxiliary class used by deprecated: 1.4 since: 1 |
MessageDialog |
A dialog presenting a message or a question. since: 1.2 |
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 |
PreferencesGroup |
A group of preference rows. since: 1 |
PreferencesPage |
A page from since: 1 |
PreferencesRow |
A since: 1 |
PreferencesWindow |
A window to present an application’s preferences. since: 1 |
PropertyAnimationTarget |
An since: 1.2 |
SpinRow |
An since: 1.4 |
SplitButton |
A combined button and dropdown widget. since: 1 |
SpringAnimation |
A spring-based since: 1 |
Squeezer |
A best fit container. deprecated: 1.4 since: 1 |
SqueezerPage |
An auxiliary class used by deprecated: 1.4 since: 1 |
StatusPage |
A page used for empty/error states and similar use-cases. since: 1 |
StyleManager |
A class for managing application-wide styling. since: 1 |
SwipeTracker |
A swipe tracker used in since: 1 |
SwitchRow |
A since: 1.4 |
TabBar |
A tab bar for since: 1 |
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 since: 1 |
TabView |
A dynamic tabbed container. since: 1 |
TimedAnimation |
A time-based since: 1 |
Toast |
A helper object for since: 1 |
ToastOverlay |
A widget showing toasts above its content. since: 1 |
ToolbarView |
A widget containing a page, as well as top and/or bottom bars. since: 1.4 |
ViewStack |
A view container for since: 1 |
ViewStackPage |
An auxiliary class used by since: 1 |
ViewStackPages |
An auxiliary class used by since: 1.4 |
ViewSwitcher |
An adaptive view switcher. since: 1 |
ViewSwitcherBar |
A view switcher action bar. since: 1 |
ViewSwitcherTitle |
A view switcher title. deprecated: 1.4 since: 1 |
Window |
A freeform window. since: 1 |
WindowTitle |
A helper widget for setting a window’s title and subtitle. since: 1 |
Interfaces
Swipeable |
An interface for swipeable widgets. since: 1 |
Structs
BreakpointCondition |
Describes condition for an since: 1.4 |
SpringParams |
Physical parameters of a spring for since: 1 |
Enumerations
AnimationState |
Describes the possible states of an since: 1 |
BreakpointConditionLengthType |
Describes length types for since: 1.4 |
BreakpointConditionRatioType |
Describes ratio types for since: 1.4 |
CenteringPolicy |
Describes title centering behavior of a since: 1 |
ColorScheme |
Application color schemes for since: 1 |
Easing |
Describes the available easing functions for use with
since: 1 |
FlapFoldPolicy |
Describes the possible folding behavior of a deprecated: 1.4 since: 1 |
FlapTransitionType |
Describes transitions types of a deprecated: 1.4 since: 1 |
FoldThresholdPolicy |
Determines when deprecated: 1.4 since: 1 |
LeafletTransitionType |
Describes the possible transitions in a deprecated: 1.4 since: 1 |
LengthUnit |
Describes length units. since: 1.4 |
NavigationDirection |
Describes the direction of a swipe navigation gesture. since: 1 |
ResponseAppearance |
Describes the possible styles of since: 1.2 |
SqueezerTransitionType |
Describes the possible transitions in a deprecated: 1.4 since: 1 |
ToastPriority |
since: 1 |
ToolbarStyle |
Describes the possible top or bottom bar styles in an since: 1.4 |
ViewSwitcherPolicy |
Describes the adaptive modes of since: 1 |
Bitfields
TabViewShortcuts |
Describes available shortcuts in an since: 1.2 |
Callbacks
AnimationTargetFunc |
Prototype for animation targets based on user callbacks. since: 1 |
Functions
get_enable_animations |
Checks whether animations are enabled for since: 1 |
get_major_version |
Returns the major version number of the Adwaita library. since: 1 |
get_micro_version |
Returns the micro version number of the Adwaita library. since: 1 |
get_minor_version |
Returns the minor version number of the Adwaita library. since: 1 |
init |
Initializes Libadwaita. since: 1 |
is_initialized |
Use this function to check if libadwaita has been initialized with
since: 1 |
lerp |
Computes the linear interpolation between since: 1 |
show_about_window |
A convenience function for showing an application’s about window. since: 1.2 |
show_about_window_from_appdata |
A convenience function for showing an application’s about window from AppStream metadata. since: 1.4 |
Function Macros
CHECK_VERSION |
Compile-time version checking. Evaluates to since: 1 |
DEPRECATED_IN_1_1_FOR |
since: 1 |
DEPRECATED_IN_1_2_FOR |
since: 1 |
DEPRECATED_IN_1_3_FOR |
since: 1 |
DEPRECATED_IN_1_4_FOR |
since: 1 |
DEPRECATED_TYPE_IN_1_1_FOR |
since: 1 |
DEPRECATED_TYPE_IN_1_2_FOR |
since: 1 |
DEPRECATED_TYPE_IN_1_3_FOR |
since: 1 |
DEPRECATED_TYPE_IN_1_4_FOR |
since: 1 |
ENCODE_VERSION |
since: 1 |
UNAVAILABLE |
since: 1 |
Constants
DURATION_INFINITE |
Indicates an since: 1 |
MAJOR_VERSION |
Adwaita major version component (e.g. 1 if the version is 1.2.3). since: 1 |
MICRO_VERSION |
Adwaita micro version component (e.g. 3 if the version is 1.2.3). since: 1 |
MINOR_VERSION |
Adwaita minor version component (e.g. 2 if the version is 1.2.3). since: 1 |
VERSION_S |
Adwaita version, encoded as a string, useful for printing and concatenation. since: 1 |