src/viewer/scrollview.cpp
// Add new menuentry to menubar.
Add new menuentry to menubar.
Add new menuentry to menubar .
void ScrollView::MenuItem(const char *parent, const char *name, int cmdEvent) {
  if (parent == nullptr) {
    parent = "";
  }
  SendMsg("addMenuBarItem('%s','%s',%d)", parent, name, cmdEvent);
}
void ScrollView :: MenuItem ( const char * parent , const char * name , int cmdEvent ) { if ( parent == nullptr ) { parent = " " ; } SendMsg ( " " , parent , name , cmdEvent ) ; }
Add new menuentry to menubar.
Add new menuentry to menubar .