SecureEntryBuffer


Object Hierarchy:

Gcr.SecureEntryBuffer Gcr.SecureEntryBuffer Gcr.SecureEntryBuffer Gtk.EntryBuffer Gtk.EntryBuffer Gtk.EntryBuffer->Gcr.SecureEntryBuffer GLib.Object GLib.Object GLib.Object->Gtk.EntryBuffer

Description:

[ CCode ( type_id = "gcr_secure_entry_buffer_get_type ()" ) ]
public class SecureEntryBuffer : EntryBuffer

A [class@Gtk.

EntryBuffer] that uses non-pageable memory.

It's good practice to try to keep passwords or sensitive secrets out of pageable memory whenever possible, so that they don't get written to disk.

A [class@SecureEntryBuffer] is a [class@Gtk.EntryBuffer] to be used with [class@Gtk.Entry] which uses non-pageable memory to store a password placed in the entry. In order to make any sense at all, the entry must have it's visibility turned off, and just be displaying place holder characters for the text. That is, a password style entry.

Use [ctor@Gtk.Entry.new_with_buffer] or [method@Gtk.Entry.set_buffer] to set this buffer on an entry.


Namespace: Gcr
Package: gcr-ui-3

Content:

Creation methods:

Inherited Members: