Re: scrolling text box with mouse wheel
- From: James <James jigsawdezign demon co uk>
- To: Owen Taylor <otaylor redhat com>, "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: scrolling text box with mouse wheel
- Date: Sat, 28 Apr 2001 18:20:17 +0100
And put the GtkScrolledWindow in the NOTEBOOK page?
Owen Taylor wrote:
James <James jigsawdezign demon co uk> writes:
Hello again,
Here is a more detailed explanation of what i`m trying to do with the
mouse wheel for scrolling. Basically i have a window with menubar, and
toolbar at the top, then a NOTEBOOK, with a HBOX in each page of the
NOTEBOOK. Each hbox contains a TEXT box (main editing area) with a
scrollbar created on the right side. I can only use my mouse wheel to
scroll the TEXTbox when the pointer is over the scrollbar widget.... it
does not scroll if i use the wheel when over the text box...
Put the text widget inside a GtkScrolledWindow (using gtk_container_add())
rather than hooking up the scrollbar yourself.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]