Method

GtkVncDisplayset_clipboard_sync

Declaration [src]

void
vnc_display_set_clipboard_sync (
  VncDisplay* obj,
  VncDisplayClipboardSync sync
)

Description [src]

Change the clipboard synchronization policy.

If sync is enabled, it will automate the transfer of clipboard using the extended clipboard extension if available, falling back to legacy “cut text” messages otherwise.

The traditional ‘vnc-server-cut-text’ signal will not be emitted when sync is enabled in order to avoid duplicating clipboard handling by both this widget and the owning application.

Parameters

sync

Type: VncDisplayClipboardSync

The new clipboard synchronization policy.