Newbie question: wxNotebook

Markus von Ehr markus.vonehr at ipm.fhg.de
Tue Jan 21 05:17:59 EST 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")


Thanks,

Markus




More information about the Python-list mailing list