|
From: Jeff H. <je...@ac...> - 2006-05-24 00:23:40
|
Bryan Oakley wrote:
> I noticed that with tile 0.7.2, if I click on a button the
> focus is set to that button. Investigating I see it is due to this:
>
> % bind TRadiobutton <1>
> %W instate !disabled { tile::clickToFocus %W; %W state pressed }
>
> Is this an intentional deviation from the standard widget behavior? The
> normal tk widgets don't get focus when you click on them.
But normal Windows widgets do (and likely true for other native widget sets).
Themed widgets should first follow platform style, and only 2nd (in lieu of
clear platform style) follow traditional Tk style.
Jeff
|