Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: displaying a color image inside of a box widget Message-ID: <8903301522.AA04904@expo.lcs.mit.edu> Date: 30 Mar 89 15:22:29 GMT References: <2389@lll-lcc.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 14 >Is it possible to display a color image inside of an Athena box >widget? Sure. >XPutImage won't work for me because it >wants a window as an argument, and I want to pass it a widget. I read >about a routine called XtWindow, but it doesn't seem to work right for >me. XtWindow returns the window of a widget, and you can use that window as an argument to XPutImage. What doesn't work right? Did you wait for the first expose event before calling XPutImage?