pekim / gobbi

gobbi is a set of generated Go bindings for gtk et al.
MIT License
28 stars 3 forks source link

godoc missing api gtk.HeaderBarNew() #5

Closed rythmkraze closed 5 years ago

rythmkraze commented 5 years ago

why gtk.HeaderBarNew() is missing from godoc

pekim commented 5 years ago

The gtk_header_bar_api function was introduced with gtk 3.10. So it is only available in gobbi files with a build tag of gtk_3.10 or later.

godoc does not honour build tags, so unfortunately https://godoc.org/github.com/pekim/gobbi/lib/gtk only includes types and functions that are available in all versions of gtk.

rythmkraze commented 5 years ago

ah ok :( Thanks Mike