On 03-03-2022 04:58, Joel Christensen wrote:

auto cb = new Clipboard(..);
cb.setText(result, -1);

What do I put in the clipboard object constructor? I looked it up but couldn't figure it out. (no code examples, just definitions).

It look like you will need to use one of the get functions (get,
getDefault, getForDisplay) to create an Cliopboard.

We might need to add constructors that use these functions to make
things easier to find.