Handbook
Glossary
init-clipboard ( -- )
Vocabulary
ui
.
backend
.
gtk2
Inputs
None
Outputs
None
Definition
USING:
alien.strings
gdk2.ffi
gtk2.ffi
io.encodings.utf8
kernel
namespaces
ui.clipboards
;
IN:
ui.backend.gtk2
:
init-clipboard
( -- )
selection
"PRIMARY"
clipboard
"CLIPBOARD"
[
utf8
string>alien
gdk_atom_intern_static_string
gtk_clipboard_get
<gtk2-clipboard>
swap
set-global
]
2bi@
;