Table of Contents

Class PrintOperation

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

Methods

Cancel(IntPtr)

Calls native method gtk_print_operation_cancel.

public static extern void Cancel(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

DrawPageFinish(IntPtr)

Calls native method gtk_print_operation_draw_page_finish.

public static extern void DrawPageFinish(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

GetDefaultPageSetup(IntPtr)

Calls native method gtk_print_operation_get_default_page_setup.

public static extern IntPtr GetDefaultPageSetup(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetEmbedPageSetup(IntPtr)

Calls native method gtk_print_operation_get_embed_page_setup.

public static extern bool GetEmbedPageSetup(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetError(IntPtr, out ErrorOwnedHandle)

Calls native method gtk_print_operation_get_error.

public static extern void GetError(IntPtr op, out ErrorOwnedHandle error)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

GetGType()

Calls native function gtk_print_operation_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHasSelection(IntPtr)

Calls native method gtk_print_operation_get_has_selection.

public static extern bool GetHasSelection(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetNPagesToPrint(IntPtr)

Calls native method gtk_print_operation_get_n_pages_to_print.

public static extern int GetNPagesToPrint(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetPrintSettings(IntPtr)

Calls native method gtk_print_operation_get_print_settings.

public static extern IntPtr GetPrintSettings(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetStatus(IntPtr)

Calls native method gtk_print_operation_get_status.

public static extern PrintStatus GetStatus(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

PrintStatus

Transfer ownership: None Nullable: False

GetStatusString(IntPtr)

Calls native method gtk_print_operation_get_status_string.

public static extern NonNullableUtf8StringUnownedHandle GetStatusString(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetSupportSelection(IntPtr)

Calls native method gtk_print_operation_get_support_selection.

public static extern bool GetSupportSelection(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

IsFinished(IntPtr)

Calls native method gtk_print_operation_is_finished.

public static extern bool IsFinished(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_print_operation_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

Run(IntPtr, PrintOperationAction, IntPtr, out ErrorOwnedHandle)

Calls native method gtk_print_operation_run.

public static extern PrintOperationResult Run(IntPtr op, PrintOperationAction action, IntPtr parent, out ErrorOwnedHandle error)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

action PrintOperationAction

Transfer ownership: None Nullable: False

parent IntPtr

Transfer ownership: None Nullable: True

error ErrorOwnedHandle

Returns

PrintOperationResult

Transfer ownership: None Nullable: False

SetAllowAsync(IntPtr, bool)

Calls native method gtk_print_operation_set_allow_async.

public static extern void SetAllowAsync(IntPtr op, bool allowAsync)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

allowAsync bool

Transfer ownership: None Nullable: False

SetCurrentPage(IntPtr, int)

Calls native method gtk_print_operation_set_current_page.

public static extern void SetCurrentPage(IntPtr op, int currentPage)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

currentPage int

Transfer ownership: None Nullable: False

SetCustomTabLabel(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_print_operation_set_custom_tab_label.

public static extern void SetCustomTabLabel(IntPtr op, NullableUtf8StringHandle label)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

label NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetDefaultPageSetup(IntPtr, IntPtr)

Calls native method gtk_print_operation_set_default_page_setup.

public static extern void SetDefaultPageSetup(IntPtr op, IntPtr defaultPageSetup)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

defaultPageSetup IntPtr

Transfer ownership: None Nullable: True

SetDeferDrawing(IntPtr)

Calls native method gtk_print_operation_set_defer_drawing.

public static extern void SetDeferDrawing(IntPtr op)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

SetEmbedPageSetup(IntPtr, bool)

Calls native method gtk_print_operation_set_embed_page_setup.

public static extern void SetEmbedPageSetup(IntPtr op, bool embed)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

embed bool

Transfer ownership: None Nullable: False

SetExportFilename(IntPtr, NonNullablePlatformStringHandle)

Calls native method gtk_print_operation_set_export_filename.

public static extern void SetExportFilename(IntPtr op, NonNullablePlatformStringHandle filename)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

filename NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

SetHasSelection(IntPtr, bool)

Calls native method gtk_print_operation_set_has_selection.

public static extern void SetHasSelection(IntPtr op, bool hasSelection)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

hasSelection bool

Transfer ownership: None Nullable: False

SetJobName(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_print_operation_set_job_name.

public static extern void SetJobName(IntPtr op, NonNullableUtf8StringHandle jobName)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

jobName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetNPages(IntPtr, int)

Calls native method gtk_print_operation_set_n_pages.

public static extern void SetNPages(IntPtr op, int nPages)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

nPages int

Transfer ownership: None Nullable: False

SetPrintSettings(IntPtr, IntPtr)

Calls native method gtk_print_operation_set_print_settings.

public static extern void SetPrintSettings(IntPtr op, IntPtr printSettings)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

printSettings IntPtr

Transfer ownership: None Nullable: True

SetShowProgress(IntPtr, bool)

Calls native method gtk_print_operation_set_show_progress.

public static extern void SetShowProgress(IntPtr op, bool showProgress)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

showProgress bool

Transfer ownership: None Nullable: False

SetSupportSelection(IntPtr, bool)

Calls native method gtk_print_operation_set_support_selection.

public static extern void SetSupportSelection(IntPtr op, bool supportSelection)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

supportSelection bool

Transfer ownership: None Nullable: False

SetTrackPrintStatus(IntPtr, bool)

Calls native method gtk_print_operation_set_track_print_status.

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

Parameters

op IntPtr

Transfer ownership: None Nullable: False

trackStatus bool

Transfer ownership: None Nullable: False

SetUnit(IntPtr, Unit)

Calls native method gtk_print_operation_set_unit.

public static extern void SetUnit(IntPtr op, Unit unit)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

unit Unit

Transfer ownership: None Nullable: False

SetUseFullPage(IntPtr, bool)

Calls native method gtk_print_operation_set_use_full_page.

public static extern void SetUseFullPage(IntPtr op, bool fullPage)

Parameters

op IntPtr

Transfer ownership: None Nullable: False

fullPage bool

Transfer ownership: None Nullable: False