This may help - it was done originally
for seed - so I'm not sure how accurate the gjs data is
http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/ you might be able to get by calling Gdk. atom_intern_static_string('SELECTION_CLIPBOARD") Regards Alan On Monday, May 05, 2014 02:44 PM, Jon Kristensen wrote: Hello, everyone! I have one specific question, and one question of a more general nature. First, what are the _javascript_ symbols I can use for selection in <https://developer.gnome.org/gtk3/3.12/gtk3-Clipboards.html#gtk-clipboard-get>? I'm using GJS and is trying to find the equivalent of GDK_SELECTION_CLIPBOARD. On a more general level, I would like to know how I can go about finding out the names of these binding symbols generally. Is there perhaps some way that I can inspect the GI files? Is there some documentation laying around somewhere that I have failed to find? If not, is there a way that we could produce such an API documentation (perhaps annotated with the names of the functions in the underlying language), so that people unfamiliar with the bindings could find what they are looking for more easily? Thanks! Warm regards, |