|
Multiple selection in treeview, was: Re: CellRendererText doesn't have clic: msg#00107gnome.gtk+.python
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@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: CellRendererText doesn't have clicked signal now what?: 00107, Chris Lambacher |
|---|---|
| Next by Date: | Setting placement property of a BonoboDockItem: 00107, Gabriel Munoz |
| Previous by Thread: | Re: CellRendererText doesn't have clicked signal now what?i: 00107, Chris Lambacher |
| Next by Thread: | Re: CellRendererText doesn't have clicked signal now what?: 00107, Brian |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |