Sudo


Object Hierarchy:

Object hierarchy for Sudo

Description:

public class Sudo : Box

Root sudo prompt owned by ChatPermission.

Stores a successful password in libsecret. Later prompts hide the entry and require a two-second hold on Allow. Wrong stored secrets fall back to the type form. Windows and Android compile a no-op stub.

Example

this.sudo = new Sudo(this.allow_once_btn);
this.sudo.checked.connect((password) => {
this.pending_elevation_password = password;
this.resume_callback();
});
if (high_risk) {
this.sudo.prepare.begin();
}


Namespace: OLLMchatGtk
Package: ollmchat

Content:

Creation methods:

Methods:

Signals:

Fields:

Inherited Members:

All known members inherited from class Gtk.Box
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Orientable