Method

Gtk.TextBuffer.add_mark

Declaration [src]

void
gtk_text_buffer_add_mark (
  GtkTextBuffer* buffer,
  GtkTextMark* mark,
  const GtkTextIter* where
)

Description [src]

Adds the mark at position where.

The mark must not be added to another buffer, and if its name is not NULL then there must not be another mark in the buffer with the same name.

Emits the GtkTextBuffer::mark-set signal as notification of the mark’s initial placement.

Parameters

mark GtkTextMark
 

the mark to add

 Ownership is not transferred to the callee
where GtkTextIter
 

location to place mark

 Ownership is not transferred to the callee