Open zaifoo opened 2 years ago
Yes, it is strange:
grep -C8 gdk_clipboard_set_text /opt/gtk/share/gir-1.0/Gdk-4.0.gir
<method name="set_text"
c:identifier="gdk_clipboard_set_text"
introspectable="0">
https://docs.gtk.org/gdk4/method.Clipboard.set_text.html
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/gdk/gdkclipboard.c#L1338
I think I have to ask Mr. Bassi.
I hope the explanation of Mr. Bassi is good enough for you:
https://discourse.gnome.org/t/gtk4-gdk-clipboard-set-text-hidden-in-gobject-introspection/8587/2
Of course we could add a setText() manually, if someone would really like to use that. But I assume this issue was created automatically for ducumentation purposes, not because someone is actually using the GTK clipboard from Nim?
gdk_clipboard_set_text missing