Gtk.AspectFrame.get_ratio – gtk4 Reference Manual
Packages
gtk4
Gtk
AspectFrame
child
obey_child
ratio
xalign
yalign
AspectFrame
get_child
get_obey_child
get_ratio
get_xalign
get_yalign
set_child
set_obey_child
set_ratio
set_xalign
set_yalign
get_ratio
Description:
public
float
get_ratio
()
Returns the desired aspect ratio of the child.
Parameters:
this
a `GtkAspectFrame`
Returns:
the desired aspect ratio