wxpython + follow selection in objectlistview in a second objectlistview

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

Charlotte379
Posts: 1
Joined: Fri Dec 14, 2018 12:17 am

wxpython + follow selection in objectlistview in a second objectlistview

Post by Charlotte379 » Mon Dec 17, 2018 2:40 am

I have a objectlistview which gives me some data after I've done some filtering on it (mediamonkey-style if someone knows it). Now I have a second screen where I have to show the same objectlistview (same result of the filtering). This step I already programmed. Now when the user select a row on objectlistview 1, I need the second obectlistview to show the same selection.

Is this possible and how do you do it? maybe it is something like: getselection of objectlistview 1, and see where it is in objectlistview 2 and select it?

tx in advance

EDIT: Update: I send a pubsubmessage on selection in objectlistview1, to objectlistview2, but can you give a cell the focus/selection programmatically?

Peke
Posts: 12370
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: wxpython + follow selection in objectlistview in a second objectlistview

Post by Peke » Sun Dec 23, 2018 9:05 pm

Hi,
Can you please try to make screenshots of both screen when it works and when it do not work?
Best regards,
Pavle
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add SCREENSHOTS to forum

Post Reply