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

gtkQuitAddFull

gtkQuitAddFull


Description

Registers a function to be called when an instance of the mainloop is left. In comparison to gtkQuitAdd this function adds the possibility to pass a marshaller and a function to be called when the quit handler is freed.

Usage

gtkQuitAddFull(main.level, fun, data = NULL)

Arguments

main.level

Level at which termination the function shall be called. You can pass 0 here to have the function run at the termination of the current mainloop.

data

Pointer to pass when calling function.

Details

The former can be used to run interpreted code instead of a compiled function while the latter can be used to free the information stored in data (while you can do this in function as well)... So this function will mostly be used by GTK+ wrappers for languages other than C.

Value

[numeric] A handle for this quit handler (you need this for gtkQuitRemove) or 0 if you passed a NULL pointer in function.

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.