gtkActionNew: gtkActionNew

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Creates a new GtkAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call gtkActionGroupAddActionWithAccel. See for information on allowed action names.

Usage

1
gtkActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)

Arguments

name

A unique name for the action

label

the label displayed in menu items and on buttons, or NULL. [ allow-none ]

tooltip

a tooltip for the action, or NULL. [ allow-none ]

stock.id

the stock icon to display in widgets representing the action, or NULL

Details

Since 2.4

Value

[GtkAction] a new GtkAction

Author(s)

Derived by RGtkGen from GTK+ documentation



RGtk2 documentation built on May 20, 2017, 3:33 a.m.
Search within the RGtk2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.