Gdk.Clipboard.set_text – gtk4 Reference Manual
Packages
gtk4
Gdk
Clipboard
content
display
formats
local
Clipboard
@set
get_content
get_display
get_formats
is_local
read_async
read_text_async
read_texture_async
read_value_async
set_content
set_text
set_texture
set_valist
set_value
store_async
changed
set_text
Description:
public
void
set_text
(
string
text)
Puts the given
text
into the clipboard.
Parameters:
this
a `GdkClipboard`
text
Text to put into the clipboard