Path: utzoo!utgpu!watserv1!watmath!att!att!bu.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!bywater!arnor!larios!db3l From: db3l@ibm.com (David Bolen) Newsgroups: comp.windows.x.motif Subject: Re: Drawing area with mouse move callback ? Message-ID: Date: 23 Oct 90 15:46:25 GMT References: <1990Oct22.232454.224@efi.com> Sender: news@arnor.uucp (NNTP News Poster) Organization: Laboratory Automation, IBM Thomas J. Watson Research Center Lines: 21 In-Reply-To: chiu@efi.com's message of 22 Oct 90 23:24:54 GMT In article <1990Oct22.232454.224@efi.com> chiu@efi.com (Chan Chiu) writes: >Mouse drag is essential for Mac style bounding box selection. Can I still >use drawing area with some patches ? Or, do I use a customized widget >(or Xt, Xlib nonwidget solution) ? I also use a XmDrawingArea widget as my primary window area, and just add a normal X event handler for mouse movement, using XtAddEventHandler for the widget with a mask of PointerMotionMask. I use the XmNinputCallback for button and keyboard input. -- David -- /-----------------------------------------------------------------------\ \ David Bolen / | Laboratory Automation, IBM Thomas J. Watson Research Center | / P.O. Box 218, Yorktown Heights, NY 10598 \ | - - - - - - - - - - - - M i t h r a n d i r - - - - - - - - - - - - | | Internet : db3l@ibm.com | Bitnet : db3l@yktvmv | | Usenet : uunet!bywater!arnor!larios!db3l | Phone : (914) 945-1940 | \-----------------------------------------------------------------------/