Hi, > > Well, I want gtk deal with the compatibility stuff like all the > > different target names we have for text ("STRING", "text/plain", ...), > > and using gtk_clipboard_set_text() seems to be the only way to do that. > > > > I'm open to better ideas.
> Basically implement an async version of the Gtk function: > https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkclipboard.c#L850 Ah, there is a nice gtk_target_list_add_text_targets() helper. That helps. thanks, Gerd