Declaration [src]

gtk_frame_set_label_align (
  GtkFrame* frame,
  gfloat xalign,
  gfloat yalign

Description [src]

Sets the alignment of the frame widget’s label. The default values for a newly created frame are 0.0 and 0.5.


xalign gfloat

The position of the label along the top edge of the widget. A value of 0.0 represents left alignment; 1.0 represents right alignment.

yalign gfloat

The y alignment of the label. A value of 0.0 aligns under the frame; 1.0 aligns above the frame. If the values are exactly 0.0 or 1.0 the gap in the frame won’t be painted because the label will be completely above or below the frame.