Type Alias: GtkViewportProps
GtkViewportProps =
WidgetProps&object
Defined in: generated/jsx.ts:9103
Props for the GtkViewport widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:9105 |
children? | ReactNode | - | generated/jsx.ts:9130 |
hadjustment? | Gtk.Adjustment | Horizontal GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:9119 |
hscrollPolicy? | Gtk.ScrollablePolicy | Determines when horizontal scrolling should start. | generated/jsx.ts:9121 |
ref? | Ref<Gtk.Viewport> | - | generated/jsx.ts:9131 |
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:9113 |
vadjustment? | Gtk.Adjustment | Vertical GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent. | generated/jsx.ts:9127 |
vscrollPolicy? | Gtk.ScrollablePolicy | Determines when vertical scrolling should start. | generated/jsx.ts:9129 |