Table of Contents

Class EditableLabel

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class EditableLabel : Widget, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ConstraintTarget, Editable, IHandle, GTypeProvider
Inheritance
EditableLabel
Implements
Inherited Members

Constructors

EditableLabel()

public EditableLabel()

EditableLabel(params ConstructArgument[])

protected EditableLabel(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

EditableLabel(IntPtr, bool)

protected EditableLabel(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

EditingPropertyDefinition

public static readonly Property<bool, EditableLabel> EditingPropertyDefinition

Field Value

Property<bool, EditableLabel>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

CursorPosition

public int CursorPosition { get; }

Property Value

int

Editable

public bool Editable { get; set; }

Property Value

bool

Editing

public bool Editing { get; set; }

Property Value

bool

EnableUndo

public bool EnableUndo { get; set; }

Property Value

bool

MaxWidthChars

public int MaxWidthChars { get; set; }

Property Value

int

SelectionBound

public int SelectionBound { get; }

Property Value

int

Text_

public string? Text_ { get; set; }

Property Value

string

WidthChars

public int WidthChars { get; set; }

Property Value

int

Xalign

public float Xalign { get; set; }

Property Value

float

Methods

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

DelegateGetAccessiblePlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool DelegateGetAccessiblePlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

DeleteSelection()

public void DeleteSelection()

DeleteText(int, int)

public void DeleteText(int startPos, int endPos)

Parameters

startPos int
endPos int

FinishDelegate()

public void FinishDelegate()

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetChars(int, int)

public string GetChars(int startPos, int endPos)

Parameters

startPos int
endPos int

Returns

string

GetDelegate()

public Editable? GetDelegate()

Returns

Editable

GetEditable()

public bool GetEditable()

Returns

bool

GetEditing()

public bool GetEditing()

Returns

bool

GetEnableUndo()

public bool GetEnableUndo()

Returns

bool

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetMaxWidthChars()

public int GetMaxWidthChars()

Returns

int

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetPosition()

public int GetPosition()

Returns

int

GetSelectionBounds(out int, out int)

public bool GetSelectionBounds(out int startPos, out int endPos)

Parameters

startPos int
endPos int

Returns

bool

GetText()

public string GetText()

Returns

string

GetWidthChars()

public int GetWidthChars()

Returns

int

InitDelegate()

public void InitDelegate()

InsertText(string, int, ref int)

public void InsertText(string text, int length, ref int position)

Parameters

text string
length int
position int

New(string)

public static EditableLabel New(string str)

Parameters

str string

Returns

EditableLabel

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SelectRegion(int, int)

public void SelectRegion(int startPos, int endPos)

Parameters

startPos int
endPos int

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetEditable(bool)

public void SetEditable(bool isEditable)

Parameters

isEditable bool

SetEnableUndo(bool)

public void SetEnableUndo(bool enableUndo)

Parameters

enableUndo bool

SetMaxWidthChars(int)

public void SetMaxWidthChars(int nChars)

Parameters

nChars int

SetPosition(int)

public void SetPosition(int position)

Parameters

position int

SetText(string)

public void SetText(string text)

Parameters

text string

SetWidthChars(int)

public void SetWidthChars(int nChars)

Parameters

nChars int

StartEditing()

public void StartEditing()

StopEditing(bool)

public void StopEditing(bool commit)

Parameters

commit bool

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible