Which GUI component do you use?
GTK, I tried to switch it to QT, and problem gone!
Is switching GUI component legit thing to do, or can I mess up my code with it?
This time everything ok, but with real project... maybe I'm just
having M$ nightmare
induced paranoia...
Anyhow the problem is
On mardi 9 décembre 2008, Jussi Lahtinen wrote:
Which GUI component do you use?
GTK, I tried to switch it to QT, and problem gone!
Is switching GUI component legit thing to do, or can I mess up my code
with it? This time everything ok, but with real project... maybe I'm just
having M$
Anyhow the problem is GTK component, and I noticed an other problem too.
GTK is about 40 times slower when talking about Draw.Picture() !!
Mmm. GTK+ is slower than QT, but not 40 times. Can you show your code?
No problem, it's just stupid performance test / tile engine prototype.
See
On mardi 9 décembre 2008, Jussi Lahtinen wrote:
One more thing about that code
Press Exit button (gives just the Quit command), and IDE gives messages:
WARNING: circular references detected
FMain (1)
Mutex destroy failure: Device or resource busy
WARNING: 15 allocation(s) non freed.
QUIT actually aborts the program. If you want to cleanly quit your program,
just close your windows.
Ok that makes sense, thanks!
So there is not any command to close all windows?
Or some generic way to do it, something like
FOR EACH Form ...Me.Close...?
My main project will have
On mardi 9 décembre 2008, Benoit Minisini wrote:
On mardi 9 décembre 2008, Jussi Lahtinen wrote:
Which GUI component do you use?
GTK, I tried to switch it to QT, and problem gone!
Is switching GUI component legit thing to do, or can I mess up my code
with it? This time everything ok,
On lundi 8 décembre 2008, Jussi Lahtinen wrote:
Hi list!
What is the unit of height and width? At least in PictureBox and
DrawingArea, unit is not pixel, instead something little larger...
Hu ? Everything is in pixels in Gambas. Control dimensions in the IDE are just
multiple of
On lundi 8 décembre 2008, Benoit Minisini wrote:
On lundi 8 décembre 2008, Jussi Lahtinen wrote:
Hi list!
What is the unit of height and width? At least in PictureBox and
DrawingArea, unit is not pixel, instead something little larger...
Hu ? Everything is in pixels in Gambas. Control
On lundi 8 décembre 2008, Jussi Lahtinen wrote:
What is the unit of height and width? At least in PictureBox and
DrawingArea, unit is not pixel, instead something little larger...
Hu ? Everything is in pixels in Gambas. Control dimensions in the IDE
are just multiple of Desktop.Scale.