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.PreviewControlBar — wxPython 4.3.2 Docs
|
Constructor. |
|
Creates buttons, according to value of the button style flags. |
|
Gets the print preview object associated with the control bar. |
|
Gets the current zoom setting in percent. |
|
Sets the zoom control. |
Properties Summary¶See |
|
See |
Class API¶Possible constructors:
PreviewControlBar(preview, buttons, parent, pos=DefaultPosition, size=DefaultSize, style=0, name="panel") -> None
This is the default implementation of the preview control bar, a panel with buttons and a zoom control.
Constructor.
The buttons parameter may be a combination of the following, using the bitwise ‘or’ operator:
wx.PREVIEW_PRINT: Create a print button.
wx.PREVIEW_NEXT: Create a next page button.
wx.PREVIEW_PREVIOUS: Create a previous page button.
wx.PREVIEW_ZOOM: Create a zoom control.
wx.PREVIEW_DEFAULT: Equivalent to a combination of PREVIEW_PREVIOUS , PREVIEW_NEXT and PREVIEW_ZOOM .
preview (wx.PrintPreview)
buttons (long)
parent (wx.Window)
pos (wx.Point)
size (wx.Size)
style (long)
name (string)
None
Creates buttons, according to value of the button style flags.
None
Todo
which flags??
variant (WindowVariant)
Gets the print preview object associated with the control bar.
Gets the current zoom setting in percent.
int
Sets the zoom control.
percent (int)
None
See GetPrintPreview
See GetZoomControl and SetZoomControl