NAME
SetChooserNodeAttrsA -- Set attributes of a Chooser node.
SYNOPSIS
VOID SetChooserNodeAttrs(struct Node *, Tag, ...)
SetChooserNodeAttrs(node, firsttag, ...)
VOID SetChooserNodeAttrsA(struct Node *, struct TagItem *)
SetChooserNodeAttrsA(node, taglist)
FUNCTION
Changes attributes for a Chooser node. Since the Chooser
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 Chooser gadget. You must first detach the list
with CHOOSER_Labels, ~0 before you can change attributes, and
then re-attach the list.
TAGS
CNA_Text (STRPTR)
Text string to appear as a line in the Chooser menu. This tag
must be supplied for the node.
CNA_Image (struct Image *)
Image to be placed to the left of the CNA_Text in the Chooser menu.
CNA_SelImage (struct Image *)
Selected state Image to be placed to the left of the CNA_Text in
the Chooser menu.
CNA_ReadOnly (BOOL) (V41.4)
Item will not be highlight rendered when selected.
CNA_Disabled (BOOL) (V41.5)
Item can not be selected. No GADGETUP message is generated.
CNA_Separator (BOOL) (V41.7)
Separator (~~~~) Bar Item can not be selected. Simular to the
separator bars in Intuition menus. No GADGETUP message is generated.
INPUTS
node - Node whose attributes you are changing.
taglist - Tag list of attributes to change.
SEE ALSO
GetChooserNodeAttrsA()