# Class GBin.aspect_frame

    class aspect_frame : Gtk.aspect_frame Gtk.obj -> object .. end

A frame that constrains its child to a particular aspect ratio
Inherits

- `GBin.frame`

    val obj : Gtk.aspect_frame Gtk.obj

    method set_obey_child : bool -> unit

    method set_ratio : float -> unit

    method set_xalign : float -> unit

    method set_yalign : float -> unit

    method obey_child : bool

    method ratio : float

    method xalign : float

    method yalign : float