model_server/gala/src/genDialog.cxx
// This function will catch a close from the NT [x] in the window frame.
This function will catch a close from the NT [x] in the window frame.
This function will catch a close from the NT [ x ] in the window frame .
int GDialog::HookClose(vevent *event) 
{
	int stayOpen = vdialog::HookClose(event);
	if (!stayOpen) {
		if (interp_) {
			gala_eval (interp_, "info proc CloseDialog");
			if (strlen(Tcl_GetStringResult(interp_)) )
				gala_eval (interp_, "CloseDialog");
		}
		if (blocking_)
			vevent::StopProcessing();
	}
	return(stayOpen);
}
int GDialog :: HookClose ( vevent * event ) { int stayOpen = vdialog :: HookClose ( event ) ; if ( ! stayOpen ) { if ( interp_ ) { gala_eval ( interp_ , " " ) ; if ( strlen ( Tcl_GetStringResult ( interp_ ) ) ) gala_eval ( interp_ , " " ) ; } if ( blocking_ ) vevent :: StopProcessing ( ) ; } return ( stayOpen ) ; }
This function will catch a close from the NT [x] in the window frame.
This function will catch a close from the NT [ x ] in the window frame .