Interface CompletionProposal

All Superinterfaces:
Proxy
All Known Implementing Classes:
CompletionProposal.CompletionProposal$Impl

@Generated("org.javagi.JavaGI") public interface CompletionProposal extends Proxy

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 Classes
    Modifier and Type
    Interface
    Description
    static class 
    The CompletionProposal$Impl type represents a native instance of the CompletionProposal interface.
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Get the GType of the CompletionProposal class.
    default @Nullable String
    Gets the typed-text for the proposal, if supported by the implementation.

    Methods inherited from interface Proxy

    handle
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the CompletionProposal class.
      Returns:
      the GType
    • getTypedText

      default @Nullable String 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