Type Alias: GtkViewportProps
GtkViewportProps =
WidgetProps&object
Defined in: generated/jsx.ts:11172
Props for the GtkViewport widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:11174 |
children? | ReactNode | - | generated/jsx.ts:11199 |
hadjustment? | Gtk.Adjustment | Horizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:11188 |
hscrollPolicy? | Gtk.ScrollablePolicy | Determines when horizontal scrolling should start. | generated/jsx.ts:11190 |
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:11205 |
ref? | Ref<Gtk.Viewport> | - | generated/jsx.ts:11217 |
scrollToFocus? | boolean | Whether to scroll when the focus changes. Before 4.6.2, this property was mistakenly defaulting to FALSE, so if your code needs to work with older versions, consider setting it explicitly to TRUE. | generated/jsx.ts:11182 |
vadjustment? | Gtk.Adjustment | Vertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:11196 |
vscrollPolicy? | Gtk.ScrollablePolicy | Determines when vertical scrolling should start. | generated/jsx.ts:11198 |