wxpython + follow selection in objectlistview in a second objectlistview

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

Moderators: Gurus, Addon Administrators

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

wxpython + follow selection in objectlistview in a second objectlistview

Post by Charlotte379 »

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: 17446
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

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

Post by Peke »

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