[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    NAME
        LBM_ADDNODE -- Adds a node to the attached list.

    FUNCTION
        Allocates a new node and adds it to the list currently attached to
        the listbrowser (if there is one attached).  If rendering
        information is available, then any necessary refreshing will take
        place.  You do not need to detach your list first.

        This method takes the following message structure:

          struct lbAddNode
          {
              ULONG MethodID;                 /* LBM_ADDNODE */
              struct GadgetInfo *lba_GInfo;   /* to provide rendering info */
              struct Node *lba_Node;          /* Insert() after this node */
              struct TagItem *lba_NodeAttrs;  /* AllocListBrowserNodeA()
                                                 taglist */
          };

    RESULT
        Returns a pointer to the allocated node, or NULL on failure.

    SEE ALSO
        LBM_EDITNODE, LBM_REMNODE, reaction.lib/LBAddNode