Table of Contents

Class PrintJob

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class PrintJob
Inheritance
PrintJob
Inherited Members

Methods

GetCollate(IntPtr)

Calls native method gtk_print_job_get_collate.

public static extern bool GetCollate(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_print_job_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetNUp(IntPtr)

Calls native method gtk_print_job_get_n_up.

public static extern uint GetNUp(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNUpLayout(IntPtr)

Calls native method gtk_print_job_get_n_up_layout.

public static extern NumberUpLayout GetNUpLayout(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

NumberUpLayout

Transfer ownership: None Nullable: False

GetNumCopies(IntPtr)

Calls native method gtk_print_job_get_num_copies.

public static extern int GetNumCopies(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetPageSet(IntPtr)

Calls native method gtk_print_job_get_page_set.

public static extern PageSet GetPageSet(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

PageSet

Transfer ownership: None Nullable: False

GetPages(IntPtr)

Calls native method gtk_print_job_get_pages.

public static extern PrintPages GetPages(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

PrintPages

Transfer ownership: None Nullable: False

GetPrinter(IntPtr)

Calls native method gtk_print_job_get_printer.

public static extern IntPtr GetPrinter(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetReverse(IntPtr)

Calls native method gtk_print_job_get_reverse.

public static extern bool GetReverse(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetRotate(IntPtr)

Calls native method gtk_print_job_get_rotate.

public static extern bool GetRotate(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetScale(IntPtr)

Calls native method gtk_print_job_get_scale.

public static extern double GetScale(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetSettings(IntPtr)

Calls native method gtk_print_job_get_settings.

public static extern IntPtr GetSettings(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetStatus(IntPtr)

Calls native method gtk_print_job_get_status.

public static extern PrintStatus GetStatus(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

PrintStatus

Transfer ownership: None Nullable: False

GetSurface(IntPtr, out ErrorOwnedHandle)

Calls native method gtk_print_job_get_surface.

public static extern SurfaceUnownedHandle GetSurface(IntPtr job, out ErrorOwnedHandle error)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

SurfaceUnownedHandle

Transfer ownership: None Nullable: False

GetTitle(IntPtr)

Calls native method gtk_print_job_get_title.

public static extern NonNullableUtf8StringUnownedHandle GetTitle(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetTrackPrintStatus(IntPtr)

Calls native method gtk_print_job_get_track_print_status.

public static extern bool GetTrackPrintStatus(IntPtr job)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New(NonNullableUtf8StringHandle, IntPtr, IntPtr, IntPtr)

Calls native constructor gtk_print_job_new.

public static extern IntPtr New(NonNullableUtf8StringHandle title, IntPtr printer, IntPtr settings, IntPtr pageSetup)

Parameters

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

printer IntPtr

Transfer ownership: None Nullable: False

settings IntPtr

Transfer ownership: None Nullable: False

pageSetup IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

Send(IntPtr, PrintJobCompleteFunc, IntPtr, DestroyNotify)

Calls native method gtk_print_job_send.

public static extern void Send(IntPtr job, PrintJobCompleteFunc callback, IntPtr userData, DestroyNotify dnotify)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

callback PrintJobCompleteFunc

Transfer ownership: None Nullable: False

userData IntPtr

Transfer ownership: None Nullable: True

dnotify DestroyNotify

Transfer ownership: None Nullable: False

SetCollate(IntPtr, bool)

Calls native method gtk_print_job_set_collate.

public static extern void SetCollate(IntPtr job, bool collate)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

collate bool

Transfer ownership: None Nullable: False

SetNUp(IntPtr, uint)

Calls native method gtk_print_job_set_n_up.

public static extern void SetNUp(IntPtr job, uint nUp)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

nUp uint

Transfer ownership: None Nullable: False

SetNUpLayout(IntPtr, NumberUpLayout)

Calls native method gtk_print_job_set_n_up_layout.

public static extern void SetNUpLayout(IntPtr job, NumberUpLayout layout)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

layout NumberUpLayout

Transfer ownership: None Nullable: False

SetNumCopies(IntPtr, int)

Calls native method gtk_print_job_set_num_copies.

public static extern void SetNumCopies(IntPtr job, int numCopies)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

numCopies int

Transfer ownership: None Nullable: False

SetPageRanges(IntPtr, PageRangeArrayHandle, int)

Calls native method gtk_print_job_set_page_ranges.

public static extern void SetPageRanges(IntPtr job, PageRangeArrayHandle ranges, int nRanges)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

ranges PageRangeArrayHandle

Transfer ownership: Full Nullable: False

nRanges int

Transfer ownership: None Nullable: False

SetPageSet(IntPtr, PageSet)

Calls native method gtk_print_job_set_page_set.

public static extern void SetPageSet(IntPtr job, PageSet pageSet)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

pageSet PageSet

Transfer ownership: None Nullable: False

SetPages(IntPtr, PrintPages)

Calls native method gtk_print_job_set_pages.

public static extern void SetPages(IntPtr job, PrintPages pages)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

pages PrintPages

Transfer ownership: None Nullable: False

SetReverse(IntPtr, bool)

Calls native method gtk_print_job_set_reverse.

public static extern void SetReverse(IntPtr job, bool reverse)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

reverse bool

Transfer ownership: None Nullable: False

SetRotate(IntPtr, bool)

Calls native method gtk_print_job_set_rotate.

public static extern void SetRotate(IntPtr job, bool rotate)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

rotate bool

Transfer ownership: None Nullable: False

SetScale(IntPtr, double)

Calls native method gtk_print_job_set_scale.

public static extern void SetScale(IntPtr job, double scale)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

scale double

Transfer ownership: None Nullable: False

SetSourceFd(IntPtr, int, out ErrorOwnedHandle)

Calls native method gtk_print_job_set_source_fd.

public static extern bool SetSourceFd(IntPtr job, int fd, out ErrorOwnedHandle error)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

fd int

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

SetSourceFile(IntPtr, NonNullablePlatformStringHandle, out ErrorOwnedHandle)

Calls native method gtk_print_job_set_source_file.

public static extern bool SetSourceFile(IntPtr job, NonNullablePlatformStringHandle filename, out ErrorOwnedHandle error)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

filename NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

bool

Transfer ownership: None Nullable: False

SetTrackPrintStatus(IntPtr, bool)

Calls native method gtk_print_job_set_track_print_status.

public static extern void SetTrackPrintStatus(IntPtr job, bool trackStatus)

Parameters

job IntPtr

Transfer ownership: None Nullable: False

trackStatus bool

Transfer ownership: None Nullable: False