Adw

object Adw

Skipped during bindings generation

  • record AboutDialogClass: glib type struct are ignored

  • record AboutWindowClass: glib type struct are ignored

  • record ActionRowClass: glib type struct are ignored

  • record AlertDialogClass: glib type struct are ignored

  • record AnimationClass: glib type struct are ignored

  • record AnimationTargetClass: glib type struct are ignored

  • record ApplicationClass: glib type struct are ignored

  • record ApplicationWindowClass: glib type struct are ignored

  • record AvatarClass: glib type struct are ignored

  • record BannerClass: glib type struct are ignored

  • record BinClass: glib type struct are ignored

  • record BottomSheetClass: glib type struct are ignored

  • record BreakpointBinClass: glib type struct are ignored

  • record BreakpointClass: glib type struct are ignored

  • record ButtonContentClass: glib type struct are ignored

  • record ButtonRowClass: glib type struct are ignored

  • record CallbackAnimationTargetClass: glib type struct are ignored

  • record CarouselClass: glib type struct are ignored

  • record CarouselIndicatorDotsClass: glib type struct are ignored

  • record CarouselIndicatorLinesClass: glib type struct are ignored

  • record ClampClass: glib type struct are ignored

  • record ClampLayoutClass: glib type struct are ignored

  • record ClampScrollableClass: glib type struct are ignored

  • record ComboRowClass: glib type struct are ignored

  • record DialogClass: glib type struct are ignored

  • record EntryRowClass: glib type struct are ignored

  • record EnumListItemClass: glib type struct are ignored

  • record EnumListModelClass: glib type struct are ignored

  • record ExpanderRowClass: glib type struct are ignored

  • record FlapClass: glib type struct are ignored

  • record HeaderBarClass: glib type struct are ignored

  • record LayoutClass: glib type struct are ignored

  • record LayoutSlotClass: glib type struct are ignored

  • record LeafletClass: glib type struct are ignored

  • record LeafletPageClass: glib type struct are ignored

  • record MessageDialogClass: glib type struct are ignored

  • record MultiLayoutViewClass: glib type struct are ignored

  • record NavigationPageClass: glib type struct are ignored

  • record NavigationSplitViewClass: glib type struct are ignored

  • record NavigationViewClass: glib type struct are ignored

  • record OverlaySplitViewClass: glib type struct are ignored

  • record PasswordEntryRowClass: glib type struct are ignored

  • record PreferencesDialogClass: glib type struct are ignored

  • record PreferencesGroupClass: glib type struct are ignored

  • record PreferencesPageClass: glib type struct are ignored

  • record PreferencesRowClass: glib type struct are ignored

  • record PreferencesWindowClass: glib type struct are ignored

  • record PropertyAnimationTargetClass: glib type struct are ignored

  • record SpinRowClass: glib type struct are ignored

  • record SpinnerClass: glib type struct are ignored

  • record SpinnerPaintableClass: glib type struct are ignored

  • record SplitButtonClass: glib type struct are ignored

  • record SpringAnimationClass: glib type struct are ignored

  • record SqueezerClass: glib type struct are ignored

  • record SqueezerPageClass: glib type struct are ignored

  • record StatusPageClass: glib type struct are ignored

  • record StyleManagerClass: glib type struct are ignored

  • record SwipeTrackerClass: glib type struct are ignored

  • record SwipeableInterface: glib type struct are ignored

  • record SwitchRowClass: glib type struct are ignored

  • record TabBarClass: glib type struct are ignored

  • record TabButtonClass: glib type struct are ignored

  • record TabOverviewClass: glib type struct are ignored

  • record TabPageClass: glib type struct are ignored

  • record TabViewClass: glib type struct are ignored

  • record TimedAnimationClass: glib type struct are ignored

  • record ToastClass: glib type struct are ignored

  • record ToastOverlayClass: glib type struct are ignored

  • record ToolbarViewClass: glib type struct are ignored

  • record ViewStackClass: glib type struct are ignored

  • record ViewStackPageClass: glib type struct are ignored

  • record ViewStackPagesClass: glib type struct are ignored

  • record ViewSwitcherBarClass: glib type struct are ignored

  • record ViewSwitcherClass: glib type struct are ignored

  • record ViewSwitcherTitleClass: glib type struct are ignored

  • record WindowClass: glib type struct are ignored

  • record WindowTitleClass: glib type struct are ignored

Properties

Link copied to clipboard
const val DURATION_INFINITE: <Error class: unknown class>

Indicates an class@Animation with an infinite duration.

Link copied to clipboard
const val MAJOR_VERSION: Int = 1

Adwaita major version component (e.g. 1 if the version is 1.2.3).

Link copied to clipboard
const val MICRO_VERSION: Int = 1

Adwaita micro version component (e.g. 3 if the version is 1.2.3).

Link copied to clipboard
const val MINOR_VERSION: Int = 6

Adwaita minor version component (e.g. 2 if the version is 1.2.3).

Link copied to clipboard
const val VERSION_S: String

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

Functions

Link copied to clipboard
fun accentColorToRgba(self: AccentColor, rgba: <Error class: unknown class>)

Converts @self to a GdkRGBA representing its background color.

Link copied to clipboard
fun accentColorToStandaloneRgba(self: AccentColor, dark: Boolean, rgba: <Error class: unknown class>)

Converts @self to a GdkRGBA representing its standalone color.

Link copied to clipboard

Parses a condition from a string.

Link copied to clipboard
fun easingEase(self: Easing, value: Double): Double

Computes easing with @easing for @value.

Link copied to clipboard
fun getEnableAnimations(widget: <Error class: unknown class>): Boolean

Checks whether animations are enabled for @widget.

Link copied to clipboard
fun getMajorVersion(): <Error class: unknown class>

Returns the major version number of the Adwaita library.

Link copied to clipboard
fun getMicroVersion(): <Error class: unknown class>

Returns the micro version number of the Adwaita library.

Link copied to clipboard
fun getMinorVersion(): <Error class: unknown class>

Returns the minor version number of the Adwaita library.

Link copied to clipboard
fun init()

Initializes Libadwaita.

Link copied to clipboard

Use this function to check if libadwaita has been initialized with func@init.

Link copied to clipboard
fun lengthUnitFromPx(unit: LengthUnit, value: Double, settings: <Error class: unknown class>? = null): Double

Converts @value from pixels to @unit.

Link copied to clipboard
fun lengthUnitToPx(unit: LengthUnit, value: Double, settings: <Error class: unknown class>? = null): Double

Converts @value from @unit to pixels.

Link copied to clipboard
fun lerp(a: Double, b: Double, t: Double): Double

Computes the linear interpolation between @a and @b for @t.

Link copied to clipboard
fun resolveException(error: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
fun rgbaToStandalone(rgba: <Error class: unknown class>, dark: Boolean, standaloneRgba: <Error class: unknown class>)

Adjusts @rgba to be suitable as a standalone color.