TextTagSignalName
public enum TextTagSignalName : String, SignalNameProtocol
Undocumented
-
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.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Declaration
Swift
case notify = "notify"
-
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 tofalse
the margins override one another (the default).Declaration
Swift
case notifyAccumulativeMargin = "notify::accumulative-margin"
-
Whether breaks are allowed.
Declaration
Swift
case notifyAllowBreaks = "notify::allow-breaks"
-
Undocumented
Declaration
Swift
case notifyAllowBreaksSet = "notify::allow-breaks-set"
-
Background color as a string.
Declaration
Swift
case notifyBackground = "notify::background"
-
Whether the background color fills the entire line height or only the height of the tagged characters.
Declaration
Swift
case notifyBackgroundFullHeight = "notify::background-full-height"
-
Undocumented
Declaration
Swift
case notifyBackgroundFullHeightSet = "notify::background-full-height-set"
-
Background color as a
GdkRGBA
.Declaration
Swift
case notifyBackgroundRgba = "notify::background-rgba"
-
Undocumented
Declaration
Swift
case notifyBackgroundSet = "notify::background-set"
-
Text direction, e.g. right-to-left or left-to-right.
Declaration
Swift
case notifyDirection = "notify::direction"
-
Whether the text can be modified by the user.
Declaration
Swift
case notifyEditable = "notify::editable"
-
Undocumented
Declaration
Swift
case notifyEditableSet = "notify::editable-set"
-
Whether font fallback is enabled.
When set to
true
, other fonts will be substituted where the current font is missing glyphs.Declaration
Swift
case notifyFallback = "notify::fallback"
-
Undocumented
Declaration
Swift
case notifyFallbackSet = "notify::fallback-set"
-
Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
Declaration
Swift
case notifyFamily = "notify::family"
-
Undocumented
Declaration
Swift
case notifyFamilySet = "notify::family-set"
-
Font description as string, e.g. \“Sans Italic 12\”.
Note that the initial value of this property depends on the internals of
PangoFontDescription
.Declaration
Swift
case notifyFont = "notify::font"
-
Font description as a
PangoFontDescription
.Declaration
Swift
case notifyFontDesc = "notify::font-desc"
-
OpenType font features, as a string.
Declaration
Swift
case notifyFontFeatures = "notify::font-features"
-
Undocumented
Declaration
Swift
case notifyFontFeaturesSet = "notify::font-features-set"
-
Foreground color as a string.
Declaration
Swift
case notifyForeground = "notify::foreground"
-
Foreground color as a
GdkRGBA
.Declaration
Swift
case notifyForegroundRgba = "notify::foreground-rgba"
-
Undocumented
Declaration
Swift
case notifyForegroundSet = "notify::foreground-set"
-
Amount to indent the paragraph, in pixels.
Declaration
Swift
case notifyIndent = "notify::indent"
-
Undocumented
Declaration
Swift
case notifyIndentSet = "notify::indent-set"
-
Whether to insert hyphens at breaks.
Declaration
Swift
case notifyInsertHyphens = "notify::insert-hyphens"
-
Undocumented
Declaration
Swift
case notifyInsertHyphensSet = "notify::insert-hyphens-set"
-
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.
Declaration
Swift
case notifyInvisible = "notify::invisible"
-
Undocumented
Declaration
Swift
case notifyInvisibleSet = "notify::invisible-set"
-
Left, right, or center justification.
Declaration
Swift
case notifyJustification = "notify::justification"
-
Undocumented
Declaration
Swift
case notifyJustificationSet = "notify::justification-set"
-
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 [func
Gtk.get_default_language
].Declaration
Swift
case notifyLanguage = "notify::language"
-
Undocumented
Declaration
Swift
case notifyLanguageSet = "notify::language-set"
-
Width of the left margin in pixels.
Declaration
Swift
case notifyLeftMargin = "notify::left-margin"
-
Undocumented
Declaration
Swift
case notifyLeftMarginSet = "notify::left-margin-set"
-
Extra spacing between graphemes, in Pango units.
Declaration
Swift
case notifyLetterSpacing = "notify::letter-spacing"
-
Undocumented
Declaration
Swift
case notifyLetterSpacingSet = "notify::letter-spacing-set"
-
The name used to refer to the tag.
nil
for anonymous tags.Declaration
Swift
case notifyName = "notify::name"
-
Style of overline for this text.
Declaration
Swift
case notifyOverline = "notify::overline"
-
This property modifies the color of overlines.
If not set, overlines will use the foreground color.
Declaration
Swift
case notifyOverlineRgba = "notify::overline-rgba"
-
Undocumented
Declaration
Swift
case notifyOverlineRgbaSet = "notify::overline-rgba-set"
-
Undocumented
Declaration
Swift
case notifyOverlineSet = "notify::overline-set"
-
The paragraph background color as a string.
Declaration
Swift
case notifyParagraphBackground = "notify::paragraph-background"
-
The paragraph background color as a
GdkRGBA
.Declaration
Swift
case notifyParagraphBackgroundRgba = "notify::paragraph-background-rgba"
-
Undocumented
Declaration
Swift
case notifyParagraphBackgroundSet = "notify::paragraph-background-set"
-
Pixels of blank space above paragraphs.
Declaration
Swift
case notifyPixelsAboveLines = "notify::pixels-above-lines"
-
Undocumented
Declaration
Swift
case notifyPixelsAboveLinesSet = "notify::pixels-above-lines-set"
-
Pixels of blank space below paragraphs.
Declaration
Swift
case notifyPixelsBelowLines = "notify::pixels-below-lines"
-
Undocumented
Declaration
Swift
case notifyPixelsBelowLinesSet = "notify::pixels-below-lines-set"
-
Pixels of blank space between wrapped lines in a paragraph.
Declaration
Swift
case notifyPixelsInsideWrap = "notify::pixels-inside-wrap"
-
Undocumented
Declaration
Swift
case notifyPixelsInsideWrapSet = "notify::pixels-inside-wrap-set"
-
Width of the right margin, in pixels.
Declaration
Swift
case notifyRightMargin = "notify::right-margin"
-
Undocumented
Declaration
Swift
case notifyRightMarginSet = "notify::right-margin-set"
-
Offset of text above the baseline, in Pango units.
Negative values go below the baseline.
Declaration
Swift
case notifyRise = "notify::rise"
-
Undocumented
Declaration
Swift
case notifyRiseSet = "notify::rise-set"
-
Font size as a scale factor relative to the default font size.
This properly adapts to theme changes, etc. so is recommended. Pango predefines some scales such as
PANGO_SCALE_X_LARGE
.Declaration
Swift
case notifyScale = "notify::scale"
-
Undocumented
Declaration
Swift
case notifyScaleSet = "notify::scale-set"
-
How to render invisible characters.
Declaration
Swift
case notifyShowSpaces = "notify::show-spaces"
-
Undocumented
Declaration
Swift
case notifyShowSpacesSet = "notify::show-spaces-set"
-
Font size in Pango units.
Declaration
Swift
case notifySize = "notify::size"
-
Font size in points.
Declaration
Swift
case notifySizePoints = "notify::size-points"
-
Undocumented
Declaration
Swift
case notifySizeSet = "notify::size-set"
-
Font stretch as a
PangoStretch
, e.g.PANGO_STRETCH_CONDENSED
.Declaration
Swift
case notifyStretch = "notify::stretch"
-
Undocumented
Declaration
Swift
case notifyStretchSet = "notify::stretch-set"
-
Whether to strike through the text.
Declaration
Swift
case notifyStrikethrough = "notify::strikethrough"
-
This property modifies the color of strikeouts.
If not set, strikeouts will use the foreground color.
Declaration
Swift
case notifyStrikethroughRgba = "notify::strikethrough-rgba"
-
If the
strikethrough-rgba
property has been set.Declaration
Swift
case notifyStrikethroughRgbaSet = "notify::strikethrough-rgba-set"
-
Undocumented
Declaration
Swift
case notifyStrikethroughSet = "notify::strikethrough-set"
-
Font style as a
PangoStyle
, e.g.PANGO_STYLE_ITALIC
.Declaration
Swift
case notifyStyle = "notify::style"
-
Undocumented
Declaration
Swift
case notifyStyleSet = "notify::style-set"
-
Custom tabs for this text.
Declaration
Swift
case notifyTabs = "notify::tabs"
-
Undocumented
Declaration
Swift
case notifyTabsSet = "notify::tabs-set"
-
Style of underline for this text.
Declaration
Swift
case notifyUnderline = "notify::underline"
-
This property modifies the color of underlines.
If not set, underlines will use the foreground color.
If [property
Gtk.TextTag:underline
] is set toPANGO_UNDERLINE_ERROR
, an alternate color may be applied instead of the foreground. Setting this property will always override those defaults.Declaration
Swift
case notifyUnderlineRgba = "notify::underline-rgba"
-
If the
underline-rgba
property has been set.Declaration
Swift
case notifyUnderlineRgbaSet = "notify::underline-rgba-set"
-
Undocumented
Declaration
Swift
case notifyUnderlineSet = "notify::underline-set"
-
Font variant as a
PangoVariant
, e.g.PANGO_VARIANT_SMALL_CAPS
.Declaration
Swift
case notifyVariant = "notify::variant"
-
Undocumented
Declaration
Swift
case notifyVariantSet = "notify::variant-set"
-
Font weight as an integer.
Declaration
Swift
case notifyWeight = "notify::weight"
-
Undocumented
Declaration
Swift
case notifyWeightSet = "notify::weight-set"
-
Whether to wrap lines never, at word boundaries, or at character boundaries.
Declaration
Swift
case notifyWrapMode = "notify::wrap-mode"
-
Undocumented
Declaration
Swift
case notifyWrapModeSet = "notify::wrap-mode-set"