reaction-speedbar
| AllocSpeedButtonNodeA() | FreeSpeedButtonNode() | GetSpeedButtonNodeAttrsA() | SetSpeedButtonNodeAttrsA() |
| SPEEDBAR_GetClass() |
AllocSpeedButtonNodeA()
Synopsis
struct Node * AllocSpeedButtonNodeA(
UWORD number,
struct TagItem * tags );
struct Node * AllocSpeedButtonNode(
UWORD number,
TAG tag, ... );
Function
Allocates a speed button node for use in a SpeedBar gadget.
Inputs
number - Button identifier number. tags - Tag list controlling node attributes.
Result
Pointer to the allocated node, or NULL on failure.
FreeSpeedButtonNode()
Synopsis
void FreeSpeedButtonNode(
struct Node * node );
Function
Frees a speed button node allocated by AllocSpeedButtonNodeA().
Inputs
node - Node to free, or NULL (safely ignored).
GetSpeedButtonNodeAttrsA()
Synopsis
void GetSpeedButtonNodeAttrsA(
struct Node * node,
struct TagItem * tags );
void GetSpeedButtonNodeAttrs(
struct Node * node,
TAG tag, ... );
Function
Retrieves attributes from a speed button node.
Inputs
node - Node to query. tags - Tag list with ti_Data pointing to storage for each value.
SetSpeedButtonNodeAttrsA()
Synopsis
void SetSpeedButtonNodeAttrsA(
struct Node * node,
struct TagItem * tags );
void SetSpeedButtonNodeAttrs(
struct Node * node,
TAG tag, ... );
Function
Modifies attributes of a speed button node.
Inputs
node - Node to modify. tags - Tag list with new attribute values.
SPEEDBAR_GetClass()
Synopsis
Class * SPEEDBAR_GetClass();
Function
Returns a pointer to the speedbar BOOPSI class.
Result
Pointer to the class, or NULL on failure.


