Open hrueschwein opened 2 years ago
dialog uses gtk3 so that is presumably causing the conflict. But I previously used gtk2, so give commit f33030e0fda52e1958a2095d9fdf7b46c997f429 a try.
dialog development is slow so I don't think this version is missing any critical features/bug fixes, but it also probably wouldn't be much work to take HEAD and replace the current gtk backend with the gtk2 version. Ideally dialog would let you select the version I guess, but I'm unlikely to find time to look into support for backend selection
Hello! I tried this. after a lot errors in console about deprecated API, this worked, but window is weird :)
P.S. Now I'm using ncurces/zenity, but I like this library more because of clearer syntax and many projects with it :)
I don't understand what the screenshot is trying to tell me -- what is weird about it?
what is weird about it?
icons are white and have to little width :)
FYI I now have a project which uses dialog in conjunction with gio and haven't seen any issues on linux. Version info:
Linux version: Centos 7.7.1908
Go version: 1.21.0 (also 1.18.1)
github.com/sqweek/dialog v0.0.0-20220809060634-e981b270ebbf
gioui.org v0.1.0
GTK3 version: 3.24.26
GTK2 version: none
I don't know if gio has moved on or if something else in your project is relying on gtk2
I'm making GUI application with Gio that uses GTK on linux, and application crashes on start (it's building well, breakes in
dialog.init()
)Stderr
Enviroment info: OS: Kubuntu 21.10 x86_64 Go: go1.18.1 linux/amd64 dialog version: v0.0.0-20220227145630-7a1c9e333fcf gio version: v0.0.0-20220412071142-25fae8de30be GTK3 version: 3.24.30 GTK2 version: 2.24.33