Struct gtk::TextTagBuilder [−][src]
pub struct TextTagBuilder { /* fields omitted */ }
Expand description
A builder-pattern type to construct TextTag
objects.
Implementations
Create a new TextTagBuilder
.
Background color as a gdk::RGBA
.
Whether font fallback is enabled.
When set to true
, other fonts will be substituted
where the current font is missing glyphs.
Font description as string, e.g. "Sans Italic 12".
Note that the initial value of this property depends on
the internals of pango::FontDescription
.
OpenType font features, as a string.
Foreground color as a gdk::RGBA
.
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.
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 default_language()
.
Extra spacing between graphemes, in Pango units.
The paragraph background color as a string.
The paragraph background color as a gdk::RGBA
.
This property modifies the color of strikeouts. If not set, strikeouts will use the forground color.
If the property::TextTag::strikethrough-rgba
property has been set.
This property modifies the color of underlines. If not set, underlines will use the forground color.
If property::TextTag::underline
is set to pango::Underline::Error
, an alternate
color may be applied instead of the foreground. Setting this property
will always override those defaults.
If the property::TextTag::underline-rgba
property has been set.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TextTagBuilder
impl !Send for TextTagBuilder
impl !Sync for TextTagBuilder
impl Unpin for TextTagBuilder
impl UnwindSafe for TextTagBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more