<?xml version="1.0" encoding="UTF-8"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="gcbo" xml:lang="en">
    <refnamediv>
        <refname>gcbo</refname>
        <refpurpose>Handle of the object whose callback is executing.</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>
            gcbo
        </synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Description</title>
        <para>
            <literal>gcbo</literal> is a Scilab variable automatically created
            each time a callback in executed. This variable is initialised using <link linkend="getcallbackobject">getcallbackobject</link>.
        </para>
        <para>
            <literal>gcbo</literal> does not exist in Scilab environment if no
            callback is currently executed.
        </para>
        <para>
            You can use <literal>gcbo</literal> in callback functions
            particularly if you write a single callback function for multiple objects,
            it helps you to know which object received a user action.
        </para>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="getcallbackobject">getcallbackobject</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
