AspectFrameGidBuilderImpl.ratio

T ratio(float propval)

Set ratio property.

Parameters

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

Returns

Builder instance for fluent chaining