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

gtk-widget-get-parent-window always returns NIL #47

Open stacksmith opened 7 years ago

stacksmith commented 7 years ago

I haven't been able to get anything out of gtk-widget-get-parent-window.

In addition, it seems to require the widget to be a window (or at least does not like treeviews). The definitions shows the parameter declared as:

(widget (g-object gtk-window))

If anyone has any ideas, please let me know.

Ferada commented 7 years ago

For the second part I put a fix here.

I actually get a result from that function, maybe try again with the fix?