bsnipes wrote:
>
>
>
> Ed Leafe-2 wrote:
>>
>> Have you looked into dEvents.MouseWheel? You can create an onMouseWheel
>> () handler; it should fire when the user scrolls the wheel over the
>> image.
>>
>> -- Ed
>>
>
> Can you give me an example of how to read the value? I did this:
>
> img = dabo.ui.dImage(self, RegID='imgViewer')
> img.bindEvent(dEvents.MouseWheel, self.Form._onImageWheel)
>
> but can't figure out how to retrieve the scroll data into the
> _onImageWheel function.
>
MouseLeftDown kicks off the function tied to the event but MouseWheel
doesn't seem to.
Platform: GTK
Python Version: 2.5.1 on linux2
Dabo Version: Version 0.8.3; Revision 3876
UI Version: 2.8.4.0 on wxGTK (gtk2)
--
View this message in context:
http://www.nabble.com/dImage-and-MouseWheel-tp14930322p14944931.html
Sent from the dabo-users mailing list archive at Nabble.com.
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]