Class CompletionProvider
public class CompletionProvider
- Inheritance
-
CompletionProvider
- Inherited Members
Methods
Activate(IntPtr, IntPtr, IntPtr)
Calls native method gtk_source_completion_provider_activate.
public static extern void Activate(IntPtr self, IntPtr context, IntPtr proposal)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
proposal
IntPtrTransfer ownership: None Nullable: False
Display(IntPtr, IntPtr, IntPtr, IntPtr)
Calls native method gtk_source_completion_provider_display.
public static extern void Display(IntPtr self, IntPtr context, IntPtr proposal, IntPtr cell)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
proposal
IntPtrTransfer ownership: None Nullable: False
cell
IntPtrTransfer ownership: None Nullable: False
GetGType()
Calls native function gtk_source_completion_provider_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetPriority(IntPtr, IntPtr)
Calls native method gtk_source_completion_provider_get_priority.
public static extern int GetPriority(IntPtr self, IntPtr context)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetTitle(IntPtr)
Calls native method gtk_source_completion_provider_get_title.
public static extern NullableUtf8StringOwnedHandle GetTitle(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: True
IsTrigger(IntPtr, TextIterHandle, uint)
Calls native method gtk_source_completion_provider_is_trigger.
public static extern bool IsTrigger(IntPtr self, TextIterHandle iter, uint ch)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
iter
TextIterHandleTransfer ownership: None Nullable: False
ch
uintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
KeyActivates(IntPtr, IntPtr, IntPtr, uint, ModifierType)
Calls native method gtk_source_completion_provider_key_activates.
public static extern bool KeyActivates(IntPtr self, IntPtr context, IntPtr proposal, uint keyval, ModifierType state)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
proposal
IntPtrTransfer ownership: None Nullable: False
keyval
uintTransfer ownership: None Nullable: False
state
ModifierTypeTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
ListAlternates(IntPtr, IntPtr, IntPtr)
Calls native method gtk_source_completion_provider_list_alternates.
public static extern IntPtr ListAlternates(IntPtr self, IntPtr context, IntPtr proposal)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
proposal
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
PopulateAsync(IntPtr, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)
Calls native method gtk_source_completion_provider_populate_async.
public static extern void PopulateAsync(IntPtr self, IntPtr context, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
cancellable
IntPtrTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
IntPtrTransfer ownership: None Nullable: True
PopulateFinish(IntPtr, IntPtr, out ErrorOwnedHandle)
Calls native method gtk_source_completion_provider_populate_finish.
public static extern IntPtr PopulateFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
result
IntPtrTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Refilter(IntPtr, IntPtr, IntPtr)
Calls native method gtk_source_completion_provider_refilter.
public static extern void Refilter(IntPtr self, IntPtr context, IntPtr model)