Class Completion
- Namespace
- GtkSource
- Assembly
- GtkSource-5.dll
public class Completion : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Completion
- Implements
- Inherited Members
Constructors
Completion(bool, params ConstructArgument[])
protected Completion(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Completion(IntPtr, bool)
protected Completion(IntPtr ptr, bool ownedRef)
Parameters
Fields
BufferPropertyDefinition
public static readonly Property<TextView?, Completion> BufferPropertyDefinition
Field Value
HideSignal
Signal Descriptor for OnHide.
public static readonly Signal<Completion> HideSignal
Field Value
PageSizePropertyDefinition
public static readonly Property<uint, Completion> PageSizePropertyDefinition
Field Value
ProviderAddedSignal
Signal Descriptor for OnProviderAdded.
public static readonly Signal<Completion, Completion.ProviderAddedSignalArgs> ProviderAddedSignal
Field Value
ProviderRemovedSignal
Signal Descriptor for OnProviderRemoved.
public static readonly Signal<Completion, Completion.ProviderRemovedSignalArgs> ProviderRemovedSignal
Field Value
RememberInfoVisibilityPropertyDefinition
public static readonly Property<bool, Completion> RememberInfoVisibilityPropertyDefinition
Field Value
SelectOnShowPropertyDefinition
public static readonly Property<bool, Completion> SelectOnShowPropertyDefinition
Field Value
ShowIconsPropertyDefinition
public static readonly Property<bool, Completion> ShowIconsPropertyDefinition
Field Value
ShowSignal
Signal Descriptor for OnShow.
public static readonly Signal<Completion> ShowSignal
Field Value
ViewPropertyDefinition
public static readonly Property<View?, Completion> ViewPropertyDefinition
Field Value
Properties
Buffer
public TextView? Buffer { get; }
Property Value
PageSize
public uint PageSize { get; set; }
Property Value
RememberInfoVisibility
public bool RememberInfoVisibility { get; set; }
Property Value
SelectOnShow
public bool SelectOnShow { get; set; }
Property Value
ShowIcons
public bool ShowIcons { get; set; }
Property Value
View
public View? View { get; }
Property Value
Methods
AddProvider(CompletionProvider)
public void AddProvider(CompletionProvider provider)
Parameters
provider
CompletionProvider
BlockInteractive()
public void BlockInteractive()
FuzzyHighlight(string, string)
public static AttrList? FuzzyHighlight(string haystack, string casefoldQuery)
Parameters
Returns
FuzzyMatch(string?, string, out uint)
public static bool FuzzyMatch(string? haystack, string casefoldNeedle, out uint priority)
Parameters
Returns
GetBuffer()
public Buffer GetBuffer()
Returns
GetGType()
public static Type GetGType()
Returns
GetPageSize()
public uint GetPageSize()
Returns
GetView()
public View GetView()
Returns
Hide()
public void Hide()
RemoveProvider(CompletionProvider)
public void RemoveProvider(CompletionProvider provider)
Parameters
provider
CompletionProvider
SetPageSize(uint)
public void SetPageSize(uint pageSize)
Parameters
pageSize
uint
Show()
public void Show()
UnblockInteractive()
public void UnblockInteractive()
Events
OnHide
public event SignalHandler<Completion> OnHide
Event Type
OnProviderAdded
public event SignalHandler<Completion, Completion.ProviderAddedSignalArgs> OnProviderAdded
Event Type
OnProviderRemoved
public event SignalHandler<Completion, Completion.ProviderRemovedSignalArgs> OnProviderRemoved
Event Type
OnShow
public event SignalHandler<Completion> OnShow