garetxe on master
Add support for references to c… Merge branch 'master' of github… (compare)
garetxe on master
Add printWidgetTree function to… (compare)
source-repository-packagestanza to my
cabal.projectpointing to that commit but I can't do that here, could you advise?
haskell-gi-basefrom github, the bindings themselves (the
gi-*packages) in hackage should be OK. Just make sure that they are regenerated (removing your
.dist-newstyleshould do the job).
Is there an example project or howto how to use GTK4 + haskell-gi and stack?
Unfortunately nothing that I am aware of. It should be possible to do by adding enough packages to your
stack.yaml, there is some relevant discussion in haskell-gi/haskell-gi#339
cabalbefore going into that. At least for building
haskell-gigenerated bindings it is often easier with
How would you translate
new Gtk.Window [ On #destroy Gtk.mainQuit ] `
to code that doesn't use labels?
new(from GI.Gtk) without specifying the bins type, i don't seem to be able to
myNew = new(with GI.Gtk in scope)
• Overlapping instances for GI.Constructible a0 tag0 arising from a use of ‘GI.new’ Matching instances: instance [overlappable] (GI.GObject a, tag ~ 'GI.AttrConstruct) => GI.Constructible a tag -- Defined in ‘Data.GI.Base.Constructible’ instance (tag ~ 'GI.AttrSet) => GI.Constructible G.AccelGroupEntry tag -- Defined in ‘GI.Gtk.Structs.AccelGroupEntry’ instance (tag ~ 'GI.AttrSet) => GI.Constructible G.AccelKey tag -- Defined in ‘GI.Gtk.Structs.AccelKey’ ...plus 35 others ...plus 95 instances involving out-of-scope types (use -fprint-potential-instances to see them all) (The choice depends on the instantiation of ‘a0, tag0’ To pick the first instance above, use IncoherentInstances when compiling the other instance declarations) • In the expression: GI.new In an equation for ‘myNew’: myNew = GI.new | 97 | myNew = G.new | ^^^^^
boxPackStart box widget expand fill padding
widgetDestroywhich appears to trigger the crash.