Class

TalkatuTag

Description [src]

final class Talkatu.Tag : Gtk.TextTag {
  /* No available fields */
}

TalkatuTag is a GtkTextTag subclass that has a few additional properties that allows greater control of how text is rendered.

Ancestors

Constructors

talkatu_tag_new

Creates a new TalkatuTag to be used for styling text.

Functions

talkatu_tag_name_for_action_name

Gets the tag name that should be used for action_name.

talkatu_tag_name_to_html

Determines the HTML tag for tag_name.

Instance methods

talkatu_tag_get_display

Gets the TalkatuTagDisplay for tag.

talkatu_tag_set_display

Sets the display type for tag to display.

Methods inherited from GtkTextTag (4)
gtk_text_tag_changed

Emits the GtkTextTagTable::tag-changed signal on the GtkTextTagTable where the tag is included.

Available since: 3.20

gtk_text_tag_event

Emits the “event” signal on the GtkTextTag.

gtk_text_tag_get_priority

Get the tag priority.

gtk_text_tag_set_priority

Sets the priority of a GtkTextTag. Valid priorities start at 0 and go to one less than gtk_text_tag_table_get_size(). Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags “win” if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with gtk_text_buffer_create_tag(), which adds the tag to the buffer’s table automatically.

Methods inherited from GObject (42)

Please see GObject for a full list of methods.

Properties

Talkatu.Tag:display
No description available.
Properties inherited from GtkTextTag (74)
Gtk.TextTag:accumulative-margin

Whether the margins accumulate or override each other.

Available since: 2.12

Gtk.TextTag:background
No description available.
Gtk.TextTag:background-full-height
No description available.
Gtk.TextTag:background-full-height-set
No description available.
Gtk.TextTag:background-gdk

Background color as a GdkColor.

Deprecated since: 3.4

Gtk.TextTag:background-rgba

Background color as a GdkRGBA.

Available since: 3.2

Gtk.TextTag:background-set
No description available.
Gtk.TextTag:direction
No description available.
Gtk.TextTag:editable
No description available.
Gtk.TextTag:editable-set
No description available.
Gtk.TextTag:fallback

Whether font fallback is enabled.

Available since: 3.16

Gtk.TextTag:fallback-set
No description available.
Gtk.TextTag:family
No description available.
Gtk.TextTag:family-set
No description available.
Gtk.TextTag:font

Font description as string, e.g. "Sans Italic 12".

Gtk.TextTag:font-desc
No description available.
Gtk.TextTag:font-features

OpenType font features, as a string.

Available since: 3.18

Gtk.TextTag:font-features-set
No description available.
Gtk.TextTag:foreground
No description available.
Gtk.TextTag:foreground-gdk

Foreground color as a GdkColor.

Deprecated since: 3.4

Gtk.TextTag:foreground-rgba

Foreground color as a GdkRGBA.

Available since: 3.2

Gtk.TextTag:foreground-set
No description available.
Gtk.TextTag:indent
No description available.
Gtk.TextTag:indent-set
No description available.
Gtk.TextTag:invisible

Whether this text is hidden.

Available since: 2.8

Gtk.TextTag:invisible-set
No description available.
Gtk.TextTag:justification
No description available.
Gtk.TextTag:justification-set
No description available.
Gtk.TextTag:language

The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If not set, an appropriate default will be used.

Gtk.TextTag:language-set
No description available.
Gtk.TextTag:left-margin
No description available.
Gtk.TextTag:left-margin-set
No description available.
Gtk.TextTag:letter-spacing

Extra spacing between graphemes, in Pango units.

Available since: 3.16

Gtk.TextTag:letter-spacing-set
No description available.
Gtk.TextTag:name
No description available.
Gtk.TextTag:paragraph-background

The paragraph background color as a string.

Available since: 2.8

Gtk.TextTag:paragraph-background-gdk

The paragraph background color as a GdkColor.

Available since: 2.8

Deprecated since: 3.4

Gtk.TextTag:paragraph-background-rgba

The paragraph background color as a GdkRGBA.

Available since: 3.2

Gtk.TextTag:paragraph-background-set
No description available.
Gtk.TextTag:pixels-above-lines
No description available.
Gtk.TextTag:pixels-above-lines-set
No description available.
Gtk.TextTag:pixels-below-lines
No description available.
Gtk.TextTag:pixels-below-lines-set
No description available.
Gtk.TextTag:pixels-inside-wrap
No description available.
Gtk.TextTag:pixels-inside-wrap-set
No description available.
Gtk.TextTag:right-margin
No description available.
Gtk.TextTag:right-margin-set
No description available.
Gtk.TextTag:rise
No description available.
Gtk.TextTag:rise-set
No description available.
Gtk.TextTag:scale
No description available.
Gtk.TextTag:scale-set
No description available.
Gtk.TextTag:size
No description available.
Gtk.TextTag:size-points
No description available.
Gtk.TextTag:size-set
No description available.
Gtk.TextTag:stretch
No description available.
Gtk.TextTag:stretch-set
No description available.
Gtk.TextTag:strikethrough
No description available.
Gtk.TextTag:strikethrough-rgba

This property modifies the color of strikeouts. If not set, strikeouts will use the forground color.

Available since: 3.16

Gtk.TextTag:strikethrough-rgba-set

If the GtkTextTag:strikethrough-rgba property has been set.

Available since: 3.16

Gtk.TextTag:strikethrough-set
No description available.
Gtk.TextTag:style
No description available.
Gtk.TextTag:style-set
No description available.
Gtk.TextTag:tabs
No description available.
Gtk.TextTag:tabs-set
No description available.
Gtk.TextTag:underline
No description available.
Gtk.TextTag:underline-rgba

This property modifies the color of underlines. If not set, underlines will use the forground color.

Available since: 3.16

Gtk.TextTag:underline-rgba-set

If the GtkTextTag:underline-rgba property has been set.

Available since: 3.16

Gtk.TextTag:underline-set
No description available.
Gtk.TextTag:variant
No description available.
Gtk.TextTag:variant-set
No description available.
Gtk.TextTag:weight
No description available.
Gtk.TextTag:weight-set
No description available.
Gtk.TextTag:wrap-mode
No description available.
Gtk.TextTag:wrap-mode-set
No description available.

Signals

Signals inherited from GtkTextTag (1)
Gtk.TextTag::event

The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag.

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct TalkatuTagClass {
  GtkTextTagClass parent_class;
  
}
Class members
parent_class
GtkTextTagClass
  No description available.