ScrolledWindow

@Composable
fun ScrolledWindow(modifier: Modifier = Modifier, horizontalScrollbarPolicy: PolicyType = PolicyType.AUTOMATIC, verticalScrollbarPolicy: PolicyType = PolicyType.AUTOMATIC, kineticScrolling: Boolean = true, minContentHeight: Int? = null, maxContentHeight: Int? = null, minContentWidth: Int? = null, maxContentWidth: Int? = null, overlayScrolling: Boolean = true, placement: CornerType = CornerType.TOP_LEFT, propagateNaturalHeight: Boolean = false, propagateNaturalWidth: Boolean = false, content: @Composable () -> Unit)

Creates a org.gnome.gtk.ScrolledWindow that makes its child scrollable.

Parameters

modifier

Compose Modifier for layout and styling.

horizontalScrollbarPolicy

Determines when the horizontal scrollbar should appear.

verticalScrollbarPolicy

Determines when the vertical scrollbar should appear.

kineticScrolling

Whether the scroll window has kinetic scrolling.

minContentHeight

The minimum height of the content.

maxContentHeight

The maximum height of the content.

minContentWidth

The minimum width of the content.

maxContentWidth

The maximum width of the content.

overlayScrolling

Whether the scroll window has overlay scrolling.

placement

the placement of the contents with respect to the scrollbars.

propagateNaturalHeight

Whether the natural height of the child should be calculated and propagated through the scrolled window’s requested natural height.

propagateNaturalWidth

Whether the natural width of the child should be calculated and propagated through the scrolled window’s requested natural width.

content

The composable content to display.