Table of Contents

Class MountOperation

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class MountOperation : MountOperation, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
MountOperation
Implements
Inherited Members

Constructors

MountOperation(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public MountOperation(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

MountOperation(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected MountOperation(CreationData data)

Parameters

data CreationData

MountOperation(MountOperationHandle)

protected MountOperation(MountOperationHandle handle)

Parameters

handle MountOperationHandle

Fields

DisplayPropertyDefinition

public static readonly Property<Display?, MountOperation> DisplayPropertyDefinition

Field Value

Property<Display, MountOperation>

IsShowingPropertyDefinition

public static readonly Property<bool, MountOperation> IsShowingPropertyDefinition

Field Value

Property<bool, MountOperation>

ParentPropertyDefinition

public static readonly Property<Window?, MountOperation> ParentPropertyDefinition

Field Value

Property<Window, MountOperation>

Properties

Display

public Display? Display { get; set; }

Property Value

Display

IsShowing

public bool IsShowing { get; }

Property Value

bool

Parent

public Window? Parent { get; set; }

Property Value

Window

Methods

GetDisplay()

public Display GetDisplay()

Returns

Display

GetGType()

public static Type GetGType()

Returns

Type

GetIsShowing()

public bool GetIsShowing()

Returns

bool

GetParent()

public Window? GetParent()

Returns

Window

New(Window?)

public static MountOperation New(Window? parent)

Parameters

parent Window

Returns

MountOperation

NewFromPointer(nint, bool)

Creates a new managed MountOperation instance for a given pointer.

public static MountOperation NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

MountOperation

NewWithProperties(ConstructArgument[])

Creates a new MountOperation and sets the properties specified by the construct arguments.

public static MountOperation NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

MountOperation

SetDisplay(Display)

public void SetDisplay(Display display)

Parameters

display Display

SetParent(Window?)

public void SetParent(Window? parent)

Parameters

parent Window