A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.PrintDialogData.html below:

wx.PrintDialogData — wxPython Phoenix 4.2.4a1 documentation

wx.PrintDialogData¶

This class holds information related to the visual characteristics of wx.PrintDialog.

It contains a wx.PrintData object with underlying printing settings.

Class Hierarchy¶

Inheritance diagram for class

PrintDialogData

:

Methods Summary¶ Properties Summary¶ Class API¶
class wx.PrintDialogData(Object)¶

Possible constructors:

PrintDialogData() -> None

PrintDialogData(dialogData) -> None

PrintDialogData(printData) -> None

This class holds information related to the visual characteristics of PrintDialog.


Methods¶
__init__(self, *args, **kw)¶

Overloaded Implementations:

__init__ (self)

Default constructor.

Return type:

None

__init__ (self, dialogData)

Copy constructor.

Parameters:

dialogData (wx.PrintDialogData)

Return type:

None

__init__ (self, printData)

Construct an object from a print dialog data object.

Parameters:

printData (wx.PrintData)

Return type:

None



EnableHelp(self, flag)¶

Enables or disables the “Help” button.

Parameters:

flag (bool)

Return type:

None


EnablePageNumbers(self, flag)¶

Enables or disables the “Page numbers” controls.

Parameters:

flag (bool)

Return type:

None


EnablePrintToFile(self, flag)¶

Enables or disables the “Print to file” checkbox.

Parameters:

flag (bool)

Return type:

None


EnableSelection(self, flag)¶

Enables or disables the “Selection” radio button.

Parameters:

flag (bool)

Return type:

None


GetAllPages(self)¶

Returns True if the user requested that all pages be printed.

Return type:

bool


GetCollate(self)¶

Returns True if the user requested that the document(s) be collated.

Return type:

bool


GetFromPage(self)¶

Returns the from page number, as entered by the user.

Return type:

int


GetMaxPage(self)¶

Returns the maximum page number.

Return type:

int


GetMinPage(self)¶

Returns the minimum page number.

Return type:

int


GetNoCopies(self)¶

Returns the number of copies requested by the user.

Return type:

int


GetPrintData(self)¶

Returns a reference to the internal wx.PrintData object.

Return type:

wx.PrintData


GetPrintToFile(self)¶

Returns True if the user has selected printing to a file.

Return type:

bool


GetSelection(self)¶

Returns True if the user requested that the selection be printed (where “selection” is a concept specific to the application).

Return type:

bool


GetToPage(self)¶

Returns the “print to” page number, as entered by the user.

Return type:

int


IsOk(self)¶

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.

Return type:

bool


SetCollate(self, flag)¶

Sets the “Collate” checkbox to True or False.

Parameters:

flag (bool)

Return type:

None


SetFromPage(self, page)¶

Sets the from page number.

Parameters:

page (int)

Return type:

None


SetMaxPage(self, page)¶

Sets the maximum page number.

Parameters:

page (int)

Return type:

None


SetMinPage(self, page)¶

Sets the minimum page number.

Parameters:

page (int)

Return type:

None


SetNoCopies(self, n)¶

Sets the default number of copies the user has requested to be printed out.

Parameters:

n (int)

Return type:

None


SetPrintData(self, printData)¶

Sets the internal wx.PrintData.

Parameters:

printData (wx.PrintData)

Return type:

None


SetPrintToFile(self, flag)¶

Sets the “Print to file” checkbox to True or False.

Parameters:

flag (bool)

Return type:

None


SetSelection(self, flag)¶

Selects the “Selection” radio button.

The effect of printing the selection depends on how the application implements this command, if at all.

Parameters:

flag (bool)

Return type:

None


SetToPage(self, page)¶

Sets the “print to” page number.

Parameters:

page (int)

Return type:

None


__bool__(self)¶
Return type:

bool


__nonzero__(self)¶
Return type:

bool


Properties¶
AllPages¶

See GetAllPages


Collate¶

See GetCollate and SetCollate


FromPage¶

See GetFromPage and SetFromPage


MaxPage¶

See GetMaxPage and SetMaxPage


MinPage¶

See GetMinPage and SetMinPage


NoCopies¶

See GetNoCopies and SetNoCopies


PrintData¶

See GetPrintData and SetPrintData


PrintToFile¶

See GetPrintToFile and SetPrintToFile


Selection¶

See GetSelection and SetSelection


ToPage¶

See GetToPage and SetToPage


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4