Re: problme when trying to use mouse wheel for scrolling in a canvas
Ala Qumsieh <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
--- Henry Merryweather <[email protected]> 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 [email protected]