Method

Gtk.AspectFrame.set_ratio

Declaration [src]

void
gtk_aspect_frame_set_ratio (
  GtkAspectFrame* self,
  float ratio
)

Description [src]

Sets the desired aspect ratio of the child.

Sets propertyGtk.AspectFrame:ratio

Parameters

ratio float
 

aspect ratio of the child