Scroll horizontal GtkIconView with mouse wheel
- To: gtk-list@xxxxxxxxx
- Subject: Scroll horizontal GtkIconView with mouse wheel
- From: Damián Nohales <damiannohales@xxxxxxxxx>
- Date: Sat, 31 Dec 2011 17:35:19 -0300
- User-agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111220 Thunderbird/9.0
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!
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list
[GIMP Users]
[Yosemite News]
[Yosemite Photos]
[Gimp's Home]
[Steve's Art]