| Line 30... |
Line 30... |
| 30 |
}
|
30 |
}
|
| 31 |
\details{
|
31 |
\details{
|
| 32 |
\code{setWindowTitle} appends \code{suffix} to the normal window
|
32 |
\code{setWindowTitle} appends \code{suffix} to the normal window
|
| 33 |
identification (\code{RGui}, \code{R Console} or \code{Rterm}). Use
|
33 |
identification (\code{RGui}, \code{R Console} or \code{Rterm}). Use
|
| 34 |
\code{suffix = ""} to reset the title.
|
34 |
\code{suffix = ""} to reset the title.
|
| 35 |
|
35 |
|
| 36 |
\code{getWindowTitle} gets the current title.
|
36 |
\code{getWindowTitle} gets the current title.
|
| 37 |
|
37 |
|
| 38 |
This sets the title of the frame in MDI mode, the title of the console
|
38 |
This sets the title of the frame in MDI mode, the title of the console
|
| 39 |
for \code{RGui --sdi}, and the title of the window from which it was
|
39 |
for \code{RGui --sdi}, and the title of the window from which it was
|
| 40 |
launched for \code{Rterm}.
|
40 |
launched for \code{Rterm}.
|
| 41 |
It has no effect in embedded uses of \R.
|
41 |
It has no effect in embedded uses of \R.
|
| 42 |
|
42 |
|
| 43 |
\code{getIdentification} returns the normal window identification.
|
43 |
\code{getIdentification} returns the normal window identification.
|
| 44 |
|
44 |
|
| 45 |
\code{setStatusBar} sets the text in the statusbar of an MDI
|
45 |
\code{setStatusBar} sets the text in the statusbar of an MDI
|
| 46 |
frame: if this is not currently shown it is selected and shown.
|
46 |
frame: if this is not currently shown it is selected and shown.
|
| 47 |
}
|
47 |
}
|
| 48 |
\value{
|
48 |
\value{
|
| 49 |
The first three functions return a length 1 character vector.
|
49 |
The first three functions return a length 1 character vector.
|
| 50 |
|
50 |
|
| 51 |
\code{setWindowTitle} returns the previous window title (invisibly).
|
51 |
\code{setWindowTitle} returns the previous window title (invisibly).
|
| 52 |
|
52 |
|
| 53 |
\code{getWindowTitle} and \code{getIdentification} return the current
|
53 |
\code{getWindowTitle} and \code{getIdentification} return the current
|
| 54 |
window title and the normal window identification, respectively.
|
54 |
window title and the normal window identification, respectively.
|
| 55 |
}
|
55 |
}
|
| 56 |
\examples{
|
56 |
\examples{
|
| 57 |
## show the current working directory in the title, saving the old one
|
57 |
## show the current working directory in the title, saving the old one
|