GutterLines.hasClass
bool hasClass(uint line, string name)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.
Parameters
line | a line number starting from zero |
name | a class name that may be converted, to a #GQuark |
Returns
true if line contains name