Skip to main content

Type Alias: GtkAspectFrameProps

GtkAspectFrameProps = WidgetProps & object

Defined in: generated/jsx.ts:1468

Props for the GtkAspectFrame widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:1470
children?ReactNode-generated/jsx.ts:1484
obeyChild?booleanWhether the GtkAspectFrame should use the aspect ratio of its child.generated/jsx.ts:1472
ratio?numberThe aspect ratio to be used by the GtkAspectFrame. This property is only used if AspectFrame.obey-child is set to %FALSE.generated/jsx.ts:1479
ref?Ref<Gtk.AspectFrame>-generated/jsx.ts:1485
xalign?numberThe horizontal alignment of the child.generated/jsx.ts:1481
yalign?numberThe vertical alignment of the child.generated/jsx.ts:1483