home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!ods!chris
- From: chris@ods.com (Chris Atkins)
- Subject: Re: alternating window images - flicker in Xlib
- Message-ID: <1993Jan5.150923.3335@ods.com>
- Organization: Optical Data Systems, Inc.
- X-Newsreader: TIN [version 1.1 PL8]
- References: <1993Jan4.180304.5399@xn.ll.mit.edu>
- Date: Tue, 5 Jan 1993 15:09:23 GMT
- Lines: 16
-
- rkc@xn.ll.mit.edu wrote:
-
- : I have an C, Xlib based program with a main loop built around
- : XNextEvent, and I want to periodically flicker the screen. I have early
- : copies of the O'Reilly books for Xlib, but I cannot figure out a good way to
- : periodically send/receive an event that says "change screen now". The
- : peridicity is on the order of 6 times per second. Can someone send me a code
- : snippet, or point me to the correct routine? Thanks for your help.
-
-
- If you are using Xt, use a timer proc. Look in O'Reilly Volume 4, X Toolkit
- Intrinsics Programming Manual for an example and discusion of using timer procs.in the chapter on More Input Techniques.
-
- Chris Atkins
- chris@ods.com
-
-