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()
PrintDialogData(dialogData)
PrintDialogData(printData)
This class holds information related to the visual characteristics of PrintDialog.
__init__ (self)
Default constructor.
__init__ (self, dialogData)
Copy constructor.
dialogData (wx.PrintDialogData) –
__init__ (self, printData)
Construct an object from a print dialog data object.
printData (wx.PrintData) –
Enables or disables the “Help” button.
flag (bool) –
Enables or disables the “Page numbers” controls.
flag (bool) –
Enables or disables the “Print to file” checkbox.
flag (bool) –
Enables or disables the “Selection” radio button.
flag (bool) –
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) –
Sets the from page number.
page (int) –
Sets the maximum page number.
page (int) –
Sets the minimum page number.
page (int) –
Sets the default number of copies the user has requested to be printed out.
n (int) –
Sets the internal wx.PrintData.
printData (wx.PrintData) –
Sets the “Print to file” checkbox to True
or False
.
flag (bool) –
Selects the “Selection” radio button.
The effect of printing the selection depends on how the application implements this command, if at all.
flag (bool) –
Sets the “print to” page number.
page (int) –
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