gtkButtonNewFromStock: gtkButtonNewFromStock

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Creates a new GtkButton containing the image and text from a stock item. Some stock ids have preprocessor functions like GTK_STOCK_OK and GTK_STOCK_APPLY.

Usage

1

Arguments

stock.id

the name of the stock item

Details

If stock.id is unknown, then it will be treated as a mnemonic label (as for gtkButtonNewWithMnemonic).

Value

[GtkWidget] a new GtkButton

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.