[comp.soft-sys.andrew] Cursor position

turner@rchland.ibm.com (Mark Turner) (10/16/90)

Does anybody know of a way to find the cursor position from inside an
ATK application?  I would like to let the user enter information from
the keyboard, and do something, if the cursor is in the correct place on
the screen.

Another option, which might work better, is if I could get the current
cursor type.  This way, I could make the cursor different in the
rectangle where key input is allowed, then check the cursor type when
the user enters keyboard data.

I don't know of anyway to get either the cursor position or cursor type
from inside of ATK.  I assume there is a simple way to do this from X
but ATK hides this level.

Any ideas?

Andy Arhelger.