I am developing a GTK-based application that should support the clipboard. For this I export data selection using gtk_clipboard_set_with_dataa target format: UTF8_STRING, STRING, TEXT, COMPOUND_TEXT, text/plain, text/plain;charset=utf-8, text/rtf, text/htmland text/url. Using this, I can copy text from my application to other text editors such as gedit. However, I cannot insert text in XTerm. Should I be exported for any other purpose? Where can I get a list of formats accepted by XTerm?
source
share