The R Project SVN R

Rev

Rev 68948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 75092
Line 1... Line 1...
1
% File src/library/utils/man/windows/winMenus.Rd
1
% File src/library/utils/man/winMenus.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-2007 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{winMenus}
6
\name{winMenus}
-
 
7
\title{User Menus under MS Windows (Rgui)}
7
\alias{winMenuAdd}
8
\alias{winMenuAdd}
8
\alias{winMenuAddItem}
9
\alias{winMenuAddItem}
9
\alias{winMenuDel}
10
\alias{winMenuDel}
10
\alias{winMenuDelItem}
11
\alias{winMenuDelItem}
11
\alias{winMenuNames}
12
\alias{winMenuNames}
12
\alias{winMenuItems}
13
\alias{winMenuItems}
13
\title{User Menus under Windows}
-
 
14
\description{
14
\description{
15
  Enables users to add, delete and program menus under Windows.
15
  Enables users to add, delete and program menus for the \command{Rgui} in MS Windows.
16
}
16
}
17
\usage{
17
\usage{
18
winMenuAdd(menuname)
18
winMenuAdd(menuname)
19
winMenuAddItem(menuname, itemname, action)
19
winMenuAddItem(menuname, itemname, action)
20
winMenuDel(menuname)
20
winMenuDel(menuname)
Line 76... Line 76...
76
\value{
76
\value{
77
  \code{NULL}, invisibly.  If an error occurs, an informative error
77
  \code{NULL}, invisibly.  If an error occurs, an informative error
78
  message will be given.
78
  message will be given.
79
}
79
}
80
\note{
80
\note{
81
    These functions are only available on Windows.
81
    These functions are only available on Windows and only when using
-
 
82
    the \command{Rgui}, hence not in \command{ESS} nor \command{RStudio}.
82
}
83
}
83
\seealso{\code{\link{winDialog}}}
84
\seealso{\code{\link{winDialog}}}
84
\examples{\dontrun{
85
\examples{\dontrun{
85
winMenuAdd("Testit")
86
winMenuAdd("Testit")
86
winMenuAddItem("Testit", "one", "aaaa")
87
winMenuAddItem("Testit", "one", "aaaa")