SourceCompletionProviderIF.getInfoWidget

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 gtk.Label The return value of Source.completionProposalGetInfo is used as the content of the gtk.Label

<note> <para> If implemented, Source.completionProviderUpdateInfo <emphasis>must</emphasis> also be implemented. </para> </note>

interface SourceCompletionProviderIF
getInfoWidget

Parameters

proposal SourceCompletionProposalIF

a currently selected GtkSourceCompletionProposal

Return Value

Type: Widget

a custom gtk.Widget to show extra information about proposal, or NULL if the provider does not have a special info widget.