Table of Contents

Class View

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

Methods

GetAutoIndent(IntPtr)

Calls native method gtk_source_view_get_auto_indent.

public static extern bool GetAutoIndent(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetBackgroundPattern(IntPtr)

Calls native method gtk_source_view_get_background_pattern.

public static extern BackgroundPatternType GetBackgroundPattern(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

BackgroundPatternType

Transfer ownership: None Nullable: False

GetCompletion(IntPtr)

Calls native method gtk_source_view_get_completion.

public static extern IntPtr GetCompletion(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetEnableSnippets(IntPtr)

Calls native method gtk_source_view_get_enable_snippets.

public static extern bool GetEnableSnippets(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_source_view_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetGutter(IntPtr, TextWindowType)

Calls native method gtk_source_view_get_gutter.

public static extern IntPtr GetGutter(IntPtr view, TextWindowType windowType)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

windowType TextWindowType

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetHighlightCurrentLine(IntPtr)

Calls native method gtk_source_view_get_highlight_current_line.

public static extern bool GetHighlightCurrentLine(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetHover(IntPtr)

Calls native method gtk_source_view_get_hover.

public static extern IntPtr GetHover(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetIndentOnTab(IntPtr)

Calls native method gtk_source_view_get_indent_on_tab.

public static extern bool GetIndentOnTab(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetIndentWidth(IntPtr)

Calls native method gtk_source_view_get_indent_width.

public static extern int GetIndentWidth(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetIndenter(IntPtr)

Calls native method gtk_source_view_get_indenter.

public static extern IntPtr GetIndenter(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetInsertSpacesInsteadOfTabs(IntPtr)

Calls native method gtk_source_view_get_insert_spaces_instead_of_tabs.

public static extern bool GetInsertSpacesInsteadOfTabs(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetMarkAttributes(IntPtr, NonNullableUtf8StringHandle, ref int)

Calls native method gtk_source_view_get_mark_attributes.

public static extern IntPtr GetMarkAttributes(IntPtr view, NonNullableUtf8StringHandle category, ref int priority)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

category NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

priority int

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetRightMarginPosition(IntPtr)

Calls native method gtk_source_view_get_right_margin_position.

public static extern uint GetRightMarginPosition(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetShowLineMarks(IntPtr)

Calls native method gtk_source_view_get_show_line_marks.

public static extern bool GetShowLineMarks(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetShowLineNumbers(IntPtr)

Calls native method gtk_source_view_get_show_line_numbers.

public static extern bool GetShowLineNumbers(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetShowRightMargin(IntPtr)

Calls native method gtk_source_view_get_show_right_margin.

public static extern bool GetShowRightMargin(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetSmartBackspace(IntPtr)

Calls native method gtk_source_view_get_smart_backspace.

public static extern bool GetSmartBackspace(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetSmartHomeEnd(IntPtr)

Calls native method gtk_source_view_get_smart_home_end.

public static extern SmartHomeEndType GetSmartHomeEnd(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

SmartHomeEndType

Transfer ownership: None Nullable: False

GetSpaceDrawer(IntPtr)

Calls native method gtk_source_view_get_space_drawer.

public static extern IntPtr GetSpaceDrawer(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetTabWidth(IntPtr)

Calls native method gtk_source_view_get_tab_width.

public static extern uint GetTabWidth(IntPtr view)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetVisualColumn(IntPtr, TextIterHandle)

Calls native method gtk_source_view_get_visual_column.

public static extern uint GetVisualColumn(IntPtr view, TextIterHandle iter)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

iter TextIterHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

IndentLines(IntPtr, TextIterHandle, TextIterHandle)

Calls native method gtk_source_view_indent_lines.

public static extern void IndentLines(IntPtr view, TextIterHandle start, TextIterHandle end)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

start TextIterHandle

Transfer ownership: None Nullable: False

end TextIterHandle

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_source_view_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithBuffer(IntPtr)

Calls native constructor gtk_source_view_new_with_buffer.

public static extern IntPtr NewWithBuffer(IntPtr buffer)

Parameters

buffer IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

PushSnippet(IntPtr, IntPtr, TextIterHandle)

Calls native method gtk_source_view_push_snippet.

public static extern void PushSnippet(IntPtr view, IntPtr snippet, TextIterHandle location)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

snippet IntPtr

Transfer ownership: None Nullable: False

location TextIterHandle

Transfer ownership: None Nullable: True

SetAutoIndent(IntPtr, bool)

Calls native method gtk_source_view_set_auto_indent.

public static extern void SetAutoIndent(IntPtr view, bool enable)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

enable bool

Transfer ownership: None Nullable: False

SetBackgroundPattern(IntPtr, BackgroundPatternType)

Calls native method gtk_source_view_set_background_pattern.

public static extern void SetBackgroundPattern(IntPtr view, BackgroundPatternType backgroundPattern)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

backgroundPattern BackgroundPatternType

Transfer ownership: None Nullable: False

SetEnableSnippets(IntPtr, bool)

Calls native method gtk_source_view_set_enable_snippets.

public static extern void SetEnableSnippets(IntPtr view, bool enableSnippets)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

enableSnippets bool

Transfer ownership: None Nullable: False

SetHighlightCurrentLine(IntPtr, bool)

Calls native method gtk_source_view_set_highlight_current_line.

public static extern void SetHighlightCurrentLine(IntPtr view, bool highlight)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

highlight bool

Transfer ownership: None Nullable: False

SetIndentOnTab(IntPtr, bool)

Calls native method gtk_source_view_set_indent_on_tab.

public static extern void SetIndentOnTab(IntPtr view, bool enable)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

enable bool

Transfer ownership: None Nullable: False

SetIndentWidth(IntPtr, int)

Calls native method gtk_source_view_set_indent_width.

public static extern void SetIndentWidth(IntPtr view, int width)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

width int

Transfer ownership: None Nullable: False

SetIndenter(IntPtr, IntPtr)

Calls native method gtk_source_view_set_indenter.

public static extern void SetIndenter(IntPtr view, IntPtr indenter)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

indenter IntPtr

Transfer ownership: None Nullable: True

SetInsertSpacesInsteadOfTabs(IntPtr, bool)

Calls native method gtk_source_view_set_insert_spaces_instead_of_tabs.

public static extern void SetInsertSpacesInsteadOfTabs(IntPtr view, bool enable)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

enable bool

Transfer ownership: None Nullable: False

SetMarkAttributes(IntPtr, NonNullableUtf8StringHandle, IntPtr, int)

Calls native method gtk_source_view_set_mark_attributes.

public static extern void SetMarkAttributes(IntPtr view, NonNullableUtf8StringHandle category, IntPtr attributes, int priority)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

category NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

attributes IntPtr

Transfer ownership: None Nullable: False

priority int

Transfer ownership: None Nullable: False

SetRightMarginPosition(IntPtr, uint)

Calls native method gtk_source_view_set_right_margin_position.

public static extern void SetRightMarginPosition(IntPtr view, uint pos)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

pos uint

Transfer ownership: None Nullable: False

SetShowLineMarks(IntPtr, bool)

Calls native method gtk_source_view_set_show_line_marks.

public static extern void SetShowLineMarks(IntPtr view, bool show)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

show bool

Transfer ownership: None Nullable: False

SetShowLineNumbers(IntPtr, bool)

Calls native method gtk_source_view_set_show_line_numbers.

public static extern void SetShowLineNumbers(IntPtr view, bool show)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

show bool

Transfer ownership: None Nullable: False

SetShowRightMargin(IntPtr, bool)

Calls native method gtk_source_view_set_show_right_margin.

public static extern void SetShowRightMargin(IntPtr view, bool show)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

show bool

Transfer ownership: None Nullable: False

SetSmartBackspace(IntPtr, bool)

Calls native method gtk_source_view_set_smart_backspace.

public static extern void SetSmartBackspace(IntPtr view, bool smartBackspace)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

smartBackspace bool

Transfer ownership: None Nullable: False

SetSmartHomeEnd(IntPtr, SmartHomeEndType)

Calls native method gtk_source_view_set_smart_home_end.

public static extern void SetSmartHomeEnd(IntPtr view, SmartHomeEndType smartHomeEnd)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

smartHomeEnd SmartHomeEndType

Transfer ownership: None Nullable: False

SetTabWidth(IntPtr, uint)

Calls native method gtk_source_view_set_tab_width.

public static extern void SetTabWidth(IntPtr view, uint width)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

width uint

Transfer ownership: None Nullable: False

UnindentLines(IntPtr, TextIterHandle, TextIterHandle)

Calls native method gtk_source_view_unindent_lines.

public static extern void UnindentLines(IntPtr view, TextIterHandle start, TextIterHandle end)

Parameters

view IntPtr

Transfer ownership: None Nullable: False

start TextIterHandle

Transfer ownership: None Nullable: False

end TextIterHandle

Transfer ownership: None Nullable: False