information about proposal, or null if the provider does not have a special info widget.
CompletionProvider.getInfoWidget
gtk.widget.Widget getInfoWidget(gtksource.completion_proposal.CompletionProposal proposal)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>Parameters
proposal | a currently selected #GtkSourceCompletionProposal. |
Returns
a custom #GtkWidget to show extra