Class NativeDialog
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class NativeDialog : Object, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
NativeDialog
- Implements
- Derived
- Inherited Members
Constructors
NativeDialog(params ConstructArgument[])
public NativeDialog(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
NativeDialog(NativeDialogHandle)
public NativeDialog(NativeDialogHandle handle)
Parameters
handle
NativeDialogHandle
Fields
ModalPropertyDefinition
public static readonly Property<bool, NativeDialog> ModalPropertyDefinition
Field Value
ResponseSignal
Signal Descriptor for OnResponse.
public static readonly Signal<NativeDialog, NativeDialog.ResponseSignalArgs> ResponseSignal
Field Value
TitlePropertyDefinition
public static readonly Property<string?, NativeDialog> TitlePropertyDefinition
Field Value
TransientForPropertyDefinition
public static readonly Property<Window?, NativeDialog> TransientForPropertyDefinition
Field Value
VisiblePropertyDefinition
public static readonly Property<bool, NativeDialog> VisiblePropertyDefinition
Field Value
Properties
Modal
public bool Modal { get; set; }
Property Value
Title
public string? Title { get; set; }
Property Value
TransientFor
public Window? TransientFor { get; set; }
Property Value
Visible
public bool Visible { get; set; }
Property Value
Methods
Destroy()
public void Destroy()
GetGType()
public static Type GetGType()
Returns
GetModal()
public bool GetModal()
Returns
GetTitle()
public string? GetTitle()
Returns
GetTransientFor()
public Window? GetTransientFor()
Returns
GetVisible()
public bool GetVisible()
Returns
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