Re: Mouse wheel in text widget



Jonathan Hseu <vomjom@earthlink.net> writes:

> When using gtk+ _without_ GNOME components, scrolling through a text box with
> a vscrollbar allows one to use the mouse wheel _on_ the scroll bar, but does
> not allow it when the pointer is inside the text box.  Is this assumption true?
> I will attempt to patch it later if someone can verify it.
> 
> The result of this (if you have a mouse with a wheel) can be seen when using
> programs such as AbiWord or gnotepad+.

AbiWord doens't use a text widget, so it is a different thing
entirely.

If the text widget is inside a GtkScrolledWindow widget, then
the mouse wheel should work as you desire. If the text widget
is packed into a table or something, than it probably won't.

Regards,
                                        Owen






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]