Property

GtkPicture:keep-aspect-ratio

deprecated: 4.8 

Declaration

property keep-aspect-ratio: gboolean [ read, write ]

Description [src]

Whether the GtkPicture will render its contents trying to preserve the aspect ratio.

Type:gboolean

Deprecated since: 4.8

Use GtkPicture:content-fit instead.

Default valueTRUE
Getter methodgtk_picture_get_keep_aspect_ratio()
Setter methodgtk_picture_set_keep_aspect_ratio()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno