Method

Gtk AspectFrameset

Declaration [src]

void
gtk_aspect_frame_set(
GtkAspectFrame*aspect_frame,
gfloatxalign,
gfloatyalign,
gfloatratio,
gbooleanobey_child
)

Description [src]

Set parameters for an existing GtkAspectFrame.

Parameters

xalign

Type: gfloat

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

yalign

Type: gfloat

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

ratio

Type: gfloat

The desired aspect ratio.

obey_child

Type: gboolean

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

AltStyle によって変換されたページ (->オリジナル) /