Gtk.AspectFrame:ratio
Description: Reference for property Gtk.AspectFrame:ratio

### Property

# Gtk AspectFrame:ratio

since: 4.0

#### Declaration

    property ratio: float [ read, write ]

#### Description [src]

The aspect ratio to be used by the `GtkAspectFrame`.

This property is only used if `GtkAspectFrame:obey-child` is set to `FALSE`.

Type: | `gfloat`
Available since: | 4.0

Default value | 1.000000
Getter method | `gtk_aspect_frame_get_ratio()`
Setter method | `gtk_aspect_frame_set_ratio()`

#### Flags

Readable | yes
Writable | yes
Construct | no
Construct only | no