By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,965 Members | 1,779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,965 IT Pros & Developers. It's quick & easy.

pygtk question

P: n/a
Hopefully someone can help me out here. It's probably super simple but
how do you select multiple items in a treeview? I have
gtk.SELECTION_MULTIPLE set but of course that was enough. I have tried
catching the ctrl button press but still nothing. Perhaps there is a
better place to ask but I thought I would give this a shot first.

TIA.

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"RunLevelZero" <Ai*******@gmail.com> wrote:
Hopefully someone can help me out here. It's probably super simple but
how do you select multiple items in a treeview? I have
gtk.SELECTION_MULTIPLE set but of course that was enough.


It should be enough to do this:

treeview.get_selection().set_mode(gtk.SELECTION_MU LTIPLE)

If it doesn't work, try posting a short example so someone can have a
look.
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.