CompletionProposalT.equal

Get whether two proposal objects are the same. This is used to (together with gtksource.completion_proposal.CompletionProposal.hash) to match proposals in the completion model. By default, it uses direct equality (glib.global.directEqual).

template CompletionProposalT()
override
bool
equal
(
gtksource.completion_proposal.CompletionProposal other
)

Parameters

other gtksource.completion_proposal.CompletionProposal

a #GtkSourceCompletionProposal.

Return Value

Type: bool

true if proposal and object are the same proposal