Type Alias: AdwClampScrollableProps
AdwClampScrollableProps =
WidgetProps&object
Defined in: generated/jsx.ts:2538
Props for the AdwClampScrollable widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget of the AdwClampScrollable. | generated/jsx.ts:2540 |
children? | ReactNode | - | generated/jsx.ts:2588 |
hadjustment? | Gtk.Adjustment | Horizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:2577 |
hscrollPolicy? | Gtk.ScrollablePolicy | Determines when horizontal scrolling should start. | generated/jsx.ts:2579 |
maximumSize? | number | The maximum size allocated to the child. It is the width if the clamp is horizontal, or the height if it is vertical. | generated/jsx.ts:2546 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:2594 |
orientation? | Gtk.Orientation | The orientation of the orientable. | generated/jsx.ts:2571 |
ref? | Ref<Adw.ClampScrollable> | - | generated/jsx.ts:2609 |
tighteningThreshold? | number | The size above which the child is clamped. Starting from this size, the clamp will tighten its grip on the child, slowly allocating less and less of the available size up to the maximum allocated size. Below that threshold and below the maximum width, the child will be allocated all the available size. If the threshold is greater than the maximum size to allocate to the child, the child will be allocated all the width up to the maximum. If the threshold is lower than the minimum size to allocate to the child, that size will be used as the tightening threshold. Effectively, tightening the grip on the child before it reaches its maximum size makes transitions to and from the maximum size smoother when resizing. | generated/jsx.ts:2563 |
unit? | Adw.LengthUnit | The length unit for maximum size and tightening threshold. Allows the sizes to vary depending on the text scale factor. | generated/jsx.ts:2569 |
vadjustment? | Gtk.Adjustment | Vertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:2585 |
vscrollPolicy? | Gtk.ScrollablePolicy | Determines when vertical scrolling should start. | generated/jsx.ts:2587 |