Table of Contents

Class SpaceDrawer

Namespace
GtkSource.Internal
Assembly
GtkSource-5.dll
public class SpaceDrawer
Inheritance
SpaceDrawer
Inherited Members

Methods

BindMatrixSetting(IntPtr, IntPtr, NonNullableUtf8StringHandle, SettingsBindFlags)

Calls native method gtk_source_space_drawer_bind_matrix_setting.

public static extern void BindMatrixSetting(IntPtr drawer, IntPtr settings, NonNullableUtf8StringHandle key, SettingsBindFlags flags)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

settings IntPtr

Transfer ownership: None Nullable: False

key NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

flags SettingsBindFlags

Transfer ownership: None Nullable: False

GetEnableMatrix(IntPtr)

Calls native method gtk_source_space_drawer_get_enable_matrix.

public static extern bool GetEnableMatrix(IntPtr drawer)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_source_space_drawer_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMatrix(IntPtr)

Calls native method gtk_source_space_drawer_get_matrix.

public static extern VariantOwnedHandle GetMatrix(IntPtr drawer)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

Returns

VariantOwnedHandle

Transfer ownership: Full Nullable: False

GetTypesForLocations(IntPtr, SpaceLocationFlags)

Calls native method gtk_source_space_drawer_get_types_for_locations.

public static extern SpaceTypeFlags GetTypesForLocations(IntPtr drawer, SpaceLocationFlags locations)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

locations SpaceLocationFlags

Transfer ownership: None Nullable: False

Returns

SpaceTypeFlags

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_source_space_drawer_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetEnableMatrix(IntPtr, bool)

Calls native method gtk_source_space_drawer_set_enable_matrix.

public static extern void SetEnableMatrix(IntPtr drawer, bool enableMatrix)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

enableMatrix bool

Transfer ownership: None Nullable: False

SetMatrix(IntPtr, VariantHandle)

Calls native method gtk_source_space_drawer_set_matrix.

public static extern void SetMatrix(IntPtr drawer, VariantHandle matrix)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

matrix VariantHandle

Transfer ownership: None Nullable: True

SetTypesForLocations(IntPtr, SpaceLocationFlags, SpaceTypeFlags)

Calls native method gtk_source_space_drawer_set_types_for_locations.

public static extern void SetTypesForLocations(IntPtr drawer, SpaceLocationFlags locations, SpaceTypeFlags types)

Parameters

drawer IntPtr

Transfer ownership: None Nullable: False

locations SpaceLocationFlags

Transfer ownership: None Nullable: False

types SpaceTypeFlags

Transfer ownership: None Nullable: False