Skip to content
Discussion options

You must be logged in to vote

I believe what you're looking for is

if ui.button("Button").clicked() {
    ui.output().copied_text = String::from(text);
};

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@benruijl
Comment options

@miketwenty1
Comment options

@AngelOnFira
Comment options

@miketwenty1
Comment options

@Its-Just-Nans
Comment options

Answer selected by benruijl
Comment options

You must be logged in to vote
1 reply
@miketwenty1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants