gtkAspectFrameSet {RGtk2}R Documentation

gtkAspectFrameSet

Description

Set parameters for an existing GtkAspectFrame.

Usage

gtkAspectFrameSet(object, xalign = 0, yalign = 0, ratio = 1, obey.child = 1)

Arguments

object

a GtkAspectFrame

xalign

Horizontal alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned)

yalign

Vertical alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned)

ratio

The desired aspect ratio.

obey.child

If TRUE, ratio is ignored, and the aspect ratio is taken from the requistion of the child.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]