[Mono-list] Want to use mouse wheel to alter scale of a drawing

alanb alan.battersby at ntlworld.com
Wed Aug 20 16:10:23 EDT 2008


Help please anyone. I am using a drawing area widget in monodevelop to
display some lines. I have a slider set up rescale the drawing but want to
also use the mouse wheel but am getting nowhere. (I am new to Gtksharp). I
tried connecting the ButtonPressEvent but the handler doesnt run when I move
the mouse wheel. Can anyone point me to an example that shows me how to do
this. Is there a MouseWheel event it doesnt appear in the list of signals
for the drawing area widget? Do I have to place the drawing area in an event
box?

Thanks  Alan
-- 
View this message in context: http://www.nabble.com/Want-to-use-mouse-wheel-to-alter-scale-of-a-drawing-tp19077114p19077114.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list