I developed a GTK+3 based program that uses (a lot) the GtkGLArea widget
Everything works perfectly fine ... on Linux that is ... on windows this
is not exactly the case ...
The program offers to edit/analyze/create atomistic 3D models
(molecules, crystals ...), I can have multiple
models and hence multiple GtkGLArea widgets for the 3D view opened at
the same time, and I can exchange data between models
and windows ... and the program works just fine for Linux.
Then I tried to build a win (32/64) version and it works just fine,
everything runs smoothly ... excepted that I can only
have a single GtkGLArea working at a time, a soon as a second window
with a GtkGLArea opens it takes priority and
the first and older one is not responding any more ... and I can keep
going, each new GtkGLArea that I create will
have the effect to stop the previous one.
You will find attached the piece of code I wrote to generate the window
and the GtkGLArea, I would sincerely appreciate if you could
point out the errors I might have inserted in there, or if you have any
guess about what goes wrong.
Thanks in advance for your help and all the best for 2018 !