Table of Contents

Class MarkAttributes

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

Methods

GetGType()

Calls native function gtk_source_mark_attributes_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetGicon(IntPtr)

Calls native method gtk_source_mark_attributes_get_gicon.

public static extern IntPtr GetGicon(IntPtr attributes)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetIconName(IntPtr)

Calls native method gtk_source_mark_attributes_get_icon_name.

public static extern NonNullableUtf8StringUnownedHandle GetIconName(IntPtr attributes)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetPixbuf(IntPtr)

Calls native method gtk_source_mark_attributes_get_pixbuf.

public static extern IntPtr GetPixbuf(IntPtr attributes)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetTooltipMarkup(IntPtr, IntPtr)

Calls native method gtk_source_mark_attributes_get_tooltip_markup.

public static extern NonNullableUtf8StringOwnedHandle GetTooltipMarkup(IntPtr attributes, IntPtr mark)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

mark IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

GetTooltipText(IntPtr, IntPtr)

Calls native method gtk_source_mark_attributes_get_tooltip_text.

public static extern NonNullableUtf8StringOwnedHandle GetTooltipText(IntPtr attributes, IntPtr mark)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

mark IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

New()

Calls native constructor gtk_source_mark_attributes_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

RenderIcon(IntPtr, IntPtr, int)

Calls native method gtk_source_mark_attributes_render_icon.

public static extern IntPtr RenderIcon(IntPtr attributes, IntPtr widget, int size)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

widget IntPtr

Transfer ownership: None Nullable: False

size int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetBackground(IntPtr, RGBAHandle)

Calls native method gtk_source_mark_attributes_set_background.

public static extern void SetBackground(IntPtr attributes, RGBAHandle background)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

background RGBAHandle

Transfer ownership: None Nullable: False

SetGicon(IntPtr, IntPtr)

Calls native method gtk_source_mark_attributes_set_gicon.

public static extern void SetGicon(IntPtr attributes, IntPtr gicon)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

gicon IntPtr

Transfer ownership: None Nullable: False

SetIconName(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_source_mark_attributes_set_icon_name.

public static extern void SetIconName(IntPtr attributes, NonNullableUtf8StringHandle iconName)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

iconName NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetPixbuf(IntPtr, IntPtr)

Calls native method gtk_source_mark_attributes_set_pixbuf.

public static extern void SetPixbuf(IntPtr attributes, IntPtr pixbuf)

Parameters

attributes IntPtr

Transfer ownership: None Nullable: False

pixbuf IntPtr

Transfer ownership: None Nullable: False