Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
radiobutton.gadget
NAME
AllocRadioButtonNodeA
Allocate a RadioButton node. (V40)
SYNOPSIS
struct Node
* AllocRadioButtonNode(UWORD pri, Tag, ...)
node = AllocRadioButtonNode(pri, Tag, ...)
struct Node
* AllocRadioButtonNodeA(UWORD pri,
struct TagItem
*)
node = AllocRadioButtonNodeA(pri, taglist)
FUNCTION
Allocates a node that can be added to the Exec linked list of labels in the radiobutton. This is the only way to allocate a node for this list, you cannot allocate nodes yourself because the RadioButton class uses a private node structure.
INPUTS
pri
the priority of the node (node->ln_Pri).
taglist
Attributes for the node, passed onto
SetRadioButtonNodeAttrsA()
.
RESULT
node
A node that can be added into the Exec list of labels for a RadioButton gadget.
SEE ALSO
FreeRadioButtonNode()
,
SetRadioButtonNodeAttrsA()