Multiple GtkGLArea Widget on Windows 32/64
- From: Sébastien Le Roux <sebastien leroux ipcms unistra fr>
- To: gtk-app-devel-list gnome org
- Subject: Multiple GtkGLArea Widget on Windows 32/64
- Date: Tue, 2 Jan 2018 14:41:08 +0100
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:sebastien leroux ipcms unistra fr
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
===========================================================
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]