#!/usr/bin/python3

from gi.repository import GLib, Gtk, GdkPixbuf

win = Gtk.Window()
win.connect('destroy', Gtk.main_quit)
win.set_default_size(640, 480)

iv = Gtk.IconView()
iv.set_pixbuf_column(0)
win.add(iv)

model = Gtk.ListStore(GdkPixbuf.Pixbuf)
model.append((GdkPixbuf.Pixbuf.new(GdkPixbuf.Colorspace.RGB, True, 8, 100, 100),))
iv.set_model(model)
iv.set_cursor(Gtk.TreePath(), None, False)
for i in range(5): iv.get_cursor()

win.show_all()
Gtk.main()

