Shuttle control in wxPython

Posted by Mridang Agarwalla on Stack Overflow See other posts from Stack Overflow or by Mridang Agarwalla
Published on 2010-05-20T07:30:08Z Indexed on 2010/05/20 17:10 UTC
Read the original article Hit count: 257

Filed under:
|

Hi,

I'm trying to implement a shuttle control in wxPython but there doesn't seem to be one. I've decided to use two listbox controls. The shuttle control looks like this:

alt text

I've got two listboxes — one's populated, one's not. Could someone show me how to add a selected item to the second list box when it is double clicked? It should be removed from the first. When it is double clicked in the second, it should be added to the first and removed from the second. The shuttle control implements these by default but it's a pity it isn't there.

Thank you.

© Stack Overflow or respective owner

Related posts about python

Related posts about wxpython