-class BookCtrlSizer(_core.Sizer):
- """Proxy of C++ BookCtrlSizer class"""
- def __repr__(self):
- return "<%s.%s; proxy of C++ wxBookCtrlSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
- def __init__(self, *args, **kwargs):
- """__init__(self, BookCtrlBase nb) -> BookCtrlSizer"""
- newobj = _controls_.new_BookCtrlSizer(*args, **kwargs)
- self.this = newobj.this
- self.thisown = 1
- del newobj.thisown
- self._setOORInfo(self)
-
- def RecalcSizes(*args, **kwargs):
- """
- RecalcSizes(self)
-
- Using the sizes calculated by `CalcMin` reposition and resize all the
- items managed by this sizer. You should not need to call this directly as
- it is called by `Layout`.
- """
- return _controls_.BookCtrlSizer_RecalcSizes(*args, **kwargs)
-
- def CalcMin(*args, **kwargs):
- """
- CalcMin(self) -> Size
-
- This method is where the sizer will do the actual calculation of its
- children's minimal sizes. You should not need to call this directly as
- it is called by `Layout`.
- """
- return _controls_.BookCtrlSizer_CalcMin(*args, **kwargs)
-
- def GetControl(*args, **kwargs):
- """GetControl(self) -> BookCtrlBase"""
- return _controls_.BookCtrlSizer_GetControl(*args, **kwargs)
-
-
-class BookCtrlSizerPtr(BookCtrlSizer):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = BookCtrlSizer
-_controls_.BookCtrlSizer_swigregister(BookCtrlSizerPtr)
-
-class NotebookSizer(_core.Sizer):
- """Proxy of C++ NotebookSizer class"""
- def __repr__(self):
- return "<%s.%s; proxy of C++ wxNotebookSizer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
- def __init__(self, *args, **kwargs):
- """__init__(self, Notebook nb) -> NotebookSizer"""
- newobj = _controls_.new_NotebookSizer(*args, **kwargs)
- self.this = newobj.this
- self.thisown = 1
- del newobj.thisown
- self._setOORInfo(self)
-
- def RecalcSizes(*args, **kwargs):
- """
- RecalcSizes(self)
-
- Using the sizes calculated by `CalcMin` reposition and resize all the
- items managed by this sizer. You should not need to call this directly as
- it is called by `Layout`.
- """
- return _controls_.NotebookSizer_RecalcSizes(*args, **kwargs)
-
- def CalcMin(*args, **kwargs):
- """
- CalcMin(self) -> Size
-
- This method is where the sizer will do the actual calculation of its
- children's minimal sizes. You should not need to call this directly as
- it is called by `Layout`.
- """
- return _controls_.NotebookSizer_CalcMin(*args, **kwargs)
-
- def GetNotebook(*args, **kwargs):
- """GetNotebook(self) -> Notebook"""
- return _controls_.NotebookSizer_GetNotebook(*args, **kwargs)
-
-
-class NotebookSizerPtr(NotebookSizer):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = NotebookSizer
-_controls_.NotebookSizer_swigregister(NotebookSizerPtr)
-
-NotebookSizer.__init__ = wx._deprecated(NotebookSizer.__init__, "NotebookSizer is no longer needed.")
-BookCtrlSizer.__init__ = wx._deprecated(BookCtrlSizer.__init__, "BookCtrlSizer is no longer needed.")