Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void Gtk::Alignment::set ( float  xalign = 0.5,
float  yalign = 0.5,
float  xscale = 1.0,
float  yscale = 1.0 
)

Sets the Alignment values.

Parameters:
xalign The horizontal alignment of the child of this Alignment, from 0 (left) to 1 (right).
yalign The vertical alignment of the child of this Alignment, from 0 (top) to 1 (bottom).
xscale The amount that the child expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all the space allocated for the Alignment.
yscale The amount that the child widget expands vertically to fill up unused space from 0 to 1. The values are similar to xscale .

Definition at line 139 of file alignment.cc.

References gobj().

{
  gtk_alignment_set(gobj(), xalign, yalign, xscale, yscale);
}


Generated by  Doxygen 1.6.0   Back to index