bradrn
bradrn

Reputation: 8467

Differences between gtk and gtk2

There seem to be two gtk2hs libraries on Hackage - gtk and gtk3. Looking at the source, they seem to share the same files and have only minor differences. How are these libraries different?

Upvotes: 2

Views: 255

Answers (1)

duplode
duplode

Reputation: 34378

As pointed out in the comments, gtk binds to GTK+ 2, and gtk3, to GTK+ 3. One place where that information shows up is in the pkg-config fields of their respective .cabal files (cf. gtk.cabal and gtk3.cabal).

Upvotes: 2

Related Questions