<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="flsetalign">
  <refmeta>
    <refentrytitle>FLsetAlign</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>FLsetAlign</refname>
    <refpurpose>
      Sets the text alignment of a label of a FLTK widget.
      <indexterm id="IndexFlsetalign"><primary>FLsetAlign</primary></indexterm>
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      <emphasis>FLsetAlign</emphasis> sets the text alignment of the label of the target widget.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis><command>FLsetAlign</command> ialign, ihandle</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ialign</emphasis> -- sets the alignment of the label text of widgets.
    </para>

    <para>
      The legal values for the <emphasis>ialign</emphasis> argument are:

      <itemizedlist>
        <listitem><para>1 - align center</para></listitem>
        <listitem><para>2 - align top</para></listitem>
        <listitem><para>3 - align bottom</para></listitem>
        <listitem><para>4 - align left</para></listitem>
        <listitem><para>5 - align right</para></listitem>
        <listitem><para>6 - align top-left</para></listitem>
        <listitem><para>7 - align top-right</para></listitem>
        <listitem><para>8 - align bottom-left</para></listitem>
        <listitem><para>9 - align bottom-right</para></listitem>
      </itemizedlist>
    </para>

    <para>
      <emphasis>ihandle</emphasis> -- 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 <emphasis>ihandle</emphasis> value directly, otherwise a Csound crash will occur.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="flcolor"><citetitle>FLcolor</citetitle></link>, 
      <link linkend="flcolor2"><citetitle>FLcolor2</citetitle></link>, 
      <link linkend="flhide"><citetitle>FLhide</citetitle></link>, 
      <link linkend="fllabel"><citetitle>FLlabel</citetitle></link>, 
      <link linkend="flsetbox"><citetitle>FLsetBox</citetitle></link>, 
      <link linkend="flsetcolor"><citetitle>FLsetColor</citetitle></link>, 
      <link linkend="flsetcolor2"><citetitle>FLsetColor2</citetitle></link>, 
      <link linkend="flsetfont"><citetitle>FLsetFont</citetitle></link>, 
      <link linkend="flsetposition"><citetitle>FLsetPosition</citetitle></link>, 
      <link linkend="flsetsize"><citetitle>FLsetSize</citetitle></link>, 
      <link linkend="flsettext"><citetitle>FLsetText</citetitle></link>, 
      <link linkend="flsettextcolor"><citetitle>FLsetTextColor</citetitle></link>, 
      <link linkend="flsettextsize"><citetitle>FLsetTextSize</citetitle></link>, 
      <link linkend="flsettexttype"><citetitle>FLsetTextType</citetitle></link>, 
      <link linkend="flsetvali"><citetitle>FLsetVal_i</citetitle></link>, 
      <link linkend="flsetval"><citetitle>FLsetVal</citetitle></link>, 
      <link linkend="flshow"><citetitle>FLshow</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>Author: &namegabriel;</para>
    <para>New in version 4.22</para>
  </refsect1>
</refentry>
