Table of Contents

Class GutterRendererText

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

Methods

GetGType()

Calls native function gtk_source_gutter_renderer_text_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

Measure(IntPtr, NonNullableUtf8StringHandle, out int, out int)

Calls native method gtk_source_gutter_renderer_text_measure.

public static extern void Measure(IntPtr renderer, NonNullableUtf8StringHandle text, out int width, out int height)

Parameters

renderer IntPtr

Transfer ownership: None Nullable: False

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

MeasureMarkup(IntPtr, NonNullableUtf8StringHandle, out int, out int)

Calls native method gtk_source_gutter_renderer_text_measure_markup.

public static extern void MeasureMarkup(IntPtr renderer, NonNullableUtf8StringHandle markup, out int width, out int height)

Parameters

renderer IntPtr

Transfer ownership: None Nullable: False

markup NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

width int

Transfer ownership: Full Nullable: False

height int

Transfer ownership: Full Nullable: False

New()

Calls native constructor gtk_source_gutter_renderer_text_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetMarkup(IntPtr, NonNullableUtf8StringHandle, int)

Calls native method gtk_source_gutter_renderer_text_set_markup.

public static extern void SetMarkup(IntPtr renderer, NonNullableUtf8StringHandle markup, int length)

Parameters

renderer IntPtr

Transfer ownership: None Nullable: False

markup NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

length int

Transfer ownership: None Nullable: False

SetText(IntPtr, NonNullableUtf8StringHandle, int)

Calls native method gtk_source_gutter_renderer_text_set_text.

public static extern void SetText(IntPtr renderer, NonNullableUtf8StringHandle text, int length)

Parameters

renderer IntPtr

Transfer ownership: None Nullable: False

text NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

length int

Transfer ownership: None Nullable: False