andy128k / cl-gobject-introspection

BSD 2-Clause "Simplified" License
49 stars 15 forks source link

Can gdk_atom_intern be accessed with cl-gobject-introspection? #83

Closed shamazmazum closed 2 years ago

shamazmazum commented 2 years ago

I would like to call gdk_atom_intern to get the clipboard in my application (specifing the name "CLIPBOARD"). Is it possible? I try to get a function with

(gir:nget (gir:require-namespace "Gdk") "Atom" 'intern)

but this thows an error "Bad FFI constructor name intern". Maybe there is some other way to get the clipboard?

shamazmazum commented 2 years ago

Ok, I need to do (gir:nget (gir:require-namespace "Gdk") "atom_intern")