adw.clamp_scrollable

Module for [ClampScrollable] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
ClampScrollable self() nothrowReturns `this`, for use in `with` statements.
ClampScrollableGidBuilder builder() static nothrowGet builder for [adw.clamp_scrollable.ClampScrollable] Returns: New builder object
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child widget of the [adw.clamp_scrollable.ClampScrollable].
void child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = The child widget of the [adw.clamp_scrollable.ClampScrollable].
int maximumSize() @property nothrowGet `maximumSize` property. Returns: The maximum size allocated to the child.
void maximumSize(int propval) @property nothrowSet `maximumSize` property. Params: propval = The maximum size allocated to the child.
int tighteningThreshold() @property nothrowGet `tighteningThreshold` property. Returns: The size above which the child is clamped.
void tighteningThreshold(int propval) @property nothrowSet `tighteningThreshold` property. Params: propval = The size above which the child is clamped.
adw.types.LengthUnit unit() @property nothrowGet `unit` property. Returns: The length unit for maximum size and tightening threshold.
void unit(adw.types.LengthUnit propval) @property nothrowSet `unit` property. Params: propval = The length unit for maximum size and tightening threshold.
gtk.widget.Widget getChild() nothrowGets the child widget of self. Returns: the child widget of self
int getMaximumSize() nothrowGets the maximum size allocated to the child. Returns: the maximum size to allocate to the child
int getTighteningThreshold() nothrowGets the size above which the child is clamped. Returns: the size above which the child is clamped
adw.types.LengthUnit getUnit() nothrowGets the length unit for maximum size and tightening threshold. Returns: the length unit
void setChild(gtk.widget.Widget child = null) nothrowSets the child widget of self.
void setMaximumSize(int maximumSize) nothrowSets the maximum size allocated to the child.
void setTighteningThreshold(int tighteningThreshold) nothrowSets the size above which the child is clamped.
void setUnit(adw.types.LengthUnit unit) nothrowSets the length unit for maximum size and tightening threshold.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [adw.clamp_scrollable.ClampScrollable]. Returns: the newly created [adw.clamp_scrollable.ClampScrollable]

Fluent builder implementation template for adw.clamp_scrollable.ClampScrollable

Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child widget of the [adw.clamp_scrollable.ClampScrollable]. Returns: Builder instance for fluent chaining
T maximumSize(int propval) nothrowSet `maximumSize` property. Params: propval = The maximum size allocated to the child.
T tighteningThreshold(int propval) nothrowSet `tighteningThreshold` property. Params: propval = The size above which the child is clamped.
T unit(adw.types.LengthUnit propval) nothrowSet `unit` property. Params: propval = The length unit for maximum size and tightening threshold.
Methods
ClampScrollable build() nothrowCreate object from builder. Returns: New object