Skip to main content

Type Alias: GtkAspectFrameProps

GtkAspectFrameProps = WidgetProps & object

Defined in: generated/jsx.ts:1695

Props for the GtkAspectFrame widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:1697
children?ReactNode-generated/jsx.ts:1711
obeyChild?booleanWhether the GtkAspectFrame should use the aspect ratio of its child.generated/jsx.ts:1699
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:1717
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:1706
ref?Ref<Gtk.AspectFrame>-generated/jsx.ts:1720
xalign?numberThe horizontal alignment of the child.generated/jsx.ts:1708
yalign?numberThe vertical alignment of the child.generated/jsx.ts:1710