Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkDialogAddButton

gtkDialogAddButton


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 gtkDialogResponse signal with the given response.id. The button is appended to the end of the dialog's action area. The button widget is returned, but usually you don't need it.

Usage

gtkDialogAddButton(object, button.text, response.id)

Arguments

object

a GtkDialog

button.text

text of button, or stock ID

response.id

response ID for the button

Value

[GtkWidget] the button widget that was added

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.