Get a customized info widget to show extra information of a proposal.
This allows for customized widgets on a proposal basis, although in general
providers will have the same custom widget for all their proposals and
proposal can be ignored. The implementation of this function is optional.
Get a customized info widget to show extra information of a proposal. This allows for customized widgets on a proposal basis, although in general providers will have the same custom widget for all their proposals and proposal can be ignored. The implementation of this function is optional.
If this function is not implemented, the default widget is a #GtkLabel. The return value of gtksource.completion_proposal.CompletionProposal.getInfo is used as the content of the #GtkLabel.
<note> <para> If implemented, gtksource.completion_provider.CompletionProvider.updateInfo <emphasis>must</emphasis> also be implemented. </para> </note>