Table of Contents

Class IMContextSimple

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

IMContextSimple(CreationData)

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

Parameters

data CreationData

IMContextSimple(IMContextSimpleHandle)

protected IMContextSimple(IMContextSimpleHandle handle)

Parameters

handle IMContextSimpleHandle

Methods

AddComposeFile(string)

public void AddComposeFile(string composeFile)

Parameters

composeFile string

GetGType()

public static Type GetGType()

Returns

Type

New()

public static IMContextSimple New()

Returns

IMContextSimple

NewFromPointer(nint, bool)

Creates a new managed IMContextSimple instance for a given pointer.

public static IMContextSimple NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

IMContextSimple

NewWithProperties(ConstructArgument[])

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

public static IMContextSimple NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

IMContextSimple