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
constructArgumentsConstructArgument[]
MountOperation(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected MountOperation(CreationData data)
Parameters
dataCreationData
MountOperation(MountOperationHandle)
protected MountOperation(MountOperationHandle handle)
Parameters
handleMountOperationHandle
Fields
DisplayPropertyDefinition
public static readonly Property<Display?, MountOperation> DisplayPropertyDefinition
Field Value
IsShowingPropertyDefinition
public static readonly Property<bool, MountOperation> IsShowingPropertyDefinition
Field Value
ParentPropertyDefinition
public static readonly Property<Window?, MountOperation> ParentPropertyDefinition
Field Value
Properties
Display
public Display? Display { get; set; }
Property Value
IsShowing
public bool IsShowing { get; }
Property Value
Parent
public Window? Parent { get; set; }
Property Value
Methods
GetDisplay()
public Display GetDisplay()
Returns
GetGType()
public static Type GetGType()
Returns
GetIsShowing()
public bool GetIsShowing()
Returns
GetParent()
public Window? GetParent()
Returns
New(Window?)
public static MountOperation New(Window? parent)
Parameters
parentWindow
Returns
NewFromPointer(nint, bool)
Creates a new managed MountOperation instance for a given pointer.
public static MountOperation NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new MountOperation and sets the properties specified by the construct arguments.
public static MountOperation NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetDisplay(Display)
public void SetDisplay(Display display)
Parameters
displayDisplay
SetParent(Window?)
public void SetParent(Window? parent)
Parameters
parentWindow