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.
The marshaller to be used. If this is non-NULL, function is ignored.
Pointer to pass when calling function.
Function to call to destruct data. Gets data as argument.
A handle for this quit handler (you need this for gtk_quit_remove()) or 0 if you passed a NULL pointer in function.
Warning gtk_quit_add_full is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0 Registers a function to be called when an instance of the mainloop is left. In comparison to gtk_quit_add() this function adds the possibility to pass a marshaller and a function to be called when the quit handler is freed. 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.