--- Henry Merryweather
<henry.merryweather@xxxxxxxxxxxxxx> wrote:
> I would like to use the central mouse wheel to
> scroll on a canvas. I am
> BindMouseWheel($real_canvas);
You have a focus problem:
$real_canvas->CanvasBind('<Enter>' => [$real_canvas,
'Tk::focus']);
>
> MainLoop;
>
--Ala
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx
|