pub fn add_clipboard_notify2<F: FnMut(i32) + 'static>(cb: F)
👎Deprecated since 1.2.26: please use add_clipboard_notify3 instead
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!