Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!totty
From: totty@flute.cs.uiuc.edu (Brian Totty)
Message-ID: <1990Aug7.180904.22672@brutus.cs.uiuc.edu>
Sender: news@brutus.cs.uiuc.edu
Reply-To: totty@flute.cs.uiuc.edu (Brian Totty)
Organization: Picasso Group, DCS, University of Illinois, Urbana-Champaign
Date: Tue, 7 Aug 90 18:09:04 GMT
Lines: 22

	Is it possible to set up translations for both a single click
	and a double click of the same button?  I tried to do this
	(maybe I got the order wrong or something) but it never seemed
	to work.  A double click would always call the single click action
	first.  Is this the way it is supposed to work?  Oh, if it makes a
	difference, I was also trying to have a translation of a Shift click
	on the same button too.

	I want to do something like this:

	static char translations[] =
		"<Btn1Down>(2):		Open()\n\
		 Shift<Btn1Down>:	Toggle()\n\
		 <Btn1Down>:		Set()\n\
		 <Btn1Up>:		Notify()\n";



   /                      Brian Totty              o o
  /__  __  o        406 E. Michigan / Apt. 6        o  
 /  / /   /             Urbana, IL 61801           \_/  "We have corn in
/__/ /   /             totty@cs.uiuc.edu                Massachusetts too!"
