gtkAspectFrameNew {RGtk2}R Documentation

gtkAspectFrameNew

Description

Create a new GtkAspectFrame.

Usage

gtkAspectFrameNew(label = NULL, xalign = NULL, yalign = NULL, ratio = NULL, obey.child = NULL, show = TRUE)

Arguments

label [character] Label text.
xalign [numeric] Horizontal alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned)
yalign [numeric] Vertical alignment of the child within the allocation of the GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned)
ratio [numeric] The desired aspect ratio.
obey.child [logical] If TRUE, ratio is ignored, and the aspect ratio is taken from the requistion of the child.

Value

[GtkWidget] the new GtkAspectFrame.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]