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 [[email protected]] to be used with [[email protected]] 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 [[email protected]_with_buffer] or [[email protected]_buffer] to set this buffer on an entry.


Namespace: Gcr
Package: gcr-ui-3

Content:

Creation methods:

Inherited Members:

All known members inherited from class Gtk.EntryBuffer
All known members inherited from class GLib.Object



2022 vala-language.org