get_info_widget
Description:
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 Label. The return value of get_info is used as the content of the Label.
Note:
If implemented, update_info
must
also be implemented.
Parameters:
this | |
proposal |
a currently selected SourceCompletionProposal. |
Returns:
a custom Widget to show extra information about |