crategus / cl-cffi-gtk

cl-cffi-gtk is a Lisp binding to the GTK+ 3 library.
http://www.crategus.com/books/cl-cffi-gtk
146 stars 33 forks source link

implemented binding for gdk-drag-context-get-suggested-action #45

Closed stacksmith closed 5 years ago

stacksmith commented 7 years ago

gdk-drag-context-get-suggested-action is necessary for custom "drag-motion" handlers

I will probably need to add a few more missing bindings soon. Please advise on the best way to comment (I was wary of inserting docstrings - they look generated...

Should the context parameter (context (g-object gdk-drag-context))) be marked as :already-referenced? I do not have a good grasp of the gdk reference counting interplay with cl-cffi-gtk.

Thanks

Ferada commented 7 years ago

I think it's fine, there's at least one other definition that uses the same parameter definition as yours.

stacksmith commented 5 years ago

I think we are good - it's been a while...