Skip to main content

Type Alias: GtkStackProps

GtkStackProps = WidgetProps & object

Defined in: generated/jsx.ts:7338

Props for the GtkStack widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:7353
hhomogeneous?boolean%TRUE if the stack allocates the same width for all children.generated/jsx.ts:7340
interpolateSize?booleanWhether or not the size should smoothly change during the transition.generated/jsx.ts:7342
onPageChanged?(page, self) => void | nullCalled when the visible page changes, either programmatically or via a ViewSwitcher/StackSwitcher.generated/jsx.ts:7352
page?string | nullID of the visible page in the stack.generated/jsx.ts:7350
ref?Ref<Gtk.Stack>-generated/jsx.ts:7354
transitionDuration?numberThe animation duration, in milliseconds.generated/jsx.ts:7344
transitionType?Gtk.StackTransitionTypeThe type of animation used to transition.generated/jsx.ts:7346
vhomogeneous?boolean%TRUE if the stack allocates the same height for all children.generated/jsx.ts:7348