GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.Simplebook — wxPython 4.3.2 Docs
|
Default constructor. |
|
Really create the window of an object created using default constructor. |
|
Set the same effect to use for both showing and hiding the pages. |
|
Set the same effect timeout to use for both showing and hiding the pages. |
|
Set the effects to use for showing and hiding the pages. |
|
Set the effect timeout to use for showing and hiding the pages. |
|
Add a new page and show it immediately. |
Class API¶Possible constructors:
Simplebook() -> None Simplebook(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name='') -> None
Simplebook is a control showing exactly one of its several pages.
__init__ (self)
Default constructor.
Use Create later to really create the control.
None
__init__ (self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=’’)
Constructs a simple book control.
None
Really create the window of an object created using default constructor.
bool
Added in version 4.0/wxWidgets-3.0.2.
variant (WindowVariant)
Set the same effect to use for both showing and hiding the pages.
This is the same as SetEffects(effect, effect) .
effect (ShowEffect)
None
See also
Set the same effect timeout to use for both showing and hiding the pages.
This is the same as SetEffectsTimeouts(timeout, timeout) .
timeout
None
See also
Set the effects to use for showing and hiding the pages.
This method allows specifying the effects passed to wx.Window.ShowWithEffect and wx.Window.HideWithEffect respectively when the pages need to be shown or hidden.
By default, no effects are used, but as the pages are only changed by the program and not the user himself, it may be useful to use some visual effects to make the changes more noticeable.
showEffect (ShowEffect) – The effect to use for showing the newly selected page.
hideEffect (ShowEffect) – The effect to use for hiding the previously selected page.
None
See also
Set the effect timeout to use for showing and hiding the pages.
This method allows configuring the timeout arguments passed to wx.Window.ShowWithEffect and wx.Window.HideWithEffect if a non-default effect is used.
If this method is not called, default, system-dependent timeout is used.
showTimeout – Timeout of the show effect, in milliseconds.
hideTimeout – Timeout of the hide effect, in milliseconds.
None
See also
Add a new page and show it immediately.
This is simply a thin wrapper around the base class wx.BookCtrlBase.AddPage method using empty label (which is unused by this class anyhow) and selecting the new page immediately.
page (wx.Window)
bool