<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="button">
  <refmeta>
    <refentrytitle>button</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>button</refname>
 
    <refpurpose>
      Sense on-screen controls.
      <indexterm id="IndexButton"><primary>button</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Sense on-screen controls. Requires Winsound or TCL/TK.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>kr <command>button</command> knum</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kr</emphasis> -- value of the button control. If the button has been pushed since the last k-period, then return 1, otherwise return 0. 
    </para>

    <para>
      <emphasis>knum</emphasis> -- the number of the button. If it does not exist, it is made on-screen at initialization.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
      <para>
        <link linkend="checkbox"><citetitle>checkbox</citetitle></link>
      </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namejohn;</member>
        <member>University of Bath, Codemist. Ltd.</member>
        <member>Bath, UK</member>
        <member>September 2000</member>
      </simplelist>
    </para>

    <para>New in Csound version 4.08</para>
 </refsect1>
</refentry>
