ClampScrollable

class ClampScrollable(pointer: <Error class: unknown class><<Error class: unknown class>>)

A scrollable class@Clamp.

AdwClampScrollable is a variant of class@Clamp that implements the iface@Gtk.Scrollable interface.

The primary use case for AdwClampScrollable is clamping class@Gtk.ListView.

See also: class@ClampLayout.

Constructors

Link copied to clipboard
constructor()

Creates a new AdwClampScrollable.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adwClampScrollablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var child: <Error class: unknown class>?

The child widget of the AdwClampScrollable.

Link copied to clipboard
open val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkOrientablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkScrollablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard

The maximum size allocated to the child.

Link copied to clipboard

The size above which the child is clamped.

Link copied to clipboard

The length unit for maximum size and tightening threshold.

Functions

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

Gets the child widget of @self.

Link copied to clipboard

Gets the maximum size allocated to the child.

Link copied to clipboard

Gets the size above which the child is clamped.

Link copied to clipboard

Gets the length unit for maximum size and tightening threshold.

Link copied to clipboard
fun setChild(child: <Error class: unknown class>? = null)

Sets the child widget of @self.

Link copied to clipboard
fun setMaximumSize(maximumSize: Int)

Sets the maximum size allocated to the child.

Link copied to clipboard
fun setTighteningThreshold(tighteningThreshold: Int)

Sets the size above which the child is clamped.

Link copied to clipboard
fun setUnit(unit: LengthUnit)

Sets the length unit for maximum size and tightening threshold.