gtkAspectFrameNew(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE)
gtkAspectFrameSet(object, xalign = 0, yalign = 0, ratio = 1, obey.child = 1)
gtkAspectFrame(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkFrame +----GtkAspectFrame
GtkBuildable
.GtkAspectFrame
is useful when you want
pack a widget so that it can resize but always retains
the same aspect ratio. For instance, one might be
drawing a small preview of a larger image. GtkAspectFrame
derives from GtkFrame
, so it can draw a label and
a frame around the child. The frame will be
"shrink-wrapped" to the size of the child.gtkAspectFrame
is the equivalent of gtkAspectFrameNew
.obey-child
[logical : Read / Write]ratio
[numeric : Read / Write]xalign
[numeric : Read / Write]yalign
[numeric : Read / Write]