winMenu: Additional winMenuXXX() functions

Description Usage Arguments Details Author(s) See Also

Description

A couple of winMenuXXX() functions are defined in the package 'utils' to manipulate custom menus of Rgui (under windows only). Here are some additional ones. Note that you should preferably use the corresponding menuXXX() function defined in this package (they work with windows menus as well as other menus, like Tk.

Usage

1
2
3
winMenuChangeItem(menu, item, action, options = "")
winMenuStateItem(menu, item, active = TRUE)
winMenuInvoke(menu, item)

Arguments

menu

name of a menu.

item

name of a menu item.

action

action the menu triggers (R code).

options

additional options. Only supports "enable" or "disable", currenty.

active

do we enable or disable the menu item?

Details

These functions are used only under Windows, and when RgGui.exe is executed.

These functions complement the winMenuXXX() functions in package 'utils'. Do prefer to use the corresponding menuXXX() functions that work with all types of menus (currently, only Windows RGui and Tk, but more could be added in the future).

Author(s)

Philippe Grosjean

See Also

menuChangeItem, menuStateItem, menuInvoke


svWidgets documentation built on May 30, 2017, 8:05 a.m.

Search within the svWidgets package
Search all R packages, documentation and source code