RE: Re: Tcl/Tk 8.4.12 for WinCE ARM binaries availa ble

"Konovalov, Vadim" <[email protected]> Thu, 12 Jan 2006 16:53:14 +0300
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <[email protected]>
> > I also noticed that the same is true for buttons in general, 
> > i.e., you can't keep them pressed.
> > 
> > But for scrollbars, the arrow buttons do work in this way.
> 
> In giving a poke at the behavior, I found that we are getting
> Enter and Leave events triggered.  Use tkcon and this simple
> script:
> 
> package require Tk
> pack [button .b -text Hello -command {puts hello}]
> bind .b <Enter> {puts enter}
> bind .b <Leave> {puts leave}
> raise .
> 
> and select .b and you will see a leave happening, which is
> what causes the relief to return to normal, and what likely
> prevents the repeat delay.  Interestingly, click and hold
> over the button, wiggling the mouse slightly - you will see
> repeat enter/leave and the relief changes, but only upon
> final release does the command trigger (at least that part
> is the expected behavior ...).
> 
> I have not noticed this until you brought it up, so I can't
> say specifically what the issue is (haven't had the time to
> delve into C yet).


Isn't this just OS triggering right-click, wo when user taps and holds, then
right-click menu appears?

BTW which source was used for diff files within tcltk8_4_12_ce-arm archive?
Those do not cleanly apply to 8.4.12

Vadim.