GObject.Object
Gtk.TextTag
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkTextTag |
Class : | TextTag |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
accumulative_margin : Boolean
Whether the margins accumulate or override each other.
Whether the margins accumulate or override each other. When set to TRUE the margins of this tag are added to the margins of any other non-accumulative margins present. When set to FALSE the margins override one another (the default).
|
Gtk.TextTag | |
accumulative_margin : Number
read only
|
Gtk.TextTag | |
background : String
|
Gtk.TextTag | |
background_full_height : Boolean
|
Gtk.TextTag | |
background_full_height_set : Boolean
|
Gtk.TextTag | |
background_gdk : Gdk.Color
|
Gtk.TextTag | |
background_set : Boolean
|
Gtk.TextTag | |
background_stipple : Gdk.Pixmap
|
Gtk.TextTag | |
background_stipple_set : Boolean
|
Gtk.TextTag | |
bg_color_set : Number
read only
|
Gtk.TextTag | |
bg_full_height_set : Number
read only
|
Gtk.TextTag | |
bg_stipple_set : Number
read only
|
Gtk.TextTag | |
direction : Gtk.TextDirection
|
Gtk.TextTag | |
editable : Boolean
|
Gtk.TextTag | |
editable_set : Boolean
|
Gtk.TextTag | |
editable_set : Number
read only
|
Gtk.TextTag | |
family : String
|
Gtk.TextTag | |
family_set : Boolean
|
Gtk.TextTag | |
fg_color_set : Number
read only
|
Gtk.TextTag | |
fg_stipple_set : Number
read only
|
Gtk.TextTag | |
font : String
Font description as string, e.g.
Font description as string, e.g. \"Sans Italic 12\". Note that the initial value of this property depends on the internals of PangoFontDescription.
|
Gtk.TextTag | |
font_desc : Pango.FontDescription
|
Gtk.TextTag | |
foreground : String
|
Gtk.TextTag | |
foreground_gdk : Gdk.Color
|
Gtk.TextTag | |
foreground_set : Boolean
|
Gtk.TextTag | |
foreground_stipple : Gdk.Pixmap
|
Gtk.TextTag | |
foreground_stipple_set : Boolean
|
Gtk.TextTag | |
indent : Number
|
Gtk.TextTag | |
indent_set : Boolean
|
Gtk.TextTag | |
indent_set : Number
read only
|
Gtk.TextTag | |
invisible : Boolean
Whether this text is hidden.
Whether this text is hidden. Note that there may still be problems with the support for invisible text, in particular when navigating programmatically inside a buffer containing invisible segments.
|
Gtk.TextTag | |
invisible_set : Boolean
|
Gtk.TextTag | |
invisible_set : Number
read only
|
Gtk.TextTag | |
justification : Gtk.Justification
|
Gtk.TextTag | |
justification_set : Boolean
|
Gtk.TextTag | |
justification_set : Number
read only
|
Gtk.TextTag | |
language : String
The language this text is in, as an ISO code.
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. Note that the initial value of this property depends on the current locale, see also gtk_get_default_language().
|
Gtk.TextTag | |
language_set : Boolean
|
Gtk.TextTag | |
language_set : Number
read only
|
Gtk.TextTag | |
left_margin : Number
|
Gtk.TextTag | |
left_margin_set : Boolean
|
Gtk.TextTag | |
left_margin_set : Number
read only
|
Gtk.TextTag | |
name : String
|
Gtk.TextTag | |
name : String
read only
|
Gtk.TextTag | |
pad1 : Number
read only
|
Gtk.TextTag | |
paragraph_background : String
The paragraph background color as a string.
The paragraph background color as a string.
|
Gtk.TextTag | |
paragraph_background_gdk : Gdk.Color
The paragraph background color as a as a (possibly unallocated) GdkColor.
The paragraph background color as a as a (possibly unallocated) GdkColor.
|
Gtk.TextTag | |
paragraph_background_set : Boolean
|
Gtk.TextTag | |
parent_instance : GObject.Object
read only
|
Gtk.TextTag | |
pg_bg_color_set : Number
read only
|
Gtk.TextTag | |
pixels_above_lines : Number
|
Gtk.TextTag | |
pixels_above_lines_set : Boolean
|
Gtk.TextTag | |
pixels_above_lines_set : Number
read only
|
Gtk.TextTag | |
pixels_below_lines : Number
|
Gtk.TextTag | |
pixels_below_lines_set : Boolean
|
Gtk.TextTag | |
pixels_below_lines_set : Number
read only
|
Gtk.TextTag | |
pixels_inside_wrap : Number
|
Gtk.TextTag | |
pixels_inside_wrap_set : Boolean
|
Gtk.TextTag | |
pixels_inside_wrap_set : Number
read only
|
Gtk.TextTag | |
priority : Number
read only
|
Gtk.TextTag | |
right_margin : Number
|
Gtk.TextTag | |
right_margin_set : Boolean
|
Gtk.TextTag | |
right_margin_set : Number
read only
|
Gtk.TextTag | |
rise : Number
|
Gtk.TextTag | |
rise_set : Boolean
|
Gtk.TextTag | |
rise_set : Number
read only
|
Gtk.TextTag | |
scale : Number
|
Gtk.TextTag | |
scale_set : Boolean
|
Gtk.TextTag | |
scale_set : Number
read only
|
Gtk.TextTag | |
size : Number
|
Gtk.TextTag | |
size_points : Number
|
Gtk.TextTag | |
size_set : Boolean
|
Gtk.TextTag | |
stretch : Pango.Stretch
|
Gtk.TextTag | |
stretch_set : Boolean
|
Gtk.TextTag | |
strikethrough : Boolean
|
Gtk.TextTag | |
strikethrough_set : Boolean
|
Gtk.TextTag | |
strikethrough_set : Number
read only
|
Gtk.TextTag | |
style : Pango.Style
|
Gtk.TextTag | |
style_set : Boolean
|
Gtk.TextTag | |
table : Gtk.TextTagTable
read only
|
Gtk.TextTag | |
tabs : Pango.TabArray
|
Gtk.TextTag | |
tabs_set : Boolean
|
Gtk.TextTag | |
tabs_set : Number
read only
|
Gtk.TextTag | |
underline : Pango.Underline
|
Gtk.TextTag | |
underline_set : Boolean
|
Gtk.TextTag | |
underline_set : Number
read only
|
Gtk.TextTag | |
values : Gtk.TextAttributes
read only
|
Gtk.TextTag | |
variant : Pango.Variant
|
Gtk.TextTag | |
variant_set : Boolean
|
Gtk.TextTag | |
weight : Number
|
Gtk.TextTag | |
weight_set : Boolean
|
Gtk.TextTag | |
wrap_mode : Gtk.WrapMode
|
Gtk.TextTag | |
wrap_mode_set : Boolean
|
Gtk.TextTag | |
wrap_mode_set : Number
read only
|
Gtk.TextTag |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.TextTag
(Object properties)
Create a new Gtk.TextTag
Create a new Gtk.TextTag
|
||
Create a new Gtk.TextTag
Create a new Gtk.TextTag
|
||
Emits the "event" signal on the GtkTextTag.
Emits the "event" signal on the GtkTextTag.
|
Gtk.TextTag | |
get_priority
()
:
Number
Get the tag priority.
Get the tag priority.
|
Gtk.TextTag | |
set_priority
(Number priority)
:
none
Sets the priority of a GtkTextTag.
Sets the priority of a GtkTextTag. Valid priorities are 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.
|
Gtk.TextTag |
Event | Defined By | |
---|---|---|
The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag.
The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag. event. FALSE to propagate the event further.
|
Gtk.TextTag |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.TextBuffer
Signal |
The ::apply-tag signal is emitted to apply a tag to a range of text in a GtkTextBuffer.
|
Gtk.TextBuffer
Signal |
The ::remove-tag signal is emitted to remove all occurrences of tag from a range of text in a GtkTextBuffer.
|
Gtk.TextBuffer
Method |
Emits the "apply-tag" signal on buffer.
|
Gtk.TextBuffer
Method |
Emits the "remove-tag" signal.
|
Gtk.TextIter
Method |
Returns TRUE if tag is toggled on at exactly this point.
|
Gtk.TextIter
Method |
Returns TRUE if tag is toggled off at exactly this point.
|
Gtk.TextIter
Method |
This is equivalent to (gtk_text_iter_begins_tag () || gtk_text_iter_ends_tag ()), i.e.
|
Gtk.TextIter
Method |
Returns TRUE if iter is within a range tagged with tag.
|
Gtk.TextIter
Method |
Moves forward to the next toggle (on or off) of the GtkTextTag tag, or to the next toggle of any tag if returns FALSE, otherwise TRUE.
|
Gtk.TextIter
Method |
Moves backward to the next toggle (on or off) of the GtkTextTag tag, or to the next toggle of any tag if returns FALSE, otherwise TRUE.
|
Gtk.TextTagTable
Signal |
tag_added
(TextTagTable self, TextTag object)
:
none
|
Gtk.TextTagTable
Signal |
|
Gtk.TextTagTable
Signal |
tag_removed
(TextTagTable self, TextTag object)
:
none
|
Gtk.TextTagTable
Method |
add
(TextTag tag)
:
none
Add a tag to the table.
|
Gtk.TextTagTable
Method |
remove
(TextTag tag)
:
none
Remove a tag from the table.
|
Gtk.TextTagTable
Method |
lookup
(String name)
:
Gtk.TextTag
Look up a named tag.
|