pygtk question

R

RunLevelZero

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.
 
C

Christophe Lambin

RunLevelZero said:
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_MULTIPLE)

If it doesn't work, try posting a short example so someone can have a
look.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,252
Messages
2,571,267
Members
47,908
Latest member
MagdalenaR

Latest Threads

Top