Class EntryBuffer
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class EntryBuffer : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
EntryBuffer
- Implements
- Derived
- Inherited Members
Constructors
EntryBuffer(bool, params ConstructArgument[])
protected EntryBuffer(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
EntryBuffer(IntPtr, bool)
protected EntryBuffer(IntPtr ptr, bool ownedRef)
Parameters
Fields
DeletedTextSignal
Signal Descriptor for OnDeletedText.
public static readonly Signal<EntryBuffer, EntryBuffer.DeletedTextSignalArgs> DeletedTextSignal
Field Value
InsertedTextSignal
Signal Descriptor for OnInsertedText.
public static readonly Signal<EntryBuffer, EntryBuffer.InsertedTextSignalArgs> InsertedTextSignal
Field Value
LengthPropertyDefinition
public static readonly Property<uint, EntryBuffer> LengthPropertyDefinition
Field Value
MaxLengthPropertyDefinition
public static readonly Property<int, EntryBuffer> MaxLengthPropertyDefinition
Field Value
TextPropertyDefinition
public static readonly Property<string?, EntryBuffer> TextPropertyDefinition
Field Value
Properties
Length
public uint Length { get; }
Property Value
MaxLength
public int MaxLength { get; set; }
Property Value
Text
public string? Text { get; set; }
Property Value
Methods
DeleteText(uint, int)
public uint DeleteText(uint position, int nChars)
Parameters
Returns
EmitDeletedText(uint, uint)
public void EmitDeletedText(uint position, uint nChars)
Parameters
EmitInsertedText(uint, string, uint)
public void EmitInsertedText(uint position, string chars, uint nChars)
Parameters
GetBytes()
public nuint GetBytes()
Returns
GetGType()
public static Type GetGType()
Returns
GetLength()
public uint GetLength()
Returns
GetMaxLength()
public int GetMaxLength()
Returns
GetText()
public string GetText()
Returns
InsertText(uint, string, int)
public uint InsertText(uint position, string chars, int nChars)
Parameters
Returns
New(string?, int)
public static EntryBuffer New(string? initialChars, int nInitialChars)
Parameters
Returns
SetMaxLength(int)
public void SetMaxLength(int maxLength)
Parameters
maxLength
int
SetText(string, int)
public void SetText(string chars, int nChars)
Parameters
Events
OnDeletedText
public event SignalHandler<EntryBuffer, EntryBuffer.DeletedTextSignalArgs> OnDeletedText
Event Type
OnInsertedText
public event SignalHandler<EntryBuffer, EntryBuffer.InsertedTextSignalArgs> OnInsertedText