Table of Contents

Class CellRendererText

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class CellRendererText : CellRenderer, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
CellRendererText
Implements
Derived
Inherited Members

Constructors

CellRendererText(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 CellRendererText(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

CellRendererText(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CellRendererText(CreationData data)

Parameters

data CreationData

CellRendererText(CellRendererTextHandle)

protected CellRendererText(CellRendererTextHandle handle)

Parameters

handle CellRendererTextHandle

Fields

AlignSetPropertyDefinition

public static readonly Property<bool, CellRendererText> AlignSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

AlignmentPropertyDefinition

public static readonly Property<Alignment, CellRendererText> AlignmentPropertyDefinition

Field Value

Property<Alignment, CellRendererText>

AttributesPropertyDefinition

public static readonly Property<AttrList, CellRendererText> AttributesPropertyDefinition

Field Value

Property<AttrList, CellRendererText>

BackgroundPropertyDefinition

public static readonly Property<string?, CellRendererText> BackgroundPropertyDefinition

Field Value

Property<string, CellRendererText>

BackgroundRgbaPropertyDefinition

public static readonly Property<RGBA, CellRendererText> BackgroundRgbaPropertyDefinition

Field Value

Property<RGBA, CellRendererText>

BackgroundSetPropertyDefinition

public static readonly Property<bool, CellRendererText> BackgroundSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

EditablePropertyDefinition

public static readonly Property<bool, CellRendererText> EditablePropertyDefinition

Field Value

Property<bool, CellRendererText>

EditableSetPropertyDefinition

public static readonly Property<bool, CellRendererText> EditableSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

EditedSignal

Signal Descriptor for OnEdited.

public static readonly Signal<CellRendererText, CellRendererText.EditedSignalArgs> EditedSignal

Field Value

Signal<CellRendererText, CellRendererText.EditedSignalArgs>

EllipsizePropertyDefinition

public static readonly Property<EllipsizeMode, CellRendererText> EllipsizePropertyDefinition

Field Value

Property<EllipsizeMode, CellRendererText>

EllipsizeSetPropertyDefinition

public static readonly Property<bool, CellRendererText> EllipsizeSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

FamilyPropertyDefinition

public static readonly Property<string?, CellRendererText> FamilyPropertyDefinition

Field Value

Property<string, CellRendererText>

FamilySetPropertyDefinition

public static readonly Property<bool, CellRendererText> FamilySetPropertyDefinition

Field Value

Property<bool, CellRendererText>

FontDescPropertyDefinition

public static readonly Property<FontDescription, CellRendererText> FontDescPropertyDefinition

Field Value

Property<FontDescription, CellRendererText>

FontPropertyDefinition

public static readonly Property<string?, CellRendererText> FontPropertyDefinition

Field Value

Property<string, CellRendererText>

ForegroundPropertyDefinition

public static readonly Property<string?, CellRendererText> ForegroundPropertyDefinition

Field Value

Property<string, CellRendererText>

ForegroundRgbaPropertyDefinition

public static readonly Property<RGBA, CellRendererText> ForegroundRgbaPropertyDefinition

Field Value

Property<RGBA, CellRendererText>

ForegroundSetPropertyDefinition

public static readonly Property<bool, CellRendererText> ForegroundSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

LanguagePropertyDefinition

public static readonly Property<string?, CellRendererText> LanguagePropertyDefinition

Field Value

Property<string, CellRendererText>

LanguageSetPropertyDefinition

public static readonly Property<bool, CellRendererText> LanguageSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

MarkupPropertyDefinition

public static readonly Property<string?, CellRendererText> MarkupPropertyDefinition

Field Value

Property<string, CellRendererText>

MaxWidthCharsPropertyDefinition

public static readonly Property<int, CellRendererText> MaxWidthCharsPropertyDefinition

Field Value

Property<int, CellRendererText>

PlaceholderTextPropertyDefinition

public static readonly Property<string?, CellRendererText> PlaceholderTextPropertyDefinition

Field Value

Property<string, CellRendererText>

RisePropertyDefinition

public static readonly Property<int, CellRendererText> RisePropertyDefinition

Field Value

Property<int, CellRendererText>

RiseSetPropertyDefinition

public static readonly Property<bool, CellRendererText> RiseSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

ScalePropertyDefinition

public static readonly Property<double, CellRendererText> ScalePropertyDefinition

Field Value

Property<double, CellRendererText>

ScaleSetPropertyDefinition

public static readonly Property<bool, CellRendererText> ScaleSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

SingleParagraphModePropertyDefinition

public static readonly Property<bool, CellRendererText> SingleParagraphModePropertyDefinition

Field Value

Property<bool, CellRendererText>

SizePointsPropertyDefinition

public static readonly Property<double, CellRendererText> SizePointsPropertyDefinition

Field Value

Property<double, CellRendererText>

SizePropertyDefinition

public static readonly Property<int, CellRendererText> SizePropertyDefinition

Field Value

Property<int, CellRendererText>

SizeSetPropertyDefinition

public static readonly Property<bool, CellRendererText> SizeSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

StretchPropertyDefinition

public static readonly Property<Stretch, CellRendererText> StretchPropertyDefinition

Field Value

Property<Stretch, CellRendererText>

StretchSetPropertyDefinition

public static readonly Property<bool, CellRendererText> StretchSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

StrikethroughPropertyDefinition

public static readonly Property<bool, CellRendererText> StrikethroughPropertyDefinition

Field Value

Property<bool, CellRendererText>

StrikethroughSetPropertyDefinition

public static readonly Property<bool, CellRendererText> StrikethroughSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

StylePropertyDefinition

public static readonly Property<Style, CellRendererText> StylePropertyDefinition

Field Value

Property<Style, CellRendererText>

StyleSetPropertyDefinition

public static readonly Property<bool, CellRendererText> StyleSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

TextPropertyDefinition

public static readonly Property<string?, CellRendererText> TextPropertyDefinition

Field Value

Property<string, CellRendererText>

UnderlinePropertyDefinition

public static readonly Property<Underline, CellRendererText> UnderlinePropertyDefinition

Field Value

Property<Underline, CellRendererText>

UnderlineSetPropertyDefinition

public static readonly Property<bool, CellRendererText> UnderlineSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

VariantPropertyDefinition

public static readonly Property<Variant, CellRendererText> VariantPropertyDefinition

Field Value

Property<Variant, CellRendererText>

VariantSetPropertyDefinition

public static readonly Property<bool, CellRendererText> VariantSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

WeightPropertyDefinition

public static readonly Property<int, CellRendererText> WeightPropertyDefinition

Field Value

Property<int, CellRendererText>

WeightSetPropertyDefinition

public static readonly Property<bool, CellRendererText> WeightSetPropertyDefinition

Field Value

Property<bool, CellRendererText>

WidthCharsPropertyDefinition

public static readonly Property<int, CellRendererText> WidthCharsPropertyDefinition

Field Value

Property<int, CellRendererText>

WrapModePropertyDefinition

public static readonly Property<WrapMode, CellRendererText> WrapModePropertyDefinition

Field Value

Property<WrapMode, CellRendererText>

WrapWidthPropertyDefinition

public static readonly Property<int, CellRendererText> WrapWidthPropertyDefinition

Field Value

Property<int, CellRendererText>

Properties

AlignSet

public bool AlignSet { get; set; }

Property Value

bool

Alignment

public Alignment Alignment { get; set; }

Property Value

Alignment

Attributes

public AttrList Attributes { get; set; }

Property Value

AttrList

Background

public string? Background { set; }

Property Value

string

BackgroundRgba

public RGBA BackgroundRgba { get; set; }

Property Value

RGBA

BackgroundSet

public bool BackgroundSet { get; set; }

Property Value

bool

Editable

public bool Editable { get; set; }

Property Value

bool

EditableSet

public bool EditableSet { get; set; }

Property Value

bool

Ellipsize

public EllipsizeMode Ellipsize { get; set; }

Property Value

EllipsizeMode

EllipsizeSet

public bool EllipsizeSet { get; set; }

Property Value

bool

Family

public string? Family { get; set; }

Property Value

string

FamilySet

public bool FamilySet { get; set; }

Property Value

bool

Font

public string? Font { get; set; }

Property Value

string

FontDesc

public FontDescription FontDesc { get; set; }

Property Value

FontDescription

Foreground

public string? Foreground { set; }

Property Value

string

ForegroundRgba

public RGBA ForegroundRgba { get; set; }

Property Value

RGBA

ForegroundSet

public bool ForegroundSet { get; set; }

Property Value

bool

Language

public string? Language { get; set; }

Property Value

string

LanguageSet

public bool LanguageSet { get; set; }

Property Value

bool

Markup

public string? Markup { set; }

Property Value

string

MaxWidthChars

public int MaxWidthChars { get; set; }

Property Value

int

PlaceholderText

public string? PlaceholderText { get; set; }

Property Value

string

Rise

public int Rise { get; set; }

Property Value

int

RiseSet

public bool RiseSet { get; set; }

Property Value

bool

Scale

public double Scale { get; set; }

Property Value

double

ScaleSet

public bool ScaleSet { get; set; }

Property Value

bool

SingleParagraphMode

public bool SingleParagraphMode { get; set; }

Property Value

bool

Size

public int Size { get; set; }

Property Value

int

SizePoints

public double SizePoints { get; set; }

Property Value

double

SizeSet

public bool SizeSet { get; set; }

Property Value

bool

Stretch

public Stretch Stretch { get; set; }

Property Value

Stretch

StretchSet

public bool StretchSet { get; set; }

Property Value

bool

Strikethrough

public bool Strikethrough { get; set; }

Property Value

bool

StrikethroughSet

public bool StrikethroughSet { get; set; }

Property Value

bool

Style

public Style Style { get; set; }

Property Value

Style

StyleSet

public bool StyleSet { get; set; }

Property Value

bool

Text

public string? Text { get; set; }

Property Value

string

Underline

public Underline Underline { get; set; }

Property Value

Underline

UnderlineSet

public bool UnderlineSet { get; set; }

Property Value

bool

Variant

public Variant Variant { get; set; }

Property Value

Variant

VariantSet

public bool VariantSet { get; set; }

Property Value

bool

Weight

public int Weight { get; set; }

Property Value

int

WeightSet

public bool WeightSet { get; set; }

Property Value

bool

WidthChars

public int WidthChars { get; set; }

Property Value

int

WrapMode

public WrapMode WrapMode { get; set; }

Property Value

WrapMode

WrapWidth

public int WrapWidth { get; set; }

Property Value

int

Methods

GetGType()

public static Type GetGType()

Returns

Type

New()

public static CellRendererText New()

Returns

CellRendererText

NewFromPointer(nint, bool)

Creates a new managed CellRendererText instance for a given pointer.

public static CellRendererText NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CellRendererText

NewWithProperties(ConstructArgument[])

Creates a new CellRendererText and sets the properties specified by the construct arguments.

public static CellRendererText NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CellRendererText

SetFixedHeightFromFont(int)

public void SetFixedHeightFromFont(int numberOfRows)

Parameters

numberOfRows int

Events

OnEdited

public event SignalHandler<CellRendererText, CellRendererText.EditedSignalArgs> OnEdited

Event Type

SignalHandler<CellRendererText, CellRendererText.EditedSignalArgs>