Main.quitAdd

Warning gtk_quit_add 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.

class Main
static
uint
quitAdd

Parameters

mainLevel uint

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 void*

Pointer to pass when calling function.

Return Value

Type: uint

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

Meta