SourceCompletionProviderT.gtkSourceCompletionProviderGetInfoWidget

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 If implemented, gtk_source_completion_provider_update_info() must also be implemented.

template SourceCompletionProviderT(TStruct)
Widget
gtkSourceCompletionProviderGetInfoWidget

Parameters

proposal SourceCompletionProposalIF

a currently selected GtkSourceCompletionProposal.

Return Value

Type: Widget

a custom GtkWidget to show extra information about proposal. [transfer none]

Meta