R/popMessage.R

Defines functions popMessage

Documented in popMessage

popMessage <-
function(Message){
#This function will pop up and display a message to the user
#' @export
PopWindow<-gwindow("Alert!",width = 240, height= 157,visible=FALSE)
Textframe<-gframe(horizontal = FALSE, container=PopWindow,expand=TRUE,fill=TRUE)
TextMessage<-gtext(Message,container=Textframe,expand=TRUE,fill=TRUE);
Okbutton<-gbutton("OK",container=Textframe,handler= function(h,...){
dispose(PopWindow)
})
visible(PopWindow)<-TRUE
 }

Try the RSCABS package in your browser

Any scripts or data that you put into this service are public.

RSCABS documentation built on May 1, 2020, 9:06 a.m.