If I have a wx.ListCtrl that is populated with items, how can I programmatically select a particular row (as if the user clicked on it)?
___/
/
__/
/
____/
Ed Leafe
Linux Love:
unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
Hello,
The answer is in the wiki:
http://wiki.wxpython.org/index.cgi/ListControls
1.2 Selecting Items Programmatically
···
-----Original Message-----
From: Ed Leafe [mailto:ed@leafe.com]
Sent: Sunday, May 02, 2004 5:39 PM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] Selecting a row in a ListCtrl
If I have a wx.ListCtrl that is populated with items, how can I
programmatically select a particular row (as if the user clicked on
it)?
___/
/
__/
/
____/
Ed Leafe
Linux Love: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
Ah, thanks. I looked in the wx docs, and did some Googling, but didn't think of looking at the Wiki.
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://opentech.leafe.com
···
On May 3, 2004, at 3:04 AM, M. Vernier wrote:
The answer is in the wiki:
http://wiki.wxpython.org/index.cgi/ListControls
1.2 Selecting Items Programmatically