This class holds information related to the visual characteristics of wx.PrintDialog.
It contains a wx.PrintData object with underlying printing settings.
Default constructor. |
|
Enables or disables the “Help” button. |
|
Enables or disables the “Page numbers” controls. |
|
Enables or disables the “Print to file” checkbox. |
|
Enables or disables the “Selection” radio button. |
|
Returns |
|
Returns |
|
Returns the from page number, as entered by the user. |
|
Returns the maximum page number. |
|
Returns the minimum page number. |
|
Returns the number of copies requested by the user. |
|
Returns a reference to the internal wx.PrintData object. |
|
Returns |
|
Returns |
|
Returns the “print to” page number, as entered by the user. |
|
Returns |
|
Sets the “Collate” checkbox to |
|
Sets the from page number. |
|
Sets the maximum page number. |
|
Sets the minimum page number. |
|
Sets the default number of copies the user has requested to be printed out. |
|
Sets the internal wx.PrintData. |
|
Sets the “Print to file” checkbox to |
|
Selects the “Selection” radio button. |
|
Sets the “print to” page number. |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
See |
|
Possible constructors:
PrintDialogData() -> None
PrintDialogData(dialogData : PrintDialogData) -> None
PrintDialogData(printData : PrintData) -> None
This class holds information related to the visual characteristics of PrintDialog.
__init__ (self)
Default constructor.
None
__init__ (self, dialogData : PrintDialogData)
Copy constructor.
dialogData (wx.PrintDialogData)
None
__init__ (self, printData : PrintData)
Construct an object from a print dialog data object.
printData (wx.PrintData)
None
Enables or disables the “Help” button.
flag (bool)
None
Enables or disables the “Page numbers” controls.
flag (bool)
None
Enables or disables the “Print to file” checkbox.
flag (bool)
None
Enables or disables the “Selection” radio button.
flag (bool)
None
Returns True
if the user requested that all pages be printed.
bool
Returns True
if the user requested that the document(s) be collated.
bool
Returns the from page number, as entered by the user.
int
Returns the maximum page number.
int
Returns the minimum page number.
int
Returns the number of copies requested by the user.
int
Returns a reference to the internal wx.PrintData object.
Returns True
if the user has selected printing to a file.
bool
Returns True
if the user requested that the selection be printed (where “selection” is a concept specific to the application).
bool
Returns the “print to” page number, as entered by the user.
int
Returns True
if the print data is valid for using in print dialogs.
This can return False
on Windows if the current printer is not set, for example. On all other platforms, it returns True
.
bool
Sets the “Collate” checkbox to True
or False
.
flag (bool)
None
Sets the from page number.
page (int)
None
Sets the maximum page number.
page (int)
None
Sets the minimum page number.
page (int)
None
Sets the default number of copies the user has requested to be printed out.
n (int)
None
Sets the internal wx.PrintData.
printData (wx.PrintData)
None
Sets the “Print to file” checkbox to True
or False
.
flag (bool)
None
Selects the “Selection” radio button.
The effect of printing the selection depends on how the application implements this command, if at all.
flag (bool)
None
Sets the “print to” page number.
page (int)
None
int
int
See GetAllPages
See GetCollate
and SetCollate
See GetFromPage
and SetFromPage
See GetMaxPage
and SetMaxPage
See GetMinPage
and SetMinPage
See GetNoCopies
and SetNoCopies
See GetPrintData
and SetPrintData
See GetPrintToFile
and SetPrintToFile
See GetSelection
and SetSelection