Variable: GtkAspectFrame
constGtkAspectFrame:"GtkAspectFrame"
Defined in: generated/jsx.ts:13556
Preserves the aspect ratio of its child.
The frame can respect the aspect ratio of the child widget, or use its own aspect ratio.
CSS nodes
GtkAspectFrame uses a CSS node with name aspectframe.
Accessibility
Until GTK 4.10, GtkAspectFrame used the Gtk.AccessibleRole.group role.
Starting from GTK 4.12, GtkAspectFrame uses the Gtk.AccessibleRole.generic role.