FlatNotebok questions

Oswaldo Hernández listas at soft-com.es
Mon Jun 25 11:03:39 PDT 2007


Hello all,

I'm trying to use FlatNotebook first time and i have some questions:

Sizers:

When put a FlatNotebook on a sizer an do sizer.SetSizeHints(flatnotebook) the size is calculated for 
the active tab contents, if there is another tab with a bigger content is ignored.
May I calculate the size of all tabs content and tell the sizer the biggest size?

Enable/Disable:

I view than FlatNotebook overrides wx.Windows.Enable() and then the method works only for individual 
tabs. I don't find any method for Disable all and later reenable it and restore all tabs to original 
state.

Making same tests seem that: super(wx.Panel, self.flatnotebook).Enable(False) do the job, but is 
correct this way?


Thanks (sorry the bad english).

-- 
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************




More information about the wxpython-users mailing list