SourceBuffer.iterHasContextClass

Check if the class @context_class is set on @iter.

See the #GtkSourceBuffer description for the list of default context classes.

class SourceBuffer
bool
iterHasContextClass

Parameters

iter TextIter

a #GtkTextIter.

contextClass string

class to search for.

Return Value

Type: bool

whether @iter has the context class.

Meta

Since

2.10