Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdk_clipboard_set_text missing #194

Open
zaifoo opened this issue Jan 8, 2022 · 2 comments
Open

gdk_clipboard_set_text missing #194

zaifoo opened this issue Jan 8, 2022 · 2 comments

Comments

@zaifoo
Copy link

zaifoo commented Jan 8, 2022

gdk_clipboard_set_text missing

@StefanSalewski
Copy link
Owner

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.

@StefanSalewski
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants