AspectFrame.ratio

Set ratio property.

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

Parameters

propval 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.