Newbie question: wxNotebook

Markus von Ehr markus.vonehr at
Tue Jan 21 11:17:59 CET 2003

I want to add a control Panel on the left side.
In this Panel I want a Notebook filling the whole available space.
Unfortunately the notebook remains very small, too small for placing
controls inside.
What can I do that the notebook always fills the whole available area,
independent of the parents size?

class NavPanel(wxPanel):

    def __init__(self, parent, ID, doodle):
        wxPanel.__init__(self, parent, -1)

        self.notebook = wxNotebook(self, -1, style=wxNB_BOTTOM)

        win = wxPanel(self, -1)

        self.notebook.AddPage(win, "Config")



More information about the Python-list mailing list