AspectFrame.ratio

Get ratio property.

  1. float ratio [@property getter]
    class AspectFrame
    @property
    float
    ratio
    ()
  2. float ratio [@property setter]

Return Value

Type: float

The aspect ratio to be used by the gtk.aspect_frame.AspectFrame.

This property is only used if property@Gtk.AspectFrame:obey-child is set to false.