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

  <refnamediv>
    <refname>FLsetFont</refname>
    <refpurpose>
      Sets the font type of a FLTK widget.
      <indexterm id="IndexFlsetfont"><primary>FLsetFont</primary></indexterm>
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      <emphasis>FLsetFont</emphasis> sets the font type of the target widget.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis><command>FLsetFont</command> ifont, ihandle</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ifont</emphasis> -- sets the the font type of the label of a widget.
    </para>

    <para>
      Legal values for ifont argument are:

      <itemizedlist>
        <listitem><para>1 - Helvetica (same as Arial under Windows)</para></listitem>
        <listitem><para>2 - Helvetica Bold</para></listitem>
        <listitem><para>3 - Helvetica Italic</para></listitem>
        <listitem><para>4 - Helvetica Bold Italic</para></listitem>
        <listitem><para>5 - Courier</para></listitem>
        <listitem><para>6 - Courier Bold</para></listitem>
        <listitem><para>7 - Courier Italic</para></listitem>
        <listitem><para>8 - Courier Bold Italic</para></listitem>
        <listitem><para>9 - Times</para></listitem>
        <listitem><para>10 - Times Bold</para></listitem>
        <listitem><para>11 - Times Italic</para></listitem>
        <listitem><para>12 - Times Bold Italic</para></listitem>
        <listitem><para>13 - Symbol</para></listitem>
        <listitem><para>14 - Screen</para></listitem>
        <listitem><para>15 - Screen Bold</para></listitem>
        <listitem><para>16 - Dingbats</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="flsetalign"><citetitle>FLsetAlign</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="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>
