Type Alias: GtkAspectFrameProps
GtkAspectFrameProps =
WidgetProps&object
Defined in: generated/jsx.ts:1695
Props for the GtkAspectFrame widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:1697 |
children? | ReactNode | - | generated/jsx.ts:1711 |
obeyChild? | boolean | Whether the GtkAspectFrame should use the aspect ratio of its child. | generated/jsx.ts:1699 |
onNotify? | (self, propName) => void | null | Called 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? | number | The 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? | number | The horizontal alignment of the child. | generated/jsx.ts:1708 |
yalign? | number | The vertical alignment of the child. | generated/jsx.ts:1710 |