[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