src/ccmain/pgedit.cpp
void PGEventHandler::Notify(const SVEvent *event) {
  char myval = '0';
  if (event->type == SVET_POPUP) {
    pe->Notify(event);
  } // These are handled by ParamsEditor
  else if (event->type == SVET_EXIT) {
    stillRunning = false;
  } else if (event->type == SVET_MENU) {
    if (strcmp(event->parameter, "true") == 0) {
      myval = 'T';
    } else if (strcmp(event->parameter, "false") == 0) {
      myval = 'F';
    }
    tess_->process_cmd_win_event(event->command_id, &myval);
  } else {
    tess_->process_image_event(*event);
  }
}
/**
 *  notify()
 *
 *  Event handler that processes incoming events, either forwarding
 *  them to process_cmd_win_event or process_image_event.
 *
 */
notify()
Event handler that processes incoming events, either forwarding
them to process_cmd_win_event or process_image_event.
notify () Event handler that processes incoming events either forwarding them to process_cmd_win_event or process_image_event .
void PGEventHandler::Notify(const SVEvent *event) {
  char myval = '0';
  if (event->type == SVET_POPUP) {
    pe->Notify(event);
  } 
  else if (event->type == SVET_EXIT) {
    stillRunning = false;
  } else if (event->type == SVET_MENU) {
    if (strcmp(event->parameter, "true") == 0) {
      myval = 'T';
    } else if (strcmp(event->parameter, "false") == 0) {
      myval = 'F';
    }
    tess_->process_cmd_win_event(event->command_id, &myval);
  } else {
    tess_->process_image_event(*event);
  }
}
void PGEventHandler :: Notify ( const SVEvent * event ) { char myval = ' ' ; if ( event -> type == SVET_POPUP ) { pe -> Notify ( event ) ; } else if ( event -> type == SVET_EXIT ) { stillRunning = false ; } else if ( event -> type == SVET_MENU ) { if ( strcmp ( event -> parameter , " " ) == 0 ) { myval = ' ' ; } else if ( strcmp ( event -> parameter , " " ) == 0 ) { myval = ' ' ; } tess_ -> process_cmd_win_event ( event -> command_id , & myval ) ; } else { tess_ -> process_image_event ( * event ) ; } }
notify()
  Event handler that processes incoming events, either forwarding
  them to process_cmd_win_event or process_image_event.
notify () Event handler that processes incoming events either forwarding them to process_cmd_win_event or process_image_event .
// These are handled by ParamsEditor