top logo menu kitty mascot
AROS.ORG Developers Localization Bounties

reaction-clicktab

Index


AllocClickTabNodeA() CLICKTAB_GetClass() FreeClickTabNode() GetClickTabNodeAttrsA()
SetClickTabNodeAttrsA()      

AllocClickTabNodeA()

Synopsis

struct Node * AllocClickTabNodeA(
         struct TagItem * tags );

struct Node * AllocClickTabNode(
         TAG tag, ... );

Function

Allocates and initializes a ClickTabNode for use with
the clicktab.gadget label list.

Inputs

tags - TagItem array with TNA_* attributes.

Result

Pointer to the allocated node, or NULL on failure.

CLICKTAB_GetClass()

Synopsis

Class * CLICKTAB_GetClass();

Function

Returns a pointer to the clicktab BOOPSI class.

Result

Pointer to the class, or NULL on failure.

FreeClickTabNode()

Synopsis

void FreeClickTabNode(
         struct Node * node );

Function

Frees a ClickTabNode previously allocated with AllocClickTabNodeA.

Inputs

node - The node to free.

GetClickTabNodeAttrsA()

Synopsis

void GetClickTabNodeAttrsA(
         struct Node * node,
         struct TagItem * tags );

void GetClickTabNodeAttrs(
         struct Node * node,
         TAG tag, ... );

Function

Gets attributes from a ClickTabNode. Each tag's ti_Data is
a pointer to an IPTR that receives the attribute value.

Inputs

node - The ClickTabNode to query.
tags - TagItem array with TNA_* attribute IDs. ti_Data
       points to storage for the returned value.

SetClickTabNodeAttrsA()

Synopsis

void SetClickTabNodeAttrsA(
         struct Node * node,
         struct TagItem * tags );

void SetClickTabNodeAttrs(
         struct Node * node,
         TAG tag, ... );

Function

Sets attributes on an existing ClickTabNode.

Inputs

node - The ClickTabNode to modify.
tags - TagItem array with TNA_* attributes.