Skip to main content

Type Alias: GtkBoxProps

GtkBoxProps = WidgetProps & object

Defined in: generated/jsx.ts:2003

Props for the GtkBox widget.

Type Declaration

NameTypeDescriptionDefined in
baselineChild?numberThe position of the child that determines the baseline. This is only relevant if the box is in vertical orientation.generated/jsx.ts:2009
baselinePosition?Gtk.BaselinePositionHow to position baseline-aligned widgets if extra space is available.generated/jsx.ts:2011
children?ReactNode-generated/jsx.ts:2018
homogeneous?booleanWhether the children should all be the same size.generated/jsx.ts:2013
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:2024
orientation?Gtk.OrientationThe orientation of the orientable.generated/jsx.ts:2017
ref?Ref<Gtk.Box>-generated/jsx.ts:2030
spacing?numberThe amount of space between children.generated/jsx.ts:2015