code: def on_clipboard_mode_change(self, clipboard_mode):
          
          if not isinstance(clipboard_mode, ClipboardMode):
              raise TypeError("clipboard_mode can only be an instance of type ClipboardMode")
          self._call("onClipboardModeChange",
                       in_p=[clipboard_mode])
docs: Notification when the shared clipboard mode changes.
  
          in clipboard_mode of type :class:`ClipboardMode`
              The new shared clipboard mode.