Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!spool.mu.edu!uunet!munnari.oz.au!deakin.OZ.AU!cm.deakin.oz.au From: peter@cm.deakin.oz.au (Peter Horan) Newsgroups: comp.windows.x Subject: How do I make a cross-hair cursor in X windows? Message-ID: <1359@sol.deakin.OZ.AU> Date: 28 May 91 00:56:12 GMT Sender: news@deakin.OZ.AU Organization: Dept. of Computing & Mathematics, Deakin University, Australia Lines: 19 I wish to use a vertical cursor line to mark a given point in time on a series of graphs. I wish to be able to drag the vertical line across the graphs at will, rather in the manner of using the grips for sizing sub-windows. However, the vertical line moves across the image non-destructively and has nothing to do with sizing. I have mentioned the phrase "cross-hair cursor" because this is what Tektronix call their screen cursor. It is not to be confused with the mouse cursor, which tracks the mouse and does not fully cover the screen or in X windows, the (sub-)window. However, I want to be able to use the mouse to position my vertical cursor line and leave it at some given place. I will be very grateful for any pointers, code, etc. Peter Horan -- Peter Horan peter@cm.deakin.oz.au