Skip to main content

Type Alias: GtkStackProps

GtkStackProps = WidgetProps & object

Defined in: generated/jsx.ts:9080

Props for the GtkStack widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:9093
hhomogeneous?boolean%TRUE if the stack allocates the same width for all children.generated/jsx.ts:9082
interpolateSize?booleanWhether or not the size should smoothly change during the transition.generated/jsx.ts:9084
onNotify?(self, propName) => void | nullCalled 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:9099
page?string | nullID of the visible page in the stack.generated/jsx.ts:9092
ref?Ref<Gtk.Stack>-generated/jsx.ts:9112
transitionDuration?numberThe animation duration, in milliseconds.generated/jsx.ts:9086
transitionType?Gtk.StackTransitionTypeThe type of animation used to transition.generated/jsx.ts:9088
vhomogeneous?boolean%TRUE if the stack allocates the same height for all children.generated/jsx.ts:9090