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


    NAME
        SetClickTabNodeAttrsA -- Set attributes of a ClickTab node.

    SYNOPSIS
        VOID SetClickTabNodeAttrs(struct node *, tag, ...)
        SetClickTabNodeAttrs(node, firsttag, ...)

        VOID SetClickTabNodeAttrsA(struct node *, struct tagitem *)
        SetClickTabNodeAttrsA(node, taglist)

    FUNCTION
        Changes attributes for a ClickTab node.  since the clicktab
        class uses a private node structure, this is the only way to change
        node attributes.

        You may NOT change node attributes when the node is in a list
        attached to a ClickTab gadget.  You must first detach the list
        with CLICKTAB_Labels, ~0 before you can change attributes, and
        then re-attach the list, and re-render the gadget to reflect
        any changes. This should include re-domaining the gadget.
        If used in a layout group, turn off domain caching for the
        clicktab object if you intend to dynamically alter the tabs
        and refresh the layout group with rethinklayout().

    TAGS
        TNA_Text (STRPTR)

            text string to appear as a line in the clicktab menu node.

        TNA_Number (WORD)

            ID Number assigned to a ClickTab menu node

        TNA_TextPen (WORD)

            Specifies pen number to use for the label.

            Defaults to pens[TEXTPEN].

    INPUTS
        node - node whose attributes you are changing.
        taglist - tag list of attributes to change.

    SEE ALSO
        getclicktabnodeattrsa()