Module Eio_brr_io.Clipboard

Clipboard access

See the Clipboard API.

module Item : sig ... end

Clipboard items.

Reading and writing

val read : Brr_io.Clipboard.t -> Brr_io.Clipboard.Item.t list

read c is the content of c.

val read_text : Brr_io.Clipboard.t -> Jstr.t

read_text c is the clipboard textual content of c.

val write : Brr_io.Clipboard.t -> Brr_io.Clipboard.Item.t list -> unit

write c is writes the items is to c.

val write_text : Brr_io.Clipboard.t -> Jstr.t -> unit

write_text c s writes the string s to c.