simvx.core.ui.clipboard¶
System clipboard access — GLFW-first with subprocess fallback.
The graphics backend sets set_backend(copy_fn, paste_fn) at startup.
Widgets call copy(text) and paste() -> str which route to the backend
or fall back to xclip/xsel/wl-copy subprocess calls.
Module Contents¶
Functions¶
Set clipboard backend (called by graphics App at startup). |
|
Copy text to the system clipboard. |
|
Return text from the system clipboard. |