GutterLines.hasClass

Checks to see if gtksource.gutter_lines.GutterLines.addClass was called with the name for line.

A faster version of this function is provided via gtksource.gutter_lines.GutterLines.hasQclass for situations where the quark is known ahead of time.

class GutterLines
bool
hasClass
(
uint line
,
string name
)

Parameters

line uint

a line number starting from zero

name string

a class name that may be converted, to a #GQuark

Return Value

Type: bool

true if line contains name