PictureGidBuilderImpl.keepAspectRatio
T keepAspectRatio(bool propval)Set keepAspectRatio property.
Parameters
propval | Whether the GtkPicture will render its contents trying to preserve the aspect ratio. |
Returns
Builder instance for fluent chaining
Deprecated
Use
property@Gtk.Picture:content-fit instead.