diff options
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 1b22260d..dbbad901 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -569,6 +569,18 @@ PUGL_API void puglIgnoreKeyRepeat(PuglView* view, bool ignore); /** + Copy selection to clipboard. +*/ +PUGL_API void +puglCopyToClipboard(PuglView* view, const char* selection, size_t len); + +/** + Paste selection from clipboard. +*/ +PUGL_API const char* +puglPasteFromClipboard(PuglView* view, size_t* len); + +/** Grab the input focus. */ PUGL_API void |