Function TreeItem.newChild

create and add new child item

TreeItem newChild(
  string id,
  dstring label,
  string iconRes = null
);