Table of Contents

Class SpaceDrawer

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class SpaceDrawer : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
SpaceDrawer
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

SpaceDrawer(CreationData)

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

Parameters

data CreationData

SpaceDrawer(SpaceDrawerHandle)

protected SpaceDrawer(SpaceDrawerHandle handle)

Parameters

handle SpaceDrawerHandle

Fields

EnableMatrixPropertyDefinition

public static readonly Property<bool, SpaceDrawer> EnableMatrixPropertyDefinition

Field Value

Property<bool, SpaceDrawer>

Properties

EnableMatrix

public bool EnableMatrix { get; set; }

Property Value

bool

Methods

BindMatrixSetting(Settings, string, SettingsBindFlags)

public void BindMatrixSetting(Settings settings, string key, SettingsBindFlags flags)

Parameters

settings Settings
key string
flags SettingsBindFlags

GetEnableMatrix()

public bool GetEnableMatrix()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetMatrix()

public Variant GetMatrix()

Returns

Variant

GetTypesForLocations(SpaceLocationFlags)

public SpaceTypeFlags GetTypesForLocations(SpaceLocationFlags locations)

Parameters

locations SpaceLocationFlags

Returns

SpaceTypeFlags

New()

public static SpaceDrawer New()

Returns

SpaceDrawer

NewFromPointer(nint, bool)

Creates a new managed SpaceDrawer instance for a given pointer.

public static SpaceDrawer NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SpaceDrawer

NewWithProperties(ConstructArgument[])

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

public static SpaceDrawer NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SpaceDrawer

SetEnableMatrix(bool)

public void SetEnableMatrix(bool enableMatrix)

Parameters

enableMatrix bool

SetMatrix(Variant?)

public void SetMatrix(Variant? matrix)

Parameters

matrix Variant

SetTypesForLocations(SpaceLocationFlags, SpaceTypeFlags)

public void SetTypesForLocations(SpaceLocationFlags locations, SpaceTypeFlags types)

Parameters

locations SpaceLocationFlags
types SpaceTypeFlags