Class SnippetContext
public class SnippetContext
- Inheritance
-
SnippetContext
- Inherited Members
Methods
ClearVariables(IntPtr)
Calls native method gtk_source_snippet_context_clear_variables.
public static extern void ClearVariables(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Expand(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_source_snippet_context_expand.
public static extern NonNullableUtf8StringOwnedHandle Expand(IntPtr self, NonNullableUtf8StringHandle input)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
input
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetGType()
Calls native function gtk_source_snippet_context_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetVariable(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_source_snippet_context_get_variable.
public static extern NullableUtf8StringUnownedHandle GetVariable(IntPtr self, NonNullableUtf8StringHandle key)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
key
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
New()
Calls native constructor gtk_source_snippet_context_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
SetConstant(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method gtk_source_snippet_context_set_constant.
public static extern void SetConstant(IntPtr self, NonNullableUtf8StringHandle key, NonNullableUtf8StringHandle value)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
key
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
value
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetLinePrefix(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_source_snippet_context_set_line_prefix.
public static extern void SetLinePrefix(IntPtr self, NonNullableUtf8StringHandle linePrefix)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
linePrefix
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetTabWidth(IntPtr, int)
Calls native method gtk_source_snippet_context_set_tab_width.
public static extern void SetTabWidth(IntPtr self, int tabWidth)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
tabWidth
intTransfer ownership: None Nullable: False
SetUseSpaces(IntPtr, bool)
Calls native method gtk_source_snippet_context_set_use_spaces.
public static extern void SetUseSpaces(IntPtr self, bool useSpaces)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
useSpaces
boolTransfer ownership: None Nullable: False
SetVariable(IntPtr, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method gtk_source_snippet_context_set_variable.
public static extern void SetVariable(IntPtr self, NonNullableUtf8StringHandle key, NonNullableUtf8StringHandle value)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
key
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
value
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False