CompletionProposal.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).

interface CompletionProposal
bool
equal

Parameters

other gtksource.completion_proposal.CompletionProposal

a #GtkSourceCompletionProposal.

Return Value

Type: bool

true if proposal and object are the same proposal