Pietro Gagliardi

Results 328 comments of Pietro Gagliardi

The problem here is that in GTK+ 3 you do not access members of object structs directly; everything must be done through accessor functions. In the case of `->scrollbar` it...

That would work for my use case, yes.

It should still be possible to dynamically link SDL2 even with package ui; that's weird. I'll have to look at the build tags of this package... The C++ linker should...

Right; I've taken steps to allow libui to be statically linkable specifically to make it more Go-like in nature; the interplay between this and that is an interesting question, and...

It's not so much a problem with libui but a subtlety with mixing packages that expect different linking requirements. My question is about what's conventional for the rest of the...

I looked into it; the function does indeed require a `syscall.NewCallback()` callback for the second argument. The callback signature is wrong: it has to return a value of type `int32`...

Set a breakpoint on libui's `_implbug()` and get a stack trace when that message pops ups so we can figure out which internal-to-libui data structure is causing it.

Okay, then it is what I was thinking of. I'll fix it eventually (it's a chicken and egg problem :/ or at least I think; I thought I fixed this...

Strange. Also that message was intentionally omitted from libui; [here's an explanation as to why](https://stackoverflow.com/a/25318870/3408572). This is also why the first window is created in the background. macOS is strange...