Table of Contents

Class Text

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class Text
Inheritance
Text
Inherited Members

Methods

GetActivatesDefault(IntPtr)

Calls native method gtk_text_get_activates_default.

public static extern bool GetActivatesDefault(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetAttributes(IntPtr)

Calls native method gtk_text_get_attributes.

public static extern AttrListUnownedHandle GetAttributes(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

AttrListUnownedHandle

Transfer ownership: None Nullable: True

GetBuffer(IntPtr)

Calls native method gtk_text_get_buffer.

public static extern IntPtr GetBuffer(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetEnableEmojiCompletion(IntPtr)

Calls native method gtk_text_get_enable_emoji_completion.

public static extern bool GetEnableEmojiCompletion(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetExtraMenu(IntPtr)

Calls native method gtk_text_get_extra_menu.

public static extern IntPtr GetExtraMenu(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_text_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetInputHints(IntPtr)

Calls native method gtk_text_get_input_hints.

public static extern InputHints GetInputHints(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

InputHints

Transfer ownership: None Nullable: False

GetInputPurpose(IntPtr)

Calls native method gtk_text_get_input_purpose.

public static extern InputPurpose GetInputPurpose(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

InputPurpose

Transfer ownership: None Nullable: False

GetInvisibleChar(IntPtr)

Calls native method gtk_text_get_invisible_char.

public static extern uint GetInvisibleChar(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetMaxLength(IntPtr)

Calls native method gtk_text_get_max_length.

public static extern int GetMaxLength(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetOverwriteMode(IntPtr)

Calls native method gtk_text_get_overwrite_mode.

public static extern bool GetOverwriteMode(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetPlaceholderText(IntPtr)

Calls native method gtk_text_get_placeholder_text.

public static extern NullableUtf8StringUnownedHandle GetPlaceholderText(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetPropagateTextWidth(IntPtr)

Calls native method gtk_text_get_propagate_text_width.

public static extern bool GetPropagateTextWidth(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTabs(IntPtr)

Calls native method gtk_text_get_tabs.

public static extern TabArrayUnownedHandle GetTabs(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

TabArrayUnownedHandle

Transfer ownership: None Nullable: True

GetTextLength(IntPtr)

Calls native method gtk_text_get_text_length.

public static extern ushort GetTextLength(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

ushort

Transfer ownership: None Nullable: False

GetTruncateMultiline(IntPtr)

Calls native method gtk_text_get_truncate_multiline.

public static extern bool GetTruncateMultiline(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetVisibility(IntPtr)

Calls native method gtk_text_get_visibility.

public static extern bool GetVisibility(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GrabFocusWithoutSelecting(IntPtr)

Calls native method gtk_text_grab_focus_without_selecting.

public static extern bool GrabFocusWithoutSelecting(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_text_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithBuffer(IntPtr)

Calls native constructor gtk_text_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

SetActivatesDefault(IntPtr, bool)

Calls native method gtk_text_set_activates_default.

public static extern void SetActivatesDefault(IntPtr self, bool activates)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

activates bool

Transfer ownership: None Nullable: False

SetAttributes(IntPtr, AttrListHandle)

Calls native method gtk_text_set_attributes.

public static extern void SetAttributes(IntPtr self, AttrListHandle attrs)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

attrs AttrListHandle

Transfer ownership: None Nullable: True

SetBuffer(IntPtr, IntPtr)

Calls native method gtk_text_set_buffer.

public static extern void SetBuffer(IntPtr self, IntPtr buffer)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

buffer IntPtr

Transfer ownership: None Nullable: False

SetEnableEmojiCompletion(IntPtr, bool)

Calls native method gtk_text_set_enable_emoji_completion.

public static extern void SetEnableEmojiCompletion(IntPtr self, bool enableEmojiCompletion)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

enableEmojiCompletion bool

Transfer ownership: None Nullable: False

SetExtraMenu(IntPtr, IntPtr)

Calls native method gtk_text_set_extra_menu.

public static extern void SetExtraMenu(IntPtr self, IntPtr model)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: True

SetInputHints(IntPtr, InputHints)

Calls native method gtk_text_set_input_hints.

public static extern void SetInputHints(IntPtr self, InputHints hints)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

hints InputHints

Transfer ownership: None Nullable: False

SetInputPurpose(IntPtr, InputPurpose)

Calls native method gtk_text_set_input_purpose.

public static extern void SetInputPurpose(IntPtr self, InputPurpose purpose)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

purpose InputPurpose

Transfer ownership: None Nullable: False

SetInvisibleChar(IntPtr, uint)

Calls native method gtk_text_set_invisible_char.

public static extern void SetInvisibleChar(IntPtr self, uint ch)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

ch uint

Transfer ownership: None Nullable: False

SetMaxLength(IntPtr, int)

Calls native method gtk_text_set_max_length.

public static extern void SetMaxLength(IntPtr self, int length)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

length int

Transfer ownership: None Nullable: False

SetOverwriteMode(IntPtr, bool)

Calls native method gtk_text_set_overwrite_mode.

public static extern void SetOverwriteMode(IntPtr self, bool overwrite)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

overwrite bool

Transfer ownership: None Nullable: False

SetPlaceholderText(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_text_set_placeholder_text.

public static extern void SetPlaceholderText(IntPtr self, NullableUtf8StringHandle text)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

text NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetPropagateTextWidth(IntPtr, bool)

Calls native method gtk_text_set_propagate_text_width.

public static extern void SetPropagateTextWidth(IntPtr self, bool propagateTextWidth)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

propagateTextWidth bool

Transfer ownership: None Nullable: False

SetTabs(IntPtr, TabArrayHandle)

Calls native method gtk_text_set_tabs.

public static extern void SetTabs(IntPtr self, TabArrayHandle tabs)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

tabs TabArrayHandle

Transfer ownership: None Nullable: True

SetTruncateMultiline(IntPtr, bool)

Calls native method gtk_text_set_truncate_multiline.

public static extern void SetTruncateMultiline(IntPtr self, bool truncateMultiline)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

truncateMultiline bool

Transfer ownership: None Nullable: False

SetVisibility(IntPtr, bool)

Calls native method gtk_text_set_visibility.

public static extern void SetVisibility(IntPtr self, bool visible)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

visible bool

Transfer ownership: None Nullable: False

UnsetInvisibleChar(IntPtr)

Calls native method gtk_text_unset_invisible_char.

public static extern void UnsetInvisibleChar(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False