AspectFrame.setObeyChild

void setObeyChild(bool obeyChild)

Sets whether the aspect ratio of the child's size request should override the set aspect ratio of the [gtk.aspect_frame.AspectFrame].

Parameters

obeyChildIf true, ratio is ignored, and the aspect ratio is taken from the requisition of the child.