Package org.gnome.gtksourceview
Interface CompletionProposal
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
CompletionProposal.CompletionProposal$Impl
Interface for completion proposals.
This interface is used to denote that an object is capable of being
a completion proposal for Completion.
Currently, no method or functions are required but additional methods
may be added in the future. Proposals created by
GtkSourceCompletionProvider can use org.gnome.gobject.GObjects#IMPLEMENTINTERFACE to
implement this with null for the interface init function.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe CompletionProposal$Impl type represents a native instance of the CompletionProposal interface.static class -
Method Summary
-
Method Details
-
getType
-
getTypedText
Gets the typed-text for the proposal, if supported by the implementation.Implementing this virtual-function is optional, but can be useful to allow external tooling to compare results.
- Returns:
- a newly allocated string, or
null - Since:
- 5.6
-