gtkInfoBarAddButton: gtkInfoBarAddButton

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. The button is appended to the end of the info bars's action area. The button widget is returned, but usually you don't need it.

Usage

1
gtkInfoBarAddButton(object, button.text, response.id)

Arguments

object

a GtkInfoBar

button.text

text of button, or stock ID

response.id

response ID for the button

Details

Since 2.18

Value

[GtkWidget] the button widget that was added

Author(s)

Derived by RGtkGen from GTK+ documentation


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