gtksource.mark

Module for [Mark] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Mark self() nothrowReturns `this`, for use in `with` statements.
MarkGidBuilder builder() static nothrowGet builder for [gtksource.mark.Mark] Returns: New builder object
string category() @property nothrowGet `category` property. Returns: The category of the #GtkSourceMark, classifies the mark and controls which pixbuf is used and with which priority it is drawn.
string getCategory() nothrowReturns the mark category. Returns: the category of the #GtkSourceMark.
gtksource.mark.Mark next(string category = null) nothrowReturns the next #GtkSourceMark in the buffer or null if the mark was not added to a buffer. If there is no next mark, null will be returned.
gtksource.mark.Mark prev(string category) nothrowReturns the previous #GtkSourceMark in the buffer or null if the mark was not added to a buffer. If there is no previous mark, null is returned.
Constructors
this(void * ptr, Flag!"Take" take)
this(string name, string category)Creates a text mark. Add it to a buffer using [gtk.text_buffer.TextBuffer.addMark]. If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved by name using [gtk.text_buffer.TextB...

Fluent builder implementation template for gtksource.mark.Mark

Methods
T category(string propval) nothrowSet `category` property. Params: propval = The category of the #GtkSourceMark, classifies the mark and controls which pixbuf is used and with which priority it is drawn. Returns: Builder instance f...

Fluent builder for gtksource.mark.Mark

Methods
Mark build() nothrowCreate object from builder. Returns: New object