adw.clamp_scrollable
Module for [ClampScrollable] class
Types 3
A scrollable class@Clamp.
[adw.clamp_scrollable.ClampScrollable] is a variant of class@Clamp that implements the [gtk.scrollable.Scrollable] interface.
The primary use case for [adw.clamp_scrollable.ClampScrollable] is clamping [gtk.list_view.ListView].
See also: class@ClampLayout.
Methods
ClampScrollable self()Returns `this`, for use in `with` statements.ClampScrollableGidBuilder builder()Get builder for [adw.clamp_scrollable.ClampScrollable] Returns: New builder objectgtk.widget.Widget child() @propertyGet `child` property. Returns: The child widget of the [adw.clamp_scrollable.ClampScrollable].void child(gtk.widget.Widget propval) @propertySet `child` property. Params: propval = The child widget of the [adw.clamp_scrollable.ClampScrollable].int maximumSize() @propertyGet `maximumSize` property. Returns: The maximum size allocated to the child.void maximumSize(int propval) @propertySet `maximumSize` property. Params: propval = The maximum size allocated to the child.int tighteningThreshold() @propertyGet `tighteningThreshold` property. Returns: The size above which the child is clamped.void tighteningThreshold(int propval) @propertySet `tighteningThreshold` property. Params: propval = The size above which the child is clamped.adw.types.LengthUnit unit() @propertyGet `unit` property. Returns: The length unit for maximum size and tightening threshold.void unit(adw.types.LengthUnit propval) @propertySet `unit` property. Params: propval = The length unit for maximum size and tightening threshold.gtk.widget.Widget getChild()Gets the child widget of self. Returns: the child widget of selfint getMaximumSize()Gets the maximum size allocated to the child. Returns: the maximum size to allocate to the childint getTighteningThreshold()Gets the size above which the child is clamped. Returns: the size above which the child is clampedadw.types.LengthUnit getUnit()Gets the length unit for maximum size and tightening threshold. Returns: the length unitvoid setChild(gtk.widget.Widget child = null)Sets the child widget of self.void setMaximumSize(int maximumSize)Sets the maximum size allocated to the child.void setTighteningThreshold(int tighteningThreshold)Sets the size above which the child is clamped.void setUnit(adw.types.LengthUnit unit)Sets the length unit for maximum size and tightening threshold.classClampScrollableGidBuilderImpl(T) : gtk.widget.WidgetGidBuilderImpl!T, gtk.orientable.OrientableGidBuilderImpl!T, gtk.scrollable.ScrollableGidBuilderImpl!T
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child widget of the [adw.clamp_scrollable.ClampScrollable]. Returns: Builder instance for fluent chainingT maximumSize(int propval)Set `maximumSize` property. Params: propval = The maximum size allocated to the child.T tighteningThreshold(int propval)Set `tighteningThreshold` property. Params: propval = The size above which the child is clamped.T unit(adw.types.LengthUnit propval)Set `unit` property. Params: propval = The length unit for maximum size and tightening threshold.Fluent builder for [adw.clamp_scrollable.ClampScrollable]
Methods