Table of Contents

Class PrintJob

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class PrintJob : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
PrintJob
Implements
Inherited Members

Constructors

PrintJob(bool, params ConstructArgument[])

protected PrintJob(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

PrintJob(IntPtr, bool)

protected PrintJob(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

PageSetupPropertyDefinition

public static readonly Property<PageSetup?, PrintJob> PageSetupPropertyDefinition

Field Value

Property<PageSetup, PrintJob>

PrinterPropertyDefinition

public static readonly Property<Printer?, PrintJob> PrinterPropertyDefinition

Field Value

Property<Printer, PrintJob>

SettingsPropertyDefinition

public static readonly Property<PrintSettings?, PrintJob> SettingsPropertyDefinition

Field Value

Property<PrintSettings, PrintJob>

StatusChangedSignal

Signal Descriptor for OnStatusChanged.

public static readonly Signal<PrintJob> StatusChangedSignal

Field Value

Signal<PrintJob>

TitlePropertyDefinition

public static readonly Property<string?, PrintJob> TitlePropertyDefinition

Field Value

Property<string, PrintJob>

TrackPrintStatusPropertyDefinition

public static readonly Property<bool, PrintJob> TrackPrintStatusPropertyDefinition

Field Value

Property<bool, PrintJob>

Properties

PageSetup

public PageSetup? PageSetup { get; }

Property Value

PageSetup

Printer

public Printer? Printer { get; }

Property Value

Printer

Settings

public PrintSettings? Settings { get; }

Property Value

PrintSettings

Title

public string? Title { get; }

Property Value

string

TrackPrintStatus

public bool TrackPrintStatus { get; set; }

Property Value

bool

Methods

GetCollate()

public bool GetCollate()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetNUp()

public uint GetNUp()

Returns

uint

GetNUpLayout()

public NumberUpLayout GetNUpLayout()

Returns

NumberUpLayout

GetNumCopies()

public int GetNumCopies()

Returns

int

GetPageSet()

public PageSet GetPageSet()

Returns

PageSet

GetPages()

public PrintPages GetPages()

Returns

PrintPages

GetPrinter()

public Printer GetPrinter()

Returns

Printer

GetReverse()

public bool GetReverse()

Returns

bool

GetRotate()

public bool GetRotate()

Returns

bool

GetScale()

public double GetScale()

Returns

double

GetSettings()

public PrintSettings GetSettings()

Returns

PrintSettings

GetStatus()

public PrintStatus GetStatus()

Returns

PrintStatus

GetSurface()

public Surface GetSurface()

Returns

Surface

GetTitle()

public string GetTitle()

Returns

string

GetTrackPrintStatus()

public bool GetTrackPrintStatus()

Returns

bool

New(string, Printer, PrintSettings, PageSetup)

public static PrintJob New(string title, Printer printer, PrintSettings settings, PageSetup pageSetup)

Parameters

title string
printer Printer
settings PrintSettings
pageSetup PageSetup

Returns

PrintJob

Send(PrintJobCompleteFunc)

public void Send(PrintJobCompleteFunc callback)

Parameters

callback PrintJobCompleteFunc

SetCollate(bool)

public void SetCollate(bool collate)

Parameters

collate bool

SetNUp(uint)

public void SetNUp(uint nUp)

Parameters

nUp uint

SetNUpLayout(NumberUpLayout)

public void SetNUpLayout(NumberUpLayout layout)

Parameters

layout NumberUpLayout

SetNumCopies(int)

public void SetNumCopies(int numCopies)

Parameters

numCopies int

SetPageSet(PageSet)

public void SetPageSet(PageSet pageSet)

Parameters

pageSet PageSet

SetPages(PrintPages)

public void SetPages(PrintPages pages)

Parameters

pages PrintPages

SetReverse(bool)

public void SetReverse(bool reverse)

Parameters

reverse bool

SetRotate(bool)

public void SetRotate(bool rotate)

Parameters

rotate bool

SetScale(double)

public void SetScale(double scale)

Parameters

scale double

SetSourceFd(int)

public bool SetSourceFd(int fd)

Parameters

fd int

Returns

bool

SetSourceFile(string)

public bool SetSourceFile(string filename)

Parameters

filename string

Returns

bool

SetTrackPrintStatus(bool)

public void SetTrackPrintStatus(bool trackStatus)

Parameters

trackStatus bool

Events

OnStatusChanged

public event SignalHandler<PrintJob> OnStatusChanged

Event Type

SignalHandler<PrintJob>