Emitted when the proposal has changed. The completion popup will react to this by updating the shown information.
Emits the "changed" signal on proposal. This should be called by implementations whenever the name, icon or info of the proposal has changed.
Get whether two proposal objects are the same. This is used to (together with Source.completionProposalHash) to match proposals in the completion model. By default, it uses direct equality (g_direct_equal()).
Gets the GIcon for the icon of proposal.
Gets the gdk.Pixbuf for the icon of proposal.
Gets the icon name of proposal.
Gets extra information associated to the proposal. This information will be used to present the user with extra, detailed information about the selected proposal. The returned string must be freed with g_free().
Gets the label of proposal. The label is shown in the list of proposals as plain text. If you need any markup (such as bold or italic text), you have to implement Source.completionProposalGetMarkup. The returned string must be freed with g_free().
Gets the label of proposal with markup. The label is shown in the list of proposals and may contain markup. This will be used instead of Source.completionProposalGetLabel if implemented. The returned string must be freed with g_free().
Get the main Gtk struct
the main Gtk struct as a void*
Gets the text of proposal. The text that is inserted into the text buffer when the proposal is activated by the default activation. You are free to implement a custom activation handler in the provider and not implement this function. For more information, see Source.completionProviderActivateProposal. The returned string must be freed with g_free().
Get the hash value of proposal. This is used to (together with Source.completionProposalEqual) to match proposals in the completion model. By default, it uses a direct hash (g_direct_hash()).