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_HelpText (STRPTR)
Text string to use as helptext when tab is hovered. It is copied to a local cache and forgotten. Under v47, this will take precedence over the gadget's Help Text.
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].
TNA_UserData (ULONG)
Free for your own use.
TNA_Image (struct Image *)
The image to be used as the tab's unselected content.
TNA_SelImage (struct Image *)
The image to be used as the tab's selected content, if an alternate selection image is wanted.
TNA_Disabled (BOOL)
If TRUE, the tab node is disabled.
Defaults to FALSE.
TNA_CloseGadget (BOOL)
If TRUE, a close gadget will be attached to the tab node. Under v47+, this also means that your clicktab gadget will receive CLICKTAB_NodeClosed notifications when a tab's close gadget is selected.