Function add_clipboard_notify2

pub fn add_clipboard_notify2<F>(cb: F)
where F: FnMut(i32) + 'static,
👎Deprecated since 1.2.26: please use add_clipboard_notify3 instead
Available on crate feature dep_fltk only.
Expand description

Register a callback whenever there is a change to the selection buffer or the clipboard. The clipboard is source 1 and the selection buffer is source 0. A callback via closure cannot be removed!