Skip to main content

Type Alias: GtkBoxProps

GtkBoxProps = WidgetProps & object

Defined in: generated/jsx.ts:1708

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:1714
baselinePosition?Gtk.BaselinePositionHow to position baseline-aligned widgets if extra space is available.generated/jsx.ts:1716
children?ReactNode-generated/jsx.ts:1723
homogeneous?booleanWhether the children should all be the same size.generated/jsx.ts:1718
orientation?Gtk.OrientationThe orientation of the orientable.generated/jsx.ts:1722
ref?Ref<Gtk.Box>-generated/jsx.ts:1724
spacing?numberThe amount of space between children.generated/jsx.ts:1720