🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1628

How to force a window to be updated

#1628
From: Martin Schmidt
Date: Thu, 07 Jan 1993 13:01
20 lines
1081 bytes
Hi experts, 

can somebody tell me how to create a TopLevelWindow which
is directly maped on the screen after its creation ?

          Glyph *g = some thing
          TopLevelWindow *tw = new TopLevelWindow( g );
          tw->map();

           ... sync ....

Within the syncronisation method the draw methode of the Glyph should
be called. I tried to call tw->display()->sync(), but this does not
call the glyph's draw method. I also tried to use a Patch and call
reallocate, but this does not work because the canvas attribute of the
patch is not set.

Thanks for any advice
Martin
Technical Details
Message-ID: <1ih9ihINNeb8@nz12.rz.uni-karlsruhe.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!rpksun1.mach.uni-karlsruhe.de!schmidt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!rpksun1.mach.uni-karlsruhe.de!schmidt
From: schmidt@rpksun1.mach.uni-karlsruhe.de (Martin Schmidt)
Newsgroups: comp.windows.interviews
Subject: How to force a window to be updated
Date: 7 Jan 1993 13:01:05 GMT
Organization: Univerity of Karlsruhe (FRG)
Lines: 20
Distribution: world
Message-ID: <1ih9ihINNeb8@nz12.rz.uni-karlsruhe.de>
NNTP-Posting-Host: nz11.rz.uni-karlsruhe.de