Interface Editable
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public interface Editable
Fields
CursorPositionPropertyDefinition
public static readonly Property<int, Editable> CursorPositionPropertyDefinition
Field Value
- Property<int, Editable>
EditablePropertyDefinition
public static readonly Property<bool, Editable> EditablePropertyDefinition
Field Value
- Property<bool, Editable>
EnableUndoPropertyDefinition
public static readonly Property<bool, Editable> EnableUndoPropertyDefinition
Field Value
- Property<bool, Editable>
MaxWidthCharsPropertyDefinition
public static readonly Property<int, Editable> MaxWidthCharsPropertyDefinition
Field Value
- Property<int, Editable>
SelectionBoundPropertyDefinition
public static readonly Property<int, Editable> SelectionBoundPropertyDefinition
Field Value
- Property<int, Editable>
Text_PropertyDefinition
public static readonly Property<string?, Editable> Text_PropertyDefinition
Field Value
- Property<string, Editable>
WidthCharsPropertyDefinition
public static readonly Property<int, Editable> WidthCharsPropertyDefinition
Field Value
- Property<int, Editable>
XalignPropertyDefinition
public static readonly Property<float, Editable> XalignPropertyDefinition
Field Value
- Property<float, Editable>
Properties
CursorPosition
int CursorPosition { get; }
Property Value
- int
Editable
bool Editable { get; set; }
Property Value
- bool
EnableUndo
bool EnableUndo { get; set; }
Property Value
- bool
Handle
ObjectHandle Handle { get; }
Property Value
- ObjectHandle
MaxWidthChars
int MaxWidthChars { get; set; }
Property Value
- int
SelectionBound
int SelectionBound { get; }
Property Value
- int
Text_
string? Text_ { get; set; }
Property Value
- string
WidthChars
int WidthChars { get; set; }
Property Value
- int
Xalign
float Xalign { get; set; }
Property Value
- float
Methods
[Version("4.10")]
bool DelegateGetAccessiblePlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
- bool
DeleteSelection()
DeleteText(int, int)
void DeleteText(int startPos, int endPos)
Parameters
startPos
int
endPos
int
FinishDelegate()
GetAlignment()
Returns
- float
GetChars(int, int)
string GetChars(int startPos, int endPos)
Parameters
startPos
int
endPos
int
Returns
- string
GetDelegate()
Returns
- Editable
GetEditable()
Returns
- bool
GetEnableUndo()
Returns
- bool
GetMaxWidthChars()
Returns
- int
GetPosition()
Returns
- int
GetSelectionBounds(out int, out int)
bool GetSelectionBounds(out int startPos, out int endPos)
Parameters
startPos
int
endPos
int
Returns
- bool
GetText()
Returns
- string
GetWidthChars()
Returns
- int
InitDelegate()
InsertText(string, int, ref int)
void InsertText(string text, int length, ref int position)
Parameters
text
string
length
int
position
int
SelectRegion(int, int)
void SelectRegion(int startPos, int endPos)
Parameters
startPos
int
endPos
int
SetAlignment(float)
void SetAlignment(float xalign)
Parameters
xalign
float
SetEditable(bool)
void SetEditable(bool isEditable)
Parameters
isEditable
bool
SetEnableUndo(bool)
void SetEnableUndo(bool enableUndo)
Parameters
enableUndo
bool
SetMaxWidthChars(int)
void SetMaxWidthChars(int nChars)
Parameters
nChars
int
SetPosition(int)
void SetPosition(int position)
Parameters
position
int
SetText(string)
void SetText(string text)
Parameters
text
string
SetWidthChars(int)
void SetWidthChars(int nChars)
Parameters
nChars
int