struct Node * AllocClickTabNode(Tag, ...)
node = AllocClickTabNode(Tag, ...)
struct Node * AllocClickTabNodeA(struct TagItem *)
node = AllocClickTabNodeA(taglist)
Allocates a node that can be added to the Exec linked list of labels in the clicktab. This is the only way to allocate a node for this list, you cannot allocate nodes yourself because the ClickTab class uses a private node structure.
- taglist
-
Attributes for the node, passed onto SetClickTabNodeAttrsA().
A full list of attributes is listed in the SetClickTabNodeAttrs documentation, attributes below are only applicable when the node is first allocated.
- TNA_CloseGadget
-
This specifies that the node for this tab should have a close gadget attached. Space in the tab is reserved for it. See CLICKTAB_CloseImage, CLICKTAB_Closed and CLICKTAB_NodeClosed for further information.