Derives from
<gtk-dialog>
.This class defines the following slots:
show-username
- show-username
show-domain
- show-domain
show-password
- show-password
show-new-password
- show-new-password
show-new-password-quality
- show-new-password-quality
show-userpass-buttons
- show-userpass-buttons
show-remember
- show-remember
readonly-username
- readonly-username
readonly-domain
- readonly-domain
anonymous
- anonymous
remember-mode
- remember-mode
message
- message
message-markup
- message-markup
username
- username
domain
- domain
password
- password
new-password
- new-password
<gnome-password-dialog>
) ⇒ (ret bool
)Checks whether anonymous support is set to
#t
and the radio button for connecting as anonymous user is active.
- password-dialog
- A
<gnome-password-dialog>
- ret
#t
if anonymous support is set and the radio button is active,#f
otherwise.
<gnome-password-dialog>
) ⇒ (ret mchars
)Gets the domain name from the password dialog.
- password-dialog
- A
<gnome-password-dialog>
- ret
- The domain name, a char*.
Since 2.4
<gnome-password-dialog>
) ⇒ (ret mchars
)Gets the password from the password dialog.
- password-dialog
- A
<gnome-password-dialog>
- ret
- The password, a char*.
Since 2.4
<gnome-password-dialog>
) ⇒ (ret mchars
)Gets the username from the password dialog.
- password-dialog
- A
<gnome-password-dialog>
- ret
- The username, a char*.
Since 2.4
mchars
) (message mchars
) (username mchars
) (password mchars
) (readonly_username bool
) ⇒ (ret <gtk-widget>
)Creates a new password dialog with an optional title, message, username, password etc. The user will be given the option to save the password for this session only or store it permanently in her keyring.
- dialog-title
- The title of the dialog
- message
- Message text for the dialog
- username
- The username to be used in the dialog
- password
- Password to be used
- readonly-username
- Boolean value that controls whether the user can edit the username or not
- ret
- A new password dialog.
Since 2.4
<gnome-password-dialog>
) ⇒ (ret bool
)Gets the user input from PasswordDialog.
- password-dialog
- A
<gnome-password-dialog>
- ret
- ‘
#t
’ if "Connect" button is pressed. ‘#f
’ if "Cancel" button is pressed.Since 2.4
<gnome-password-dialog>
) (domain mchars
)Sets the domain field in the password dialog to domain.
- password-dialog
- A
<gnome-password-dialog>
- domain
- The domain that should be set
Since 2.4
<gnome-password-dialog>
) (password mchars
)Sets the password in the password dialog.
- password-dialog
- A
<gnome-password-dialog>
- password
- The password that should be set
Since 2.4
<gnome-password-dialog>
) (remember <gnome-password-dialog-remember>
)Based on the value of
<gnome-password-dialog-remember>
, sets the state of the check buttons to remember password for the session and save password to keyring .
- password-dialog
- A
<gnome-password-dialog>
.- remember
- A
<gnome-password-dialog-remember>
.Since 2.6