Unless i'm mistaken, the nimble package uses the version 2.0:
when defined(win32):
const
lib = "libgtk-win32-2.0-0.dll"
elif defined(macosx):
const
lib = "(libgtk-quartz-2.0.0.dylib|libgtk-x11-2.0.dylib)"
# linklib gtk-x11-2.0
# linklib gdk-x11-2.0
# linklib pango-1.0.0
# linklib glib-2.0.0
# linklib gobject-2.0.0
# linklib gdk_pixbuf-2.0.0
# linklib atk-1.0.0
else:
const
lib = "libgtk-x11-2.0.so(|.0)"
But [gtk_entry_get_buffer requires
2.18](https://developer.gnome.org/gtk2/stable/GtkEntry.html#gtk-entry-get-buffer)
. I have never used gtk, so i might be wrong.