Table of Contents

Class IMMulticontext

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

IMMulticontext(CreationData)

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

Parameters

data CreationData

IMMulticontext(IMMulticontextHandle)

protected IMMulticontext(IMMulticontextHandle handle)

Parameters

handle IMMulticontextHandle

Methods

GetContextId()

public string GetContextId()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

New()

public static IMMulticontext New()

Returns

IMMulticontext

NewFromPointer(nint, bool)

Creates a new managed IMMulticontext instance for a given pointer.

public static IMMulticontext NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

IMMulticontext

NewWithProperties(ConstructArgument[])

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

public static IMMulticontext NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

IMMulticontext

SetContextId(string?)

public void SetContextId(string? contextId)

Parameters

contextId string