Forum und email

GtkTextTag

An object used to change the display properties of a block of text in a GtkTextBuffer.

オブジェクトの階層

説明

GtkTextTags are used to change the display properties of a block of text in a GtkTextBuffer.

A tag is applied across a range of text identified by two GtkTextIters and affects the way that range of text is displayed. For example, a tag may define the font-weight, color, text size or any combination of many different properties for the range of text.

Before a tag can be used with a GtkTextBuffer, it must be added to the buffer's GtkTextTagTable with add() (or by creating the tag with create_tag).

コンストラクタ

GtkTextTag ([string name = null ]);

-- Creates a GtkTextTag instance.

メソッド

event()
  Emits the event signal on the tag.
get_priority()
  Returns the tag's priority in relation to other tags in its GtkTextTagTable.
set_priority()
  Sets the priority of the tag in relation to the other tags in its GtkTextTagTable.

シグナル

"event"