FLsetAlign
Prev | Orchestra Opcodes and Operators | Next

## FLsetAlign

FLsetAlign — Sets the text alignment of a label of a FLTK widget.

## Description

FLsetAlign sets the text alignment of the label of the target widget.

## Syntax

    FLsetAlign ialign, ihandle

## Initialization

ialign -- sets the alignment of the label text of widgets.

The legal values for the ialign argument are:

- 1 - align center

- 2 - align top

- 3 - align bottom

- 4 - align left

- 5 - align right

- 6 - align top-left

- 7 - align top-right

- 8 - align bottom-left

- 9 - align bottom-right

ihandle -- an integer number (used as unique identifier) taken from the output of a previously located widget opcode (which corresponds to the target widget). It is used to unequivocally identify the widget when modifying its appearance with this class of opcodes. The user must not set the ihandle value directly, otherwise a Csound crash will occur.

## See Also

FLcolor, FLcolor2, FLhide, FLlabel, FLsetBox, FLsetColor, FLsetColor2, FLsetFont, FLsetPosition, FLsetSize, FLsetText, FLsetTextColor, FLsetTextSize, FLsetTextType, FLsetVal_i, FLsetVal, FLshow

## Credits

Author: Gabriel Maldonado

New in version 4.22

Prev | Up | Next
FLscroll_end | Home | FLsetBox