PasswordEntryBuffer
open class PasswordEntryBuffer(pointer: <Error class: unknown class><<Error class: unknown class>>) : EntryBuffer
A GtkEntryBuffer
that locks the underlying memory to prevent it from being swapped to disk.
GtkPasswordEntry
uses a GtkPasswordEntryBuffer
.
Since
4.4
Constructors
Functions
Link copied to clipboard
fun connectDeletedText(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>
The text is altered in the default handler for this signal.
Link copied to clipboard
fun connectInsertedText(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, chars: String, <Error class: unknown class>) -> Unit): <Error class: unknown class>
This signal is emitted after text is inserted into the buffer.
Link copied to clipboard
open fun deleteText(position: <Error class: unknown class>, nChars: Int): <Error class: unknown class>
Deletes a sequence of characters from the buffer.
Link copied to clipboard
open fun emitDeletedText(position: <Error class: unknown class>, nChars: <Error class: unknown class>)
Used when subclassing GtkEntryBuffer
.
Link copied to clipboard
open fun emitInsertedText(position: <Error class: unknown class>, chars: String, nChars: <Error class: unknown class>)
Used when subclassing GtkEntryBuffer
.
Link copied to clipboard
Retrieves the maximum allowed length of the text in @buffer.
Link copied to clipboard
open fun insertText(position: <Error class: unknown class>, chars: String, nChars: Int): <Error class: unknown class>
Inserts @n_chars characters of @chars into the contents of the buffer, at position @position.
Link copied to clipboard
Sets the maximum allowed length of the contents of the buffer.