Table of Contents

Class PrintDialog

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

Constructors

PrintDialog(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

PrintDialog(IntPtr, bool)

protected PrintDialog(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AcceptLabelPropertyDefinition

public static readonly Property<string?, PrintDialog> AcceptLabelPropertyDefinition

Field Value

Property<string, PrintDialog>

ModalPropertyDefinition

public static readonly Property<bool, PrintDialog> ModalPropertyDefinition

Field Value

Property<bool, PrintDialog>

PageSetupPropertyDefinition

public static readonly Property<PageSetup?, PrintDialog> PageSetupPropertyDefinition

Field Value

Property<PageSetup, PrintDialog>

PrintSettingsPropertyDefinition

public static readonly Property<PrintSettings?, PrintDialog> PrintSettingsPropertyDefinition

Field Value

Property<PrintSettings, PrintDialog>

TitlePropertyDefinition

public static readonly Property<string?, PrintDialog> TitlePropertyDefinition

Field Value

Property<string, PrintDialog>

Properties

AcceptLabel

public string? AcceptLabel { get; set; }

Property Value

string

Modal

public bool Modal { get; set; }

Property Value

bool

PageSetup

public PageSetup? PageSetup { get; set; }

Property Value

PageSetup

PrintSettings

public PrintSettings? PrintSettings { get; set; }

Property Value

PrintSettings

Title

public string? Title { get; set; }

Property Value

string

Methods

GetAcceptLabel()

[Version("4.14")]
public string GetAcceptLabel()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetModal()

[Version("4.14")]
public bool GetModal()

Returns

bool

GetPageSetup()

[Version("4.14")]
public PageSetup GetPageSetup()

Returns

PageSetup

GetPrintSettings()

[Version("4.14")]
public PrintSettings GetPrintSettings()

Returns

PrintSettings

GetTitle()

[Version("4.14")]
public string GetTitle()

Returns

string

New()

[Version("4.14")]
public static PrintDialog New()

Returns

PrintDialog

PrintFileFinish(AsyncResult)

[Version("4.14")]
public bool PrintFileFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

PrintFinish(AsyncResult)

[Version("4.14")]
public OutputStream? PrintFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

OutputStream

SetAcceptLabel(string)

[Version("4.14")]
public void SetAcceptLabel(string acceptLabel)

Parameters

acceptLabel string

SetModal(bool)

[Version("4.14")]
public void SetModal(bool modal)

Parameters

modal bool

SetPageSetup(PageSetup)

[Version("4.14")]
public void SetPageSetup(PageSetup pageSetup)

Parameters

pageSetup PageSetup

SetPrintSettings(PrintSettings)

[Version("4.14")]
public void SetPrintSettings(PrintSettings printSettings)

Parameters

printSettings PrintSettings

SetTitle(string)

[Version("4.14")]
public void SetTitle(string title)

Parameters

title string

SetupFinish(AsyncResult)

[Version("4.14")]
public PrintSetup? SetupFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

PrintSetup