home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!news.dfrf.nasa.gov!fred.dfrf.nasa.gov!todd
- From: todd@fred.dfrf.nasa.gov (Todd Vernon)
- Subject: Too Big XCreatePixmap returns ?
- Message-ID: <1993Jan4.195342.13271@news.dfrf.nasa.gov>
- Sender: news@news.dfrf.nasa.gov (Usenet news)
- Reply-To: todd@fred.dfrf.nasa.gov (Todd Vernon)
- Organization: Clarkson
- Date: Mon, 4 Jan 1993 19:53:42 GMT
- Lines: 14
-
-
- O'Reilly VII (page 108) - XCreatePixmap returns a pixmap ID
-
- Also BadAlloc, BadDrawable, BadValue can result. I think I have
- an idea why however my question is a follows.
-
- How do I trap for instance BadAlloc as would happen if I ask for
- a pixmap that is too big ? This seems like a common problem
- since off screen memory in X Servers is often limited ?
-
- Is BadAlloc returned in place of the pixmap id ? is zero
- returned ? help how do I do this ?
-
- todd@fred.dfrf.nasa.gov
-