SourceCompletionProviderT.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 #GtkLabel. The return value of gtk_source_completion_proposal_get_info() is used as the content of the #GtkLabel.

<note> <para> If implemented, gtk_source_completion_provider_update_info() <emphasis>must</emphasis> also be implemented. </para> </note>

template SourceCompletionProviderT(TStruct)
getInfoWidget

Parameters

proposal SourceCompletionProposalIF

a currently selected #GtkSourceCompletionProposal.

Return Value

Type: Widget

a custom #GtkWidget to show extra information about @proposal, or %NULL if the provider does not have a special info widget.

Meta