home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: 4carroll_j@spcvxb.spc.edu
- Newsgroups: fj.mail-lists.x-window
- Subject: How to get Expose events
- Message-ID: <1992Dec31.235435.4958@sm.sony.co.jp>
- Date: 31 Dec 92 23:54:35 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: St. Peter's College, US
- Lines: 38
- Approved: michael@sm.sony.co.jp
-
- Date: 31 Dec 92 22:20:12 GMT
- Message-Id: <1992Dec31.172012.4795@spcvxb.spc.edu>
- Newsgroups: comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
-
- Hi,
-
- I am having some difficulties with XMapWindow amd receiving Expose
- events. I have a window heirarchy that consists of four windows, where the
- first window is root. I have tried every combination of XMapWindow,
- XMapSubwindows, and XMapRaised, but cannot seem to get the lowest level
- window to display.
-
- Effectively the way I create the window heirarchy is with the
- XCreateWindow() function call, where the window parameter that I pass, is
- the returned value from the previous call. Ie:
-
-
- Window a, b, c;
-
- a = XCreateWindow( display, root, ... );
- b = XCreateWindow( display, a, ... );
- c = XCreateWindow( display, c, ... );
-
- XMapRaised( display, c );
- XMapWindow( display, b );
- XMapWindow( display, a );
- XMapWindow( display, root );
-
-
- In the code above, I have found that windows 'a' and 'b' receive
- Expose events, but I cannot seem to get Expose events for 'c'. Is their
- something very obvious that I am overlooking.
-
- Thanks
- Jim Carroll
-
-