Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!bloom-beacon!eng.AUburn.EDU!richards From: richards@eng.AUburn.EDU (Eric J. Richards) Newsgroups: comp.windows.x Subject: Single click vs double click Message-ID: <9010171958.AA07792@eng.auburn.edu> Date: 17 Oct 90 19:58:11 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 29 Is it a single click or a double click? I'm getting ready to have to change a program such that a single click on a widget (say, an Athena command button) will be different than a double click on that same widget (a single click will bring up a menu while a double click will redo the last selection). I seem to remember that there is a "problem" under the toolkit distinguishing between single and double clicks (they both fire the corresponding handlers). Before I re-invent the binary wheel, can someone point me to some existing example code (either with the X11R4 distribution or on the net) that distinguishes between and ? If the answer doesn't appear on the mailing list, I'll post a summary. Thanks! ______________________________________________________________________ \ Eric Richards, Auburn University "In the darkness of future past \ \ InterNet: The magician longs to see \ \\\ richards@eng.auburn.edu One chants out between two worlds, \ \\\ BitNet: 'Fire... walk with me.'" \ \\\ erichard@ducvax.auburn.edu -- Twin Peaks \ \\\_____________________________________________________________________\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\