Why libvte copy/paste function not working on [gtk4]?

Can anyone suggest an alternative function to copy & paste text on libvte[gtk4]? As i check vte_terminal_copy_clipboard and vte_terminal_copy_clipboard_format not working on gtk4. Also vte_terminal_paste_clipboard & vte_terminal_paste_primary() expired!

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum