Gnome2:...dDialog(3)
π Gnome2::PasswordDialog β the whole vibe π
okay bestie, sit down, hydrate, and let me tell you about Gnome2::PasswordDialog, which lives in the Gnome2:...dDialog(3) page of the User Contributed Perl Documentation. It's a Perl wrapper for GnomePasswordDialog and it's literally the little popup that asks humans for their secrets. π
π¦ HIERARCHY π¦
so this class did NOT come from nowhere, she has lineage. main character energy, generational:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Window
+----Gtk2::Dialog
+----Gnome2::PasswordDialog
she's a Gtk2::Dialog at heart, which is a Gtk2::Window, which is a Gtk2::Bin, which is a Gtk2::Container, which is a Gtk2::Widget, which is a Gtk2::Object, which is a Glib::InitiallyUnowned, which is a Glib::Object. it's giving β¨ancestry.comβ¨.
π INTERFACES π
the extra hats she wears, no cap:
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::Buildable
β¨ METHODS β¨
the actual moves, bestie. every single one. π
widget = Gnome2::PasswordDialog->new ($dialog_title, $message, $username, $password, $readonly_username)
the constructor, the origin story. she takes all these:
$dialog_title(string)$message(string)$username(string)$password(string)$readonly_username(boolean)
boolean = $password_dialog->anon_selected
did they pick the anonymous option? returns a boolean.
Since: libgnomeui 2.8 β so she's been on this since 2.8, an icon.
string = $password_dialog->get_domain
gimme the domain string.
Since: libgnomeui 2.6
$password_dialog->set_domain ($domain)
set the domain, obviously.
$domain(string)
Since: libgnomeui 2.6
string = $password_dialog->get_password
hand over the password string, bestie.
$password_dialog->set_password ($password)
set the password.
$password(string)
$password_dialog->set_readonly_domain ($readonly)
lock the domain field so nobody can touch it.
$readonly(boolean)
Since: libgnomeui 2.6
$password_dialog->set_readonly_username ($readonly)
same energy, but for the username field.
$readonly(boolean)
passworddialogremember = $password_dialog->get_remember
returns a Gnome2::PasswordDialogRemember β yes that's the enum, we get to it, patience pookie. π
Since: libgnomeui 2.6
$password_dialog->set_remember ($remember)
set the remember mode.
$remember(Gnome2::PasswordDialogRemember)
Since: libgnomeui 2.6
boolean = $password_dialog->run_and_block
runs the dialog and blocks. yes, literally blocks. she takes the whole program hostage until the human answers. π
$password_dialog->set_show_domain ($show)
show or hide the domain field.
$show(boolean)
Since: libgnomeui 2.6
$password_dialog->set_show_password ($show)
show or hide the password field.
$show(boolean)
Since: libgnomeui 2.6
$password_dialog->set_show_remember ($show_remember)
show or hide the remember option.
$show_remember(boolean)
Since: libgnomeui 2.6
$password_dialog->set_show_username ($show)
show or hide the username field.
$show(boolean)
Since: libgnomeui 2.6
$password_dialog->set_show_userpass_buttons ($show_userpass_buttons)
show or hide the userpass buttons.
$show_userpass_buttons(boolean)
Since: libgnomeui 2.8
string = $password_dialog->get_username
gimme the username string.
$password_dialog->set_username ($username)
set the username.
$username(string)
π PROPERTIES π
every property, fully documented, flags and all. don't skip, they're all icons:
'anonymous'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β anonymous'domain'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β domain'message'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β message'message-markup'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β message-markup'new-password'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β new-password'password'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β password'readonly-domain'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β readonly-domain'readonly-username'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β readonly-username'remember-mode'(Gnome2::PasswordDialogRemember: default"nothing": readable / writable / private / static-nick / static-blurb) β remember-mode'show-domain'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β show-domain'show-new-password'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β show-new-password'show-new-password-quality'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β show-new-password-quality'show-password'(boolean: defaulttrue: readable / writable / private / static-nick / static-blurb) β show-password'show-remember'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β show-remember'show-username'(boolean: defaulttrue: readable / writable / private / static-nick / static-blurb) β show-username'show-userpass-buttons'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β show-userpass-buttons'username'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β username
π§ ENUMS AND FLAGS π§
enum Gnome2::PasswordDialogRemember
the three moods, bestie:
'nothing'/GNOME_PASSWORD_DIALOG_REMEMBER_NOTHING'session'/GNOME_PASSWORD_DIALOG_REMEMBER_SESSION'forever'/GNOME_PASSWORD_DIALOG_REMEMBER_FOREVER
π SEE ALSO π
go read these too, they're all part of the family, iykyk:
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog
π COPYRIGHT π
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
okay that's the whole page, you ate it, no crumbs. πβ¨ this was rendered byperl v5.42.0, dated2025-07-25, straight from theGnome2:...dDialog(3)corner of the internet. slay, go build something, mwah π«ΆπΈ
π¦ where this page comes from
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms