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
constructArgumentsConstructArgument[]
SpaceDrawer(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SpaceDrawer(CreationData data)
Parameters
dataCreationData
SpaceDrawer(SpaceDrawerHandle)
protected SpaceDrawer(SpaceDrawerHandle handle)
Parameters
handleSpaceDrawerHandle
Fields
EnableMatrixPropertyDefinition
public static readonly Property<bool, SpaceDrawer> EnableMatrixPropertyDefinition
Field Value
Properties
EnableMatrix
public bool EnableMatrix { get; set; }
Property Value
Methods
BindMatrixSetting(Settings, string, SettingsBindFlags)
public void BindMatrixSetting(Settings settings, string key, SettingsBindFlags flags)
Parameters
settingsSettingskeystringflagsSettingsBindFlags
GetEnableMatrix()
public bool GetEnableMatrix()
Returns
GetGType()
public static Type GetGType()
Returns
GetMatrix()
public Variant GetMatrix()
Returns
GetTypesForLocations(SpaceLocationFlags)
public SpaceTypeFlags GetTypesForLocations(SpaceLocationFlags locations)
Parameters
locationsSpaceLocationFlags
Returns
New()
public static SpaceDrawer New()
Returns
NewFromPointer(nint, bool)
Creates a new managed SpaceDrawer instance for a given pointer.
public static SpaceDrawer NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SpaceDrawer and sets the properties specified by the construct arguments.
public static SpaceDrawer NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetEnableMatrix(bool)
public void SetEnableMatrix(bool enableMatrix)
Parameters
enableMatrixbool
SetMatrix(Variant?)
public void SetMatrix(Variant? matrix)
Parameters
matrixVariant
SetTypesForLocations(SpaceLocationFlags, SpaceTypeFlags)
public void SetTypesForLocations(SpaceLocationFlags locations, SpaceTypeFlags types)
Parameters
locationsSpaceLocationFlagstypesSpaceTypeFlags