From: <bra...@om...> - 2005-05-23 00:05:19
|
I tried the self.Raise() which works for child windows but not for selecting Notebook pages. Right now, the only way I know how to select a Notebook page is based on the index or the title of the page. Can a Notebook page (a PageBackground object) find its own name or index so that it can self-select? Something like either of these two things might be nice: myIndex = self.GetPageIndex() # this function doesn't exist self.getParent().notebook.SetSelection (myIndex) or myTitle = self.GetPageTitle() # this function doesn't exist self.getParent().notebook.stringSelection = myTitle Is there already something like what I'm looking for, or should I build these functions from scratch? Thanks! |