home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
- From: okeefe@cs.Buffalo.EDU (Paul O'Keefe)
- Newsgroups: fj.mail-lists.x-window
- Subject: How to freeze the pointer
- Message-ID: <1992Nov16.205939.11350@sm.sony.co.jp>
- Date: 16 Nov 92 20:59:39 GMT
- Sender: daemon@sm.sony.co.jp (The devil himself)
- Distribution: fj
- Organization: State University of New York at Buffalo/Comp Sci
- Lines: 19
- Approved: michael@sm.sony.co.jp
-
- Date: 10 Nov 92 03:51:39 GMT
- Message-Id: <BxHEq4.3rB@acsu.buffalo.edu>
- Newsgroups: comp.windows.x.intrinsics,comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
-
- I want to implement a "snap-to" point-n-click data picking feature
- where the cursor snaps to the nearest data point and freezes in position
- while a popup is displayed in response to a button press button.
-
- Ideas:
- Remove the cursor and draw an X when a button is pressed.
-
- Keep warping the cursor back to the place I want it if moved. (A real kludge.)
-
- Do a server grab, but this could cause a conflict with the
- window manager and doesn't seem like the right approach for an application.
-
- Question: have a better idea?
-