nanogui: Window Mapping & Unmapping Revisited


Previous by date: 8 Mar 2006 15:43:53 +0000 updating window, Robbie
Next by date: 8 Mar 2006 15:43:53 +0000 Problem with linking microwindows ....... udefined strcmpi......., Kalypso2
Previous in thread:
Next in thread: 8 Mar 2006 15:43:53 +0000 Re: Window Mapping & Unmapping Revisited, Aaron J. Grier

Subject: Window Mapping & Unmapping Revisited
From: Gil Glass ####@####.####
Date: 8 Mar 2006 15:43:53 +0000
Message-Id: <OFE2513F17.583EE433-ON8525712B.00502756-8525712B.00566787@acterna.com>

Hello,

I asked this question once before but not very articulately.  Then I then 
went on vacation and moved on to other issues.  Anyway, back to the 
original question:

Correct me if I'm wrong, but if I have a window, the root window, that is 
currently displaying and takes up the entire display, and I then perform 
the following operations:

// ...
<Do lots of drawing on the root window until...>
// ...

// Create and open a NEW window whose PARENT is the ROOT window.
windowID = GrNewWindow(GR_ROOT_WINDOW_ID, 0, 0, SCREEN_WIDTH, 
SCREEN_HEIGHT, 0, GR_COLOR_WHITE, GR_COLOR_WHITE);

// Map (show) the window.
GrMapWindow(windowID);

<draw some stuff>

 // Remove this window.
GrUnmapWindow(windowID);
GrDestroyWindow(windowID);

...then at this point, should the contents of the root window not be 
redisplayed?  Please forgive my naïveté, but do I have to use the window 
manager (nanowm) to make this happen?

Cheers,
Telecom Field Services
JDSU
Germantown, MD, USA
+1-240-404-2551

Previous by date: 8 Mar 2006 15:43:53 +0000 updating window, Robbie
Next by date: 8 Mar 2006 15:43:53 +0000 Problem with linking microwindows ....... udefined strcmpi......., Kalypso2
Previous in thread:
Next in thread: 8 Mar 2006 15:43:53 +0000 Re: Window Mapping & Unmapping Revisited, Aaron J. Grier


Powered by ezmlm-browse 0.20.