Namespace

Adw – 1

Building blocks for modern GNOME applications

Version1.0.0.alpha.3
AuthorsPurism SPC
LicenseLGPL-2.1-or-later
Websitehttps://gnome.pages.gitlab.gnome.org/libadwaita
Sourcehttps://gitlab.gnome.org/GNOME/libadwaita/

Build

C headersadwaita.h
pkg-config fileslibadwaita-1

Dependencies

GObject—2.0 The base type system library
Browse documentation

Classes

ActionRow

A GtkListBoxRow used to present actions.

since: 1.0

Application

A base class for Adwaita applications.

since: 1.0

ApplicationWindow

A freeform application window.

since: 1.0

Avatar

A widget displaying an image, with a generated fallback.

since: 1.0

Bin

A widget with one child.

since: 1.0

ButtonContent

A helper widget for creating buttons.

since: 1.0

Carousel

A paginated scrolling widget.

since: 1.0

CarouselIndicatorDots

A dots indicator for AdwCarousel.

since: 1.0

CarouselIndicatorLines

A lines indicator for AdwCarousel.

since: 1.0

Clamp

A widget constraining its child to a given size.

since: 1.0

ClampLayout

A layout manager constraining its children to a given size.

since: 1.0

ClampScrollable

A scrollable AdwClamp.

since: 1.0

ComboRow

A GtkListBoxRow used to choose from a list of items.

since: 1.0

EnumListItem

AdwEnumListItem is the type of items in a AdwEnumListModel.

since: 1.0

EnumListModel

A GListModel representing values of a given enum.

since: 1.0

ExpanderRow

A GtkListBoxRow used to reveal widgets.

since: 1.0

Flap

An adaptive container acting like a box or an overlay.

since: 1.0

HeaderBar

A title bar widget.

since: 1.0

Leaflet

An adaptive container acting like a box or a stack.

since: 1.0

LeafletPage

An auxiliary class used by AdwLeaflet.

PreferencesGroup

A group of preference rows.

since: 1.0

PreferencesPage

A page from AdwPreferencesWindow.

since: 1.0

PreferencesRow

A GtkListBoxRow used to present preferences.

since: 1.0

PreferencesWindow

A window to present an application’s preferences.

since: 1.0

SplitButton

A combined button and dropdown widget.

since: 1.0

Squeezer

A best fit container.

since: 1.0

SqueezerPage

An auxiliary class used by AdwSqueezer.

StatusPage

A page used for empty/error states and similar use-cases.

since: 1.0

StyleManager

A class for managing application-wide styling.

since: 1.0

SwipeTracker

A swipe tracker used in AdwCarousel and AdwLeaflet.

since: 1.0

TabBar

A tab bar for AdwTabView.

since: 1.0

TabPage

An auxiliary class used by AdwTabView.

TabView

A dynamic tabbed container.

since: 1.0

ViewStack

A view container for AdwViewSwitcher.

since: 1.0

ViewStackPage

An auxiliary class used by AdwViewStack.

since: 1.0

ViewSwitcher

An adaptive view switcher.

since: 1.0

ViewSwitcherBar

A view switcher action bar.

since: 1.0

ViewSwitcherTitle

A view switcher title.

since: 1.0

Window

A freeform window.

since: 1.0

WindowTitle

A helper widget for setting a window’s title and subtitle.

since: 1.0

Interfaces

Swipeable

An interface for swipeable widgets.

since: 1.0

Enumerations

CenteringPolicy

Describes title centering behavior of a AdwHeaderBar widget.

since: 1.0

ColorScheme

Application color schemes for AdwStyleManager:color-scheme.

since: 1.0

FlapFoldPolicy

Describes the possible folding behavior of a AdwFlap widget.

since: 1.0

FlapTransitionType

Describes transitions types of a AdwFlap widget.

since: 1.0

FoldThresholdPolicy

Determines when AdwFlap and AdwLeaflet will fold.

since: 1.0

LeafletTransitionType

Describes the possible transitions in a AdwLeaflet widget.

since: 1.0

NavigationDirection

Describes the direction of a swipe navigation gesture.

since: 1.0

SqueezerTransitionType

Describes the possible transitions in a AdwSqueezer widget.

since: 1.0

ViewSwitcherPolicy

Describes the adaptive modes of AdwViewSwitcher.

Functions

ease_out_cubic

Computes the ease out for t.

since: 1.0

get_enable_animations

Checks whether animations are enabled for widget.

since: 1.0

init

Initializes Libadwaita.

since: 1.0

is_initialized

Use this function to check if libadwaita has been initialized with adw_init().

Function Macros

CHECK_VERSION

Compile-time version checking. Evaluates to TRUE if the version of Adwaita is greater than the required one.

ENCODE_VERSION

UNAVAILABLE

Constants

MAJOR_VERSION

Adw major version component (e.g. 1 if ADW_VERSION is 1.2.3)

MICRO_VERSION

Adw micro version component (e.g. 3 if ADW_VERSION is 1.2.3)

MINOR_VERSION

Adw minor version component (e.g. 2 if ADW_VERSION is 1.2.3)

VERSION_S

Adwaita version, encoded as a string, useful for printing and concatenation.