gtkQuitAdd {RGtk2}R Documentation

gtkQuitAdd

Description

Registers a function to be called when an instance of the mainloop is left.

Usage

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

Arguments

main.level [numeric] 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 [R object] Pointer to pass when calling function.

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


[Package RGtk2 version 2.12.5-3 Index]