[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    NAME
        AllocSpeedButtonNodeA -- allocate a speedbar node. (v40)

    SYNOPSIS
        struct node * allocspeedbuttonnode(uword, tag, ...)
        node = AllocSpeedButtonNode(number, tag, ...)

        struct node * allocspeedbuttonnodea(uword, struct tagitem *)
        node = AllocSpeedButtonNodeA(number, taglist)

    FUNCTION
        Allocates a node that can be added to the Exec linked list of
        labels in the speedbar.  This is the only way to allocate a
        node for this list, you cannot allocate nodes yourself because
        the SpeedBar class uses a private node structure.

    INPUTS
        number - Places value in node->sbn_Node.ln_Pri, and is the
            numeric ID of the button within the bar. Note the current
            limitation, ln_Pri is a byte. this will be addressed, and
            *posibly* made obsolete and overridden by SBNA_ButtonID.

        taglist - Attributes for the node, passed onto
            setspeedbuttonnodeattrsa().

    RESULT
        node - A node that can be added into the Exec list of labels for
            a SpeedBar gadget.

    SEE ALSO
        freespeedbuttonnode(), setspeedbuttonnodeattrsa()