Closed iqdecay closed 5 years ago
That program has no tab layout. What's your main()
?
Sorry, I added the main()
. I don't use tab layouts in my other programs and it works fine, is a tab (like this ) necessary for using the table layout ? I can provide you with other examples of code that creates the same error.
You need to call ui.Main
in main
. Pass it SetupUI
.
It works, thank you !
Hi, I did some research in the opened issues but nothing ressembled, sorry if it's a duplicate. Whenever I try to launch a program containing a tab layout, the programs just crashes. Weird thing is that the example "table.go" works (thanks to the workaround provided here). The full error message :
One example that causes it (which I picked from this issue) :
Is there something I'm doing wrong ? Or is it a bug ? Thank you for your time !
Here is the ouptut for
dpkg -l libgtk2.0-0 libgtk-3-0
: -ii libgtk-3-0:amd64 3.18.9-1ubuntu3.3 amd64 GTK+ graphical user interface library
-ii libgtk2.0-0:amd64 2.24.30-1ubuntu1.16. amd64 GTK+ graphical user interface library
-rc libgtk2.0-0:i386 2.24.30-1ubuntu1.16. i386 GTK+ graphical user interface library