This property is only used if property@Gtk.AspectFrame:obey-child is set to false.
AspectFrame.ratio
float ratio() @propertyGet ratio property.
Returns
The aspect ratio to be used by the [gtk.aspect_frame.AspectFrame].
void ratio(float propval) @propertySet ratio property.
Parameters
propval | 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. |