Thomas Mills Hinkle writes:

> An additional query -- does anyone know if it's possible to select and
> arbitrary range of a treeview, a la spreadsheets? I'd like to let the
> user, for example, select four rows of one column so that I could
> offer e.g. a "fill down" action.
Sure. You have to enable "multiple selection mode" by calling

        treeview.get_selection().set_mode(gtk.SELECTION_MULTIPLE)

After that, the user can use the usual Shift + click and Ctrl + click
to select multiple rows.
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to