Adw
Description:
Content:
Interfaces:
- Swipeable - An interface for swipeable widgets.
Classes:
- AboutWindow - A window showing information about the application.
- ActionRow - A [class@Gtk.
- Animation - A base class for animations.
- AnimationTarget - Represents a value [class@Animation] can animate.
- 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.
- Breakpoint - Describes a breakpoint for [ class@Window].
- BreakpointBin - A widget that changes layout based on available size.
- BreakpointCondition - Describes condition for an [class@Breakpoint].
- ButtonContent - A helper widget for creating buttons.
- CallbackAnimationTarget - An [ class@AnimationTarget] that calls a given callback during the animation.
- Carousel - A paginated scrolling widget.
- CarouselIndicatorDots - A dots indicator for [class@Carousel].
- CarouselIndicatorLines - A lines indicator for [class@Carousel].
- Clamp - A widget constraining its child to a given size.
- ClampLayout - A layout manager constraining its children to a given size.
- ClampScrollable - A scrollable [class@Clamp ].
- ComboRow - A [class@Gtk.
- EntryRow - A [class@Gtk.
- EnumListItem - `AdwEnumListItem` is the type of items in a [class@EnumListModel].
- EnumListModel - A [iface@Gio.
- ExpanderRow - A [class@Gtk.
- 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 [class@Leaflet].
- MessageDialog - A dialog presenting a message or a question.
- NavigationPage - A page within [ class@NavigationView] or [class@NavigationSplitView].
- NavigationSplitView - A widget presenting sidebar and content side by side or as a navigation view.
- NavigationView - A page-based navigation container.
- OverlaySplitView - A widget presenting sidebar and content side by side or as an overlay.
- PasswordEntryRow - A [class@EntryRow] tailored for entering secrets.
- PreferencesGroup - A group of preference rows.
- PreferencesPage - A page from [ class@PreferencesWindow].
- PreferencesRow - A [class@Gtk.
- PreferencesWindow - A window to present an application's preferences.
- PropertyAnimationTarget - An [ class@AnimationTarget] changing the value of a property of a [class@GObject.
- SpinRow - An [class@ActionRow] with an embedded spin button.
- SplitButton - A combined button and dropdown widget.
- SpringAnimation - A spring-based [ class@Animation].
- SpringParams - Physical parameters of a spring for [class@SpringAnimation].
- Squeezer - A best fit container.
- SqueezerPage - An auxiliary class used by [class@Squeezer].
- 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 [ class@Carousel], [class@NavigationView] and [class@OverlaySplitView].
- SwitchRow - A [class@Gtk.
- TabBar - A tab bar for [class@TabView].
- TabButton - A button that displays the number of [class@TabView] pages.
- TabOverview - A tab overview for [class@TabView ].
- TabPage - An auxiliary class used by [class@TabView ].
- TabView - A dynamic tabbed container.
- TimedAnimation - A time-based [ class@Animation].
- Toast - A helper object for [class@ToastOverlay].
- ToastOverlay - A widget showing toasts above its content.
- ToolbarView - A widget containing a page, as well as top and/or bottom bars.
- ViewStack - A view container for [ class@ViewSwitcher].
- ViewStackPage - An auxiliary class used by [ class@ViewStack].
- ViewStackPages - An auxiliary class used by [class@ViewStack].
- 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.
Enums:
- AnimationState - Describes the possible states of an [class@Animation].
- BreakpointConditionLengthType - Describes length types for [struct@BreakpointCondition].
- BreakpointConditionRatioType - Describes ratio types for [struct@BreakpointCondition].
- CenteringPolicy - Describes title centering behavior of a [class@HeaderBar] widget.
- ColorScheme - Application color schemes for [ property@StyleManager:color-scheme].
- Easing - Describes the available easing functions for use with [class@TimedAnimation].
- FlapFoldPolicy - Describes the possible folding behavior of a [class@Flap] widget.
- FlapTransitionType - Describes transitions types of a [class@Flap] widget.
- FoldThresholdPolicy - Determines when [class@Flap] and [class@Leaflet] will fold.
- LeafletTransitionType - Describes the possible transitions in a [class@Leaflet] widget.
- LengthUnit - Describes length units.
- NavigationDirection - Describes the direction of a swipe navigation gesture.
- ResponseAppearance - Describes the possible styles of [class@MessageDialog] response buttons.
- SqueezerTransitionType - Describes the possible transitions in a [class@Squeezer] widget.
- TabViewShortcuts - Describes available shortcuts in an [class@TabView].
- ToastPriority - [class@Toast] behavior when another toast is already displayed.
- ToolbarStyle - Describes the possible top or bottom bar styles in an [class@ToolbarView] widget.
- ViewSwitcherPolicy - Describes the adaptive modes of [class@ViewSwitcher].
Constants:
- public const uint DURATION_INFINITE
Indicates an [class@Animation] with an infinite duration.
- public const int MAJOR_VERSION
Adwaita major version component (e.
- public const int MICRO_VERSION
Adwaita micro version component (e.
- public const int MINOR_VERSION
Adwaita minor version component (e.
- public const string VERSION_S
Adwaita version, encoded as a string, useful for printing and concatenation.
Delegates:
- public delegate void AnimationTargetFunc (double value)
Prototype for animation targets based on user callbacks.
Functions:
- public BreakpointCondition breakpoint_condition_parse (string str)
Parses a condition from a string.
- public double easing_ease (Easing self, double value)
- public bool get_enable_animations (Widget widget)
Checks whether animations are enabled for
widget
. - public uint get_major_version ()
Returns the major version number of the Adwaita library.
- public uint get_micro_version ()
Returns the micro version number of the Adwaita library.
- public uint get_minor_version ()
Returns the minor version number of the Adwaita library.
- public void init ()
Initializes Libadwaita.
- public bool is_initialized ()
Use this function to check if libadwaita has been initialized with [ func@init].
- public double length_unit_from_px (LengthUnit unit, double value, Settings? settings)
- public double length_unit_to_px (LengthUnit unit, double value, Settings? settings)
- public double lerp (double a, double b, double t)
Computes the linear interpolation between
a
andb
fort
. - public void show_about_window (Window? parent, ...)
A convenience function for showing an application’s about window.
- public void show_about_window_from_appdata (Window? parent, string resource_path, string? release_notes_version, ...)
A convenience function for showing an application’s about window from AppStream metadata.