<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.5 $ --> <refentry xml:id="function.swf-startbutton" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>swf_startbutton</refname> <refpurpose>Start the definition of a button</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>swf_startbutton</methodname> <methodparam><type>int</type><parameter>objid</parameter></methodparam> <methodparam><type>int</type><parameter>type</parameter></methodparam> </methodsynopsis> <para> Starts the definition of a button. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>objid</parameter></term> <listitem> <para> The object id. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>type</parameter></term> <listitem> <para> Can either be <constant>TYPE_MENUBUTTON</constant> or <constant>TYPE_PUSHBUTTON</constant>. The <constant>TYPE_MENUBUTTON</constant> constant allows the focus to travel from the button when the mouse is down, <constant>TYPE_PUSHBUTTON</constant> does not allow the focus to travel when the mouse is down. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->