Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!munnari.oz.au!uhccux!hale.ifa.hawaii.edu From: denault@hale.ifa.hawaii.edu (Tony Denault) Newsgroups: comp.windows.x Subject: How to get Canvas from Xv_Window in XView? Message-ID: <9039@uhccux.uhcc.Hawaii.Edu> Date: 16 Aug 90 22:33:49 GMT Sender: news@uhccux.uhcc.Hawaii.Edu Organization: Institute For Astronomy, Hawaii Lines: 23 Using the XView toolkit, how can I obtain the Canvas from within the event_proc(); I have a procedure to handle events into a canvas. This procedure services 4 Canvases used in my application. The event_proc() parameter are defined as: void event_proc( window, event) Xv_Window window; Event *event; How do I get the Canvas from the Xv_Window data structure? Is their a way? Thanks in advance. Tony D. -- /------------------------------------------------------------------------\ | Tony Denault, Institute for Astronomy, | denault@hale.ifa.hawaii.edu | | 2680 Woodlawn Drive, Honolulu, HI 96789 | (808) 956-6097 | \------------------------------------------------------------------------/