Type Alias: GtkAspectFrameProps
GtkAspectFrameProps =
WidgetProps&object
Defined in: generated/jsx.ts:1468
Props for the GtkAspectFrame widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:1470 |
children? | ReactNode | - | generated/jsx.ts:1484 |
obeyChild? | boolean | Whether the GtkAspectFrame should use the aspect ratio of its child. | generated/jsx.ts:1472 |
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:1479 |
ref? | Ref<Gtk.AspectFrame> | - | generated/jsx.ts:1485 |
xalign? | number | The horizontal alignment of the child. | generated/jsx.ts:1481 |
yalign? | number | The vertical alignment of the child. | generated/jsx.ts:1483 |