window_remove_callback
window_remove_callback(window, cbtype, callback)
Removes callback from the list of functions called when the value of a dialog item within window changes value, or when another window-level event occurs. If window is invalid, or callback is not on the callback list for the window, $ERROR is set and 0 is returned. If successful, the function returns the unique window identifier.
The window parameter is a window identifier. The cbtype parameter needs to be a valid callback type (valid callbacks are listed under the window_add_callback function). The callback parameter specifies the actual callback to remove.
Example
$ret = window_remove_callback($win, "create", main:: WindowCallback)
Related Topics