Table of Contents

Class TypeModule

Namespace
GObject
Assembly
GObject-2.0.dll
public class TypeModule : Object, IObject, INotifyPropertyChanged, IDisposable, TypePlugin, IHandle, GTypeProvider
Inheritance
TypeModule
Implements
Derived
Inherited Members

Constructors

TypeModule(bool, params ConstructArgument[])

protected TypeModule(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

TypeModule(IntPtr, bool)

protected TypeModule(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

AddInterface(Type, Type, InterfaceInfo)

public void AddInterface(Type instanceType, Type interfaceType, InterfaceInfo interfaceInfo)

Parameters

instanceType Type
interfaceType Type
interfaceInfo InterfaceInfo

CompleteInterfaceInfo(Type, Type, InterfaceInfo)

public void CompleteInterfaceInfo(Type instanceType, Type interfaceType, InterfaceInfo info)

Parameters

instanceType Type
interfaceType Type
info InterfaceInfo

CompleteTypeInfo(Type, TypeInfo, TypeValueTable)

public void CompleteTypeInfo(Type gType, TypeInfo info, TypeValueTable valueTable)

Parameters

gType Type
info TypeInfo
valueTable TypeValueTable

GetGType()

public static Type GetGType()

Returns

Type

RegisterEnum(string, EnumValue)

[Version("2.6")]
public Type RegisterEnum(string name, EnumValue constStaticValues)

Parameters

name string
constStaticValues EnumValue

Returns

Type

RegisterFlags(string, FlagsValue)

[Version("2.6")]
public Type RegisterFlags(string name, FlagsValue constStaticValues)

Parameters

name string
constStaticValues FlagsValue

Returns

Type

RegisterType(Type, string, TypeInfo, TypeFlags)

public Type RegisterType(Type parentType, string typeName, TypeInfo typeInfo, TypeFlags flags)

Parameters

parentType Type
typeName string
typeInfo TypeInfo
flags TypeFlags

Returns

Type

SetName(string)

public void SetName(string name)

Parameters

name string

Unuse()

public void Unuse()

Use()

public bool Use()

Returns

bool