1
2@c %start of fragment
3
4@node GtkAspectFrame
5@chapter GtkAspectFrame
6A frame that constrains its child to a particular aspect ratio
7
8@section Overview
9The @code{<gtk-aspect-frame>} is useful when you want pack a widget so that it
10can resize but always retains the same aspect ratio. For instance, one might be
11drawing a small preview of a larger image. @code{<gtk-aspect-frame>} derives
12from @code{<gtk-frame>}, so it can draw a label and a frame around the child.
13The frame will be "shrink-wrapped" to the size of the child.
14
15@section Usage
16@include defuns-gtkaspectframe.xml.texi
17
18@c %end of fragment
19