Re: scrolling text box with mouse wheel
- From: Owen Taylor <otaylor redhat com>
- To: James <James jigsawdezign demon co uk>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: scrolling text box with mouse wheel
- Date: 28 Apr 2001 12:40:26 -0400
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]