The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 78762
Line 1... Line 1...
1
% File src/library/tcltk/man/tclServiceMode.Rd
1
% File src/library/tcltk/man/tclServiceMode.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2014 R Core Team
3
% Copyright 1995-2020 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{tclServiceMode}
6
\name{tclServiceMode}
7
\alias{tclServiceMode}
7
\alias{tclServiceMode}
8
\title{ Allow Tcl events to be serviced or not }
8
\title{ Allow Tcl events to be serviced or not }
Line 25... Line 25...
25
\value{
25
\value{
26
The value of the Tcl service mode before the call.
26
The value of the Tcl service mode before the call.
27
}
27
}
28
\examples{
28
\examples{
29
## see demo(tkcanvas) for an example
29
## see demo(tkcanvas) for an example
30
\dontrun{
-
 
31
oldmode <- tclServiceMode(FALSE)
30
oldmode <- tclServiceMode(FALSE)
32
# Do some work to create a nice picture.
31
# Do some work to create a nice picture.
33
# Nothing will be displayed until...
32
# Nothing will be displayed until...
34
tclServiceMode(oldmode)
33
tclServiceMode(oldmode)
35
}
-
 
36
## another idea is to use tkwm.withdraw() ... tkwm.deiconify()
34
## another idea is to use tkwm.withdraw() ... tkwm.deiconify()
37
}
35
}
38
\keyword{ misc }
36
\keyword{ misc }