Table of Contents

Class DBusMenuModel

Namespace
Gio
Assembly
Gio-2.0.dll
public class DBusMenuModel : MenuModel, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
DBusMenuModel
Implements
Inherited Members

Constructors

DBusMenuModel(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 DBusMenuModel(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

DBusMenuModel(CreationData)

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

Parameters

data CreationData

DBusMenuModel(DBusMenuModelHandle)

protected DBusMenuModel(DBusMenuModelHandle handle)

Parameters

handle DBusMenuModelHandle

Methods

Get(DBusConnection, string?, string)

[Version("2.32")]
public static DBusMenuModel Get(DBusConnection connection, string? busName, string objectPath)

Parameters

connection DBusConnection
busName string
objectPath string

Returns

DBusMenuModel

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed DBusMenuModel instance for a given pointer.

public static DBusMenuModel NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DBusMenuModel

NewWithProperties(ConstructArgument[])

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

public static DBusMenuModel NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DBusMenuModel