Table of Contents

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 bool
constructArguments ConstructArgument[]

EntryBuffer(IntPtr, bool)

protected EntryBuffer(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

DeletedTextSignal

Signal Descriptor for OnDeletedText.

public static readonly Signal<EntryBuffer, EntryBuffer.DeletedTextSignalArgs> DeletedTextSignal

Field Value

Signal<EntryBuffer, EntryBuffer.DeletedTextSignalArgs>

InsertedTextSignal

Signal Descriptor for OnInsertedText.

public static readonly Signal<EntryBuffer, EntryBuffer.InsertedTextSignalArgs> InsertedTextSignal

Field Value

Signal<EntryBuffer, EntryBuffer.InsertedTextSignalArgs>

LengthPropertyDefinition

public static readonly Property<uint, EntryBuffer> LengthPropertyDefinition

Field Value

Property<uint, EntryBuffer>

MaxLengthPropertyDefinition

public static readonly Property<int, EntryBuffer> MaxLengthPropertyDefinition

Field Value

Property<int, EntryBuffer>

TextPropertyDefinition

public static readonly Property<string?, EntryBuffer> TextPropertyDefinition

Field Value

Property<string, EntryBuffer>

Properties

Length

public uint Length { get; }

Property Value

uint

MaxLength

public int MaxLength { get; set; }

Property Value

int

Text

public string? Text { get; set; }

Property Value

string

Methods

DeleteText(uint, int)

public uint DeleteText(uint position, int nChars)

Parameters

position uint
nChars int

Returns

uint

EmitDeletedText(uint, uint)

public void EmitDeletedText(uint position, uint nChars)

Parameters

position uint
nChars uint

EmitInsertedText(uint, string, uint)

public void EmitInsertedText(uint position, string chars, uint nChars)

Parameters

position uint
chars string
nChars uint

GetBytes()

public nuint GetBytes()

Returns

nuint

GetGType()

public static Type GetGType()

Returns

Type

GetLength()

public uint GetLength()

Returns

uint

GetMaxLength()

public int GetMaxLength()

Returns

int

GetText()

public string GetText()

Returns

string

InsertText(uint, string, int)

public uint InsertText(uint position, string chars, int nChars)

Parameters

position uint
chars string
nChars int

Returns

uint

New(string?, int)

public static EntryBuffer New(string? initialChars, int nInitialChars)

Parameters

initialChars string
nInitialChars int

Returns

EntryBuffer

SetMaxLength(int)

public void SetMaxLength(int maxLength)

Parameters

maxLength int

SetText(string, int)

public void SetText(string chars, int nChars)

Parameters

chars string
nChars int

Events

OnDeletedText

public event SignalHandler<EntryBuffer, EntryBuffer.DeletedTextSignalArgs> OnDeletedText

Event Type

SignalHandler<EntryBuffer, EntryBuffer.DeletedTextSignalArgs>

OnInsertedText

public event SignalHandler<EntryBuffer, EntryBuffer.InsertedTextSignalArgs> OnInsertedText

Event Type

SignalHandler<EntryBuffer, EntryBuffer.InsertedTextSignalArgs>