Python Forum
wxPython wxListBox Contains
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wxPython wxListBox Contains
#2
There is no contain,but canĀ FindString() should work if do it like this.
foo_list.FindString(self.bar.GetStringSelection()) == wx.NOT_FOUND:
Reply


Messages In This Thread
wxPython wxListBox Contains - by QueenSvetlana - Nov-11-2017, 03:42 PM
RE: wxPython wxListBox Contains - by snippsat - Nov-11-2017, 04:12 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020