Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!boulder!grunwald From: grunwald@foobar.colorado.edu (Dirk Grunwald) Newsgroups: comp.windows.x Subject: Does XGCFromGContext exist? Message-ID: <28982@boulder.Colorado.EDU> Date: 31 Oct 90 05:05:01 GMT Sender: news@boulder.Colorado.EDU Reply-To: grunwald@foobar.colorado.edu Distribution: comp Organization: University of Colorado at Boulder Lines: 15 Nntp-Posting-Host: foobar.colorado.edu I know that function XGContextFromGC exists, and, given a GC, I can get the 'gid'. But I want the reverse mapping. One program passes a window id & 'gid' to another program. That second program would like to use the window & graphics context to paint in that window. Any clues how to do this? Dirk Grunwald -- Univ. of Colorado at Boulder (grunwald@foobar.colorado.edu) (grunwald@boulder.colorado.edu)