Class PrintJob
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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
IntPtrTransfer 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
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
printer
IntPtrTransfer ownership: None Nullable: False
settings
IntPtrTransfer ownership: None Nullable: False
pageSetup
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
callback
PrintJobCompleteFuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
dnotify
DestroyNotifyTransfer 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
IntPtrTransfer ownership: None Nullable: False
collate
boolTransfer 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
IntPtrTransfer ownership: None Nullable: False
nUp
uintTransfer 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
IntPtrTransfer ownership: None Nullable: False
layout
NumberUpLayoutTransfer 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
IntPtrTransfer ownership: None Nullable: False
numCopies
intTransfer 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
IntPtrTransfer ownership: None Nullable: False
ranges
PageRangeArrayHandleTransfer ownership: Full Nullable: False
nRanges
intTransfer 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
IntPtrTransfer ownership: None Nullable: False
pageSet
PageSetTransfer 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
IntPtrTransfer ownership: None Nullable: False
pages
PrintPagesTransfer 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
IntPtrTransfer ownership: None Nullable: False
reverse
boolTransfer 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
IntPtrTransfer ownership: None Nullable: False
rotate
boolTransfer 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
IntPtrTransfer ownership: None Nullable: False
scale
doubleTransfer 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
IntPtrTransfer ownership: None Nullable: False
fd
intTransfer 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
IntPtrTransfer ownership: None Nullable: False
filename
NonNullablePlatformStringHandleTransfer 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)