Multiple GtkGLArea Widget on Windows 32/64

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multiple GtkGLArea Widget on Windows 32/64

Sébastien Le Roux
Happy new year !

Dear all,
I developed a GTK+3 based program that uses (a lot) the GtkGLArea widget
(https://developer.gnome.org/gtk3/stable/GtkGLArea.html).
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 !

Sébastien Le Roux

--
===========================================================
Dr. Sébastien Le Roux
Ingénieur de Recherche CNRS
Institut de Physique et Chimie des Matériaux de Strasbourg
Département des Matériaux Organiques
23, rue du Loess
BP 43
F-67034 Strasbourg Cedex 2, France
E-mail:[hidden email]
Webpage:http://www-ipcms.u-strasbg.fr/spip.php?article1771
RINGS project:http://rings-code.sourceforge.net/
ISAACS project:http://isaacs.sourceforge.net/
Fax:   +33 3 88 10 72 46
Phone: +33 3 88 10 71 62
===========================================================

_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list