Scroll horizontal GtkIconView with mouse wheel

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

 



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


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux