Scroll horizontal GtkIconView with mouse wheel
- From: Damián Nohales <damiannohales gmail com>
- To: gtk-list gnome org
- Subject: Scroll horizontal GtkIconView with mouse wheel
- Date: Sat, 31 Dec 2011 17:35:19 -0300
Hello,
Suppose that I have a GtkScrolledWindow witch has a child of class
GtkIconView, the icons are disposed horizontally, then, only an
horizontal scroll bar is showed when there are many icons.
That I want is to allow that the GtkIconView scroll horizontally with
the mouse wheel. I can capture the event but I don't know how scroll the
GtkIconView.
Is there a way to scroll programmatically the GtkIconView the same
amount as when I press the arrow button in the scroll bar?
I know the existence of "gtk_icon_view_scroll_to_path" but I want to
scroll the GtkIconView an amount of pixels, not necessarily to a
specific path.
Thanks in advance!
Regards!
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]