Class TextTag
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class TextTag : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
TextTag
- Implements
- Derived
- Inherited Members
Constructors
TextTag(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public TextTag(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
TextTag(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TextTag(CreationData data)
Parameters
dataCreationData
TextTag(TextTagHandle)
protected TextTag(TextTagHandle handle)
Parameters
handleTextTagHandle
Fields
AccumulativeMarginPropertyDefinition
public static readonly Property<bool, TextTag> AccumulativeMarginPropertyDefinition
Field Value
AllowBreaksPropertyDefinition
public static readonly Property<bool, TextTag> AllowBreaksPropertyDefinition
Field Value
AllowBreaksSetPropertyDefinition
public static readonly Property<bool, TextTag> AllowBreaksSetPropertyDefinition
Field Value
BackgroundFullHeightPropertyDefinition
public static readonly Property<bool, TextTag> BackgroundFullHeightPropertyDefinition
Field Value
BackgroundFullHeightSetPropertyDefinition
public static readonly Property<bool, TextTag> BackgroundFullHeightSetPropertyDefinition
Field Value
BackgroundPropertyDefinition
public static readonly Property<string?, TextTag> BackgroundPropertyDefinition
Field Value
BackgroundRgbaPropertyDefinition
public static readonly Property<RGBA, TextTag> BackgroundRgbaPropertyDefinition
Field Value
BackgroundSetPropertyDefinition
public static readonly Property<bool, TextTag> BackgroundSetPropertyDefinition
Field Value
DirectionPropertyDefinition
public static readonly Property<TextDirection, TextTag> DirectionPropertyDefinition
Field Value
EditablePropertyDefinition
public static readonly Property<bool, TextTag> EditablePropertyDefinition
Field Value
EditableSetPropertyDefinition
public static readonly Property<bool, TextTag> EditableSetPropertyDefinition
Field Value
FallbackPropertyDefinition
public static readonly Property<bool, TextTag> FallbackPropertyDefinition
Field Value
FallbackSetPropertyDefinition
public static readonly Property<bool, TextTag> FallbackSetPropertyDefinition
Field Value
FamilyPropertyDefinition
public static readonly Property<string?, TextTag> FamilyPropertyDefinition
Field Value
FamilySetPropertyDefinition
public static readonly Property<bool, TextTag> FamilySetPropertyDefinition
Field Value
FontDescPropertyDefinition
public static readonly Property<FontDescription, TextTag> FontDescPropertyDefinition
Field Value
FontFeaturesPropertyDefinition
public static readonly Property<string?, TextTag> FontFeaturesPropertyDefinition
Field Value
FontFeaturesSetPropertyDefinition
public static readonly Property<bool, TextTag> FontFeaturesSetPropertyDefinition
Field Value
FontPropertyDefinition
public static readonly Property<string?, TextTag> FontPropertyDefinition
Field Value
ForegroundPropertyDefinition
public static readonly Property<string?, TextTag> ForegroundPropertyDefinition
Field Value
ForegroundRgbaPropertyDefinition
public static readonly Property<RGBA, TextTag> ForegroundRgbaPropertyDefinition
Field Value
ForegroundSetPropertyDefinition
public static readonly Property<bool, TextTag> ForegroundSetPropertyDefinition
Field Value
IndentPropertyDefinition
public static readonly Property<int, TextTag> IndentPropertyDefinition
Field Value
IndentSetPropertyDefinition
public static readonly Property<bool, TextTag> IndentSetPropertyDefinition
Field Value
InsertHyphensPropertyDefinition
public static readonly Property<bool, TextTag> InsertHyphensPropertyDefinition
Field Value
InsertHyphensSetPropertyDefinition
public static readonly Property<bool, TextTag> InsertHyphensSetPropertyDefinition
Field Value
InvisiblePropertyDefinition
public static readonly Property<bool, TextTag> InvisiblePropertyDefinition
Field Value
InvisibleSetPropertyDefinition
public static readonly Property<bool, TextTag> InvisibleSetPropertyDefinition
Field Value
JustificationPropertyDefinition
public static readonly Property<Justification, TextTag> JustificationPropertyDefinition
Field Value
JustificationSetPropertyDefinition
public static readonly Property<bool, TextTag> JustificationSetPropertyDefinition
Field Value
LanguagePropertyDefinition
public static readonly Property<string?, TextTag> LanguagePropertyDefinition
Field Value
LanguageSetPropertyDefinition
public static readonly Property<bool, TextTag> LanguageSetPropertyDefinition
Field Value
LeftMarginPropertyDefinition
public static readonly Property<int, TextTag> LeftMarginPropertyDefinition
Field Value
LeftMarginSetPropertyDefinition
public static readonly Property<bool, TextTag> LeftMarginSetPropertyDefinition
Field Value
LetterSpacingPropertyDefinition
public static readonly Property<int, TextTag> LetterSpacingPropertyDefinition
Field Value
LetterSpacingSetPropertyDefinition
public static readonly Property<bool, TextTag> LetterSpacingSetPropertyDefinition
Field Value
LineHeightPropertyDefinition
public static readonly Property<float, TextTag> LineHeightPropertyDefinition
Field Value
LineHeightSetPropertyDefinition
public static readonly Property<bool, TextTag> LineHeightSetPropertyDefinition
Field Value
NamePropertyDefinition
public static readonly Property<string?, TextTag> NamePropertyDefinition
Field Value
OverlinePropertyDefinition
public static readonly Property<Overline, TextTag> OverlinePropertyDefinition
Field Value
OverlineRgbaPropertyDefinition
public static readonly Property<RGBA, TextTag> OverlineRgbaPropertyDefinition
Field Value
OverlineRgbaSetPropertyDefinition
public static readonly Property<bool, TextTag> OverlineRgbaSetPropertyDefinition
Field Value
OverlineSetPropertyDefinition
public static readonly Property<bool, TextTag> OverlineSetPropertyDefinition
Field Value
ParagraphBackgroundPropertyDefinition
public static readonly Property<string?, TextTag> ParagraphBackgroundPropertyDefinition
Field Value
ParagraphBackgroundRgbaPropertyDefinition
public static readonly Property<RGBA, TextTag> ParagraphBackgroundRgbaPropertyDefinition
Field Value
ParagraphBackgroundSetPropertyDefinition
public static readonly Property<bool, TextTag> ParagraphBackgroundSetPropertyDefinition
Field Value
PixelsAboveLinesPropertyDefinition
public static readonly Property<int, TextTag> PixelsAboveLinesPropertyDefinition
Field Value
PixelsAboveLinesSetPropertyDefinition
public static readonly Property<bool, TextTag> PixelsAboveLinesSetPropertyDefinition
Field Value
PixelsBelowLinesPropertyDefinition
public static readonly Property<int, TextTag> PixelsBelowLinesPropertyDefinition
Field Value
PixelsBelowLinesSetPropertyDefinition
public static readonly Property<bool, TextTag> PixelsBelowLinesSetPropertyDefinition
Field Value
PixelsInsideWrapPropertyDefinition
public static readonly Property<int, TextTag> PixelsInsideWrapPropertyDefinition
Field Value
PixelsInsideWrapSetPropertyDefinition
public static readonly Property<bool, TextTag> PixelsInsideWrapSetPropertyDefinition
Field Value
RightMarginPropertyDefinition
public static readonly Property<int, TextTag> RightMarginPropertyDefinition
Field Value
RightMarginSetPropertyDefinition
public static readonly Property<bool, TextTag> RightMarginSetPropertyDefinition
Field Value
RisePropertyDefinition
public static readonly Property<int, TextTag> RisePropertyDefinition
Field Value
RiseSetPropertyDefinition
public static readonly Property<bool, TextTag> RiseSetPropertyDefinition
Field Value
ScalePropertyDefinition
public static readonly Property<double, TextTag> ScalePropertyDefinition
Field Value
ScaleSetPropertyDefinition
public static readonly Property<bool, TextTag> ScaleSetPropertyDefinition
Field Value
SentencePropertyDefinition
public static readonly Property<bool, TextTag> SentencePropertyDefinition
Field Value
SentenceSetPropertyDefinition
public static readonly Property<bool, TextTag> SentenceSetPropertyDefinition
Field Value
ShowSpacesPropertyDefinition
public static readonly Property<ShowFlags, TextTag> ShowSpacesPropertyDefinition
Field Value
ShowSpacesSetPropertyDefinition
public static readonly Property<bool, TextTag> ShowSpacesSetPropertyDefinition
Field Value
SizePointsPropertyDefinition
public static readonly Property<double, TextTag> SizePointsPropertyDefinition
Field Value
SizePropertyDefinition
public static readonly Property<int, TextTag> SizePropertyDefinition
Field Value
SizeSetPropertyDefinition
public static readonly Property<bool, TextTag> SizeSetPropertyDefinition
Field Value
StretchPropertyDefinition
public static readonly Property<Stretch, TextTag> StretchPropertyDefinition
Field Value
StretchSetPropertyDefinition
public static readonly Property<bool, TextTag> StretchSetPropertyDefinition
Field Value
StrikethroughPropertyDefinition
public static readonly Property<bool, TextTag> StrikethroughPropertyDefinition
Field Value
StrikethroughRgbaPropertyDefinition
public static readonly Property<RGBA, TextTag> StrikethroughRgbaPropertyDefinition
Field Value
StrikethroughRgbaSetPropertyDefinition
public static readonly Property<bool, TextTag> StrikethroughRgbaSetPropertyDefinition
Field Value
StrikethroughSetPropertyDefinition
public static readonly Property<bool, TextTag> StrikethroughSetPropertyDefinition
Field Value
StylePropertyDefinition
public static readonly Property<Style, TextTag> StylePropertyDefinition
Field Value
StyleSetPropertyDefinition
public static readonly Property<bool, TextTag> StyleSetPropertyDefinition
Field Value
TabsPropertyDefinition
public static readonly Property<TabArray, TextTag> TabsPropertyDefinition
Field Value
TabsSetPropertyDefinition
public static readonly Property<bool, TextTag> TabsSetPropertyDefinition
Field Value
TextTransformPropertyDefinition
public static readonly Property<TextTransform, TextTag> TextTransformPropertyDefinition
Field Value
TextTransformSetPropertyDefinition
public static readonly Property<bool, TextTag> TextTransformSetPropertyDefinition
Field Value
UnderlinePropertyDefinition
public static readonly Property<Underline, TextTag> UnderlinePropertyDefinition
Field Value
UnderlineRgbaPropertyDefinition
public static readonly Property<RGBA, TextTag> UnderlineRgbaPropertyDefinition
Field Value
UnderlineRgbaSetPropertyDefinition
public static readonly Property<bool, TextTag> UnderlineRgbaSetPropertyDefinition
Field Value
UnderlineSetPropertyDefinition
public static readonly Property<bool, TextTag> UnderlineSetPropertyDefinition
Field Value
VariantPropertyDefinition
public static readonly Property<Variant, TextTag> VariantPropertyDefinition
Field Value
VariantSetPropertyDefinition
public static readonly Property<bool, TextTag> VariantSetPropertyDefinition
Field Value
WeightPropertyDefinition
public static readonly Property<int, TextTag> WeightPropertyDefinition
Field Value
WeightSetPropertyDefinition
public static readonly Property<bool, TextTag> WeightSetPropertyDefinition
Field Value
WordPropertyDefinition
public static readonly Property<bool, TextTag> WordPropertyDefinition
Field Value
WordSetPropertyDefinition
public static readonly Property<bool, TextTag> WordSetPropertyDefinition
Field Value
WrapModePropertyDefinition
public static readonly Property<WrapMode, TextTag> WrapModePropertyDefinition
Field Value
WrapModeSetPropertyDefinition
public static readonly Property<bool, TextTag> WrapModeSetPropertyDefinition
Field Value
Properties
AccumulativeMargin
public bool AccumulativeMargin { get; set; }
Property Value
AllowBreaks
public bool AllowBreaks { get; set; }
Property Value
AllowBreaksSet
public bool AllowBreaksSet { get; set; }
Property Value
Background
public string? Background { set; }
Property Value
BackgroundFullHeight
public bool BackgroundFullHeight { get; set; }
Property Value
BackgroundFullHeightSet
public bool BackgroundFullHeightSet { get; set; }
Property Value
BackgroundRgba
public RGBA BackgroundRgba { get; set; }
Property Value
BackgroundSet
public bool BackgroundSet { get; set; }
Property Value
Direction
public TextDirection Direction { get; set; }
Property Value
Editable
public bool Editable { get; set; }
Property Value
EditableSet
public bool EditableSet { get; set; }
Property Value
Fallback
public bool Fallback { get; set; }
Property Value
FallbackSet
public bool FallbackSet { get; set; }
Property Value
Family
public string? Family { get; set; }
Property Value
FamilySet
public bool FamilySet { get; set; }
Property Value
Font
public string? Font { get; set; }
Property Value
FontDesc
public FontDescription FontDesc { get; set; }
Property Value
FontFeatures
public string? FontFeatures { get; set; }
Property Value
FontFeaturesSet
public bool FontFeaturesSet { get; set; }
Property Value
Foreground
public string? Foreground { set; }
Property Value
ForegroundRgba
public RGBA ForegroundRgba { get; set; }
Property Value
ForegroundSet
public bool ForegroundSet { get; set; }
Property Value
Indent
public int Indent { get; set; }
Property Value
IndentSet
public bool IndentSet { get; set; }
Property Value
InsertHyphens
public bool InsertHyphens { get; set; }
Property Value
InsertHyphensSet
public bool InsertHyphensSet { get; set; }
Property Value
Invisible
public bool Invisible { get; set; }
Property Value
InvisibleSet
public bool InvisibleSet { get; set; }
Property Value
Justification
public Justification Justification { get; set; }
Property Value
JustificationSet
public bool JustificationSet { get; set; }
Property Value
Language
public string? Language { get; set; }
Property Value
LanguageSet
public bool LanguageSet { get; set; }
Property Value
LeftMargin
public int LeftMargin { get; set; }
Property Value
LeftMarginSet
public bool LeftMarginSet { get; set; }
Property Value
LetterSpacing
public int LetterSpacing { get; set; }
Property Value
LetterSpacingSet
public bool LetterSpacingSet { get; set; }
Property Value
LineHeight
public float LineHeight { get; set; }
Property Value
LineHeightSet
public bool LineHeightSet { get; set; }
Property Value
Name
public string? Name { get; }
Property Value
Overline
public Overline Overline { get; set; }
Property Value
OverlineRgba
public RGBA OverlineRgba { get; set; }
Property Value
OverlineRgbaSet
public bool OverlineRgbaSet { get; set; }
Property Value
OverlineSet
public bool OverlineSet { get; set; }
Property Value
ParagraphBackground
public string? ParagraphBackground { set; }
Property Value
ParagraphBackgroundRgba
public RGBA ParagraphBackgroundRgba { get; set; }
Property Value
ParagraphBackgroundSet
public bool ParagraphBackgroundSet { get; set; }
Property Value
PixelsAboveLines
public int PixelsAboveLines { get; set; }
Property Value
PixelsAboveLinesSet
public bool PixelsAboveLinesSet { get; set; }
Property Value
PixelsBelowLines
public int PixelsBelowLines { get; set; }
Property Value
PixelsBelowLinesSet
public bool PixelsBelowLinesSet { get; set; }
Property Value
PixelsInsideWrap
public int PixelsInsideWrap { get; set; }
Property Value
PixelsInsideWrapSet
public bool PixelsInsideWrapSet { get; set; }
Property Value
RightMargin
public int RightMargin { get; set; }
Property Value
RightMarginSet
public bool RightMarginSet { get; set; }
Property Value
Rise
public int Rise { get; set; }
Property Value
RiseSet
public bool RiseSet { get; set; }
Property Value
Scale
public double Scale { get; set; }
Property Value
ScaleSet
public bool ScaleSet { get; set; }
Property Value
Sentence
public bool Sentence { get; set; }
Property Value
SentenceSet
public bool SentenceSet { get; set; }
Property Value
ShowSpaces
public ShowFlags ShowSpaces { get; set; }
Property Value
ShowSpacesSet
public bool ShowSpacesSet { get; set; }
Property Value
Size
public int Size { get; set; }
Property Value
SizePoints
public double SizePoints { get; set; }
Property Value
SizeSet
public bool SizeSet { get; set; }
Property Value
Stretch
public Stretch Stretch { get; set; }
Property Value
StretchSet
public bool StretchSet { get; set; }
Property Value
Strikethrough
public bool Strikethrough { get; set; }
Property Value
StrikethroughRgba
public RGBA StrikethroughRgba { get; set; }
Property Value
StrikethroughRgbaSet
public bool StrikethroughRgbaSet { get; set; }
Property Value
StrikethroughSet
public bool StrikethroughSet { get; set; }
Property Value
Style
public Style Style { get; set; }
Property Value
StyleSet
public bool StyleSet { get; set; }
Property Value
Tabs
public TabArray Tabs { get; set; }
Property Value
TabsSet
public bool TabsSet { get; set; }
Property Value
TextTransform
public TextTransform TextTransform { get; set; }
Property Value
TextTransformSet
public bool TextTransformSet { get; set; }
Property Value
Underline
public Underline Underline { get; set; }
Property Value
UnderlineRgba
public RGBA UnderlineRgba { get; set; }
Property Value
UnderlineRgbaSet
public bool UnderlineRgbaSet { get; set; }
Property Value
UnderlineSet
public bool UnderlineSet { get; set; }
Property Value
Variant
public Variant Variant { get; set; }
Property Value
VariantSet
public bool VariantSet { get; set; }
Property Value
Weight
public int Weight { get; set; }
Property Value
WeightSet
public bool WeightSet { get; set; }
Property Value
Word
public bool Word { get; set; }
Property Value
WordSet
public bool WordSet { get; set; }
Property Value
WrapMode
public WrapMode WrapMode { get; set; }
Property Value
WrapModeSet
public bool WrapModeSet { get; set; }
Property Value
Methods
Changed(bool)
public void Changed(bool sizeChanged)
Parameters
sizeChangedbool
GetGType()
public static Type GetGType()
Returns
GetPriority()
public int GetPriority()
Returns
New(string?)
public static TextTag New(string? name)
Parameters
namestring
Returns
NewFromPointer(nint, bool)
Creates a new managed TextTag instance for a given pointer.
public static TextTag NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new TextTag and sets the properties specified by the construct arguments.
public static TextTag NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetPriority(int)
public void SetPriority(int priority)
Parameters
priorityint