Hi Luke, thanks a lot. that helped. I thought the GTK.Builder would take care for this when configuring it in glade. But it didn't. Works fine as expected now.
Kind regards
Cornelius
Luke Symes schrieb:
> Hi Cornelius,
>
>
>> I'd like to select more than one entry, but it is not possible...
>> I got the rubberbanding activated...
>>
>
>
> Get the treeview from gtk.Builder:
> treeview = builder.get_object('myTreeview')
>
> then, from http://www.pygtk.org/pygtk2tutorial/sec-TreeSelections.html:
>
> treeselection = treeview.get_selection()
> treeselection.set_mode(gtk.SELECTION_MULTIPLE)
>
> Hope this helps,
>
> Luke.
>
>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
