src/viewer/svmnode.cpp
SVMenuNode *SVMenuNode::AddChild(const char *txt) {
  auto *s = new SVMenuNode(-1, txt, false, false);
  this->AddChild(s);
  return s;
}
// Create a new sub menu node with just a caption.  This is used to create
// nodes which act as parent nodes to other nodes (e.g. submenus).
Create a new sub menu node with just a caption.  This is used to create
nodes which act as parent nodes to other nodes .
Create a new sub menu node with just a caption . This is used to create nodes which act as parent nodes to other nodes .
SVMenuNode *SVMenuNode::AddChild(const char *txt) {
  auto *s = new SVMenuNode(-1, txt, false, false);
  this->AddChild(s);
  return s;
}
SVMenuNode * SVMenuNode :: AddChild ( const char * txt ) { auto * s = new SVMenuNode ( -1 , txt , false , false ) ; this -> AddChild ( s ) ; return s ; }
Create a new sub menu node with just a caption.
Create a new sub menu node with just a caption .