paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] Event loop threaded


From: Bergel Alexandre
Subject: [paragui-users] Event loop threaded
Date: Fri, 08 Nov 2002 21:19:19 +0100
User-agent: Mutt/1.3.24i

Hello, 

I have some troubles when I use a thread event loop. I cannot add any widget.
For instance:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  app = new PG_Application();
  app->SetEmergencyQuit(true);
  app->LoadTheme("default");
  app->InitScreen(640, 480, 0, SDL_SWSURFACE);

  PG_Button but(NULL, 1, PG_Rect(280, 100, 80, 50), "Hello !");
  but.Show();

  app->Run(true);
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Show me nothing, whereas if I replace the very last statment by app->Run(), it 
works fine...

If anyone could help me...

Cheers,
Alexandre


-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._
Bergel Alexandre  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^




reply via email to

[Prev in Thread] Current Thread [Next in Thread]