winMenu {svWidgets}R Documentation

Additional winMenuXXX() functions

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 preferrably use the corresponding MenuXXX() function defined in this package (they work with windows menus as well as other menus, like Tk.

Usage

  winMenuChangeItem(menu, item, action, options = "")
  winMenuStateItem(menu, item, active = TRUE)

Arguments

menu Name of a menu
item Name of a menu item
action Action the menu triggers (R code)
options Additional options, for instance 'state = "disable"' to disable the menu at creation.
active Do we enable or disable the menu item?

Details

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 and Tk, but more will be added in the future).

Author(s)

Philippe Grosjean

See Also

MenuChangeItem, MenuStateItem

Examples

   ## See ?MenuNames for extensive examples

[Package svWidgets version 0.9-5 Index]