Table of Contents

Class NativeDialog

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

Constructors

NativeDialog(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

NativeDialog(IntPtr, bool)

protected NativeDialog(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ModalPropertyDefinition

public static readonly Property<bool, NativeDialog> ModalPropertyDefinition

Field Value

Property<bool, NativeDialog>

ResponseSignal

Signal Descriptor for OnResponse.

public static readonly Signal<NativeDialog, NativeDialog.ResponseSignalArgs> ResponseSignal

Field Value

Signal<NativeDialog, NativeDialog.ResponseSignalArgs>

TitlePropertyDefinition

public static readonly Property<string?, NativeDialog> TitlePropertyDefinition

Field Value

Property<string, NativeDialog>

TransientForPropertyDefinition

public static readonly Property<Window?, NativeDialog> TransientForPropertyDefinition

Field Value

Property<Window, NativeDialog>

VisiblePropertyDefinition

public static readonly Property<bool, NativeDialog> VisiblePropertyDefinition

Field Value

Property<bool, NativeDialog>

Properties

Modal

public bool Modal { get; set; }

Property Value

bool

Title

public string? Title { get; set; }

Property Value

string

TransientFor

public Window? TransientFor { get; set; }

Property Value

Window

Visible

public bool Visible { get; set; }

Property Value

bool

Methods

Destroy()

public void Destroy()

GetGType()

public static Type GetGType()

Returns

Type

GetModal()

public bool GetModal()

Returns

bool

GetTitle()

public string? GetTitle()

Returns

string

GetTransientFor()

public Window? GetTransientFor()

Returns

Window

GetVisible()

public bool GetVisible()

Returns

bool

Hide()

public void Hide()

SetModal(bool)

public void SetModal(bool modal)

Parameters

modal bool

SetTitle(string)

public void SetTitle(string title)

Parameters

title string

SetTransientFor(Window?)

public void SetTransientFor(Window? parent)

Parameters

parent Window

Show()

public void Show()

Events

OnResponse

public event SignalHandler<NativeDialog, NativeDialog.ResponseSignalArgs> OnResponse

Event Type

SignalHandler<NativeDialog, NativeDialog.ResponseSignalArgs>