![]() ![]() ![]() The ListCtrl did not display on the Panel(the right part of the ListBook), but on the whole ListBook. Self.AddPage(win, bucketList, imageId=new)īucketList is a list and each element is a string. I have tried to modify the OnPageChanged() function in TestLB.py: def OnPageChanged(self, event): Now I want to put ListCtrls in each page of ListBook, how can I do that? ('OnPageChanging, old:%d, new:%d, sel:%d\n' % (old, new, sel)) ('OnPageChanged, old:%d, new:%d, sel:%d\n' % (old, new, sel)) Self.Bind(wx.EVT_LISTBOOK_PAGE_CHANGING, self.OnPageChanging) Self.Bind(wx.EVT_LISTBOOK_PAGE_CHANGED, self.OnPageChanged) "This is the LISTCTRL %d, how can I do this?" % (imID), # Now make a bunch of panels for the list book hi guys so excited to be back
0 Comments
Leave a Reply. |