From f1bf713d0fcd86d38b119d95b276f67245123810 Mon Sep 17 00:00:00 2001 From: Yasumichi Akahoshi Date: Sat, 19 Nov 2011 02:55:00 +0900 Subject: Add mallard pages and update screenshots. Signed-off-by: Yasumichi Akahoshi --- help/C/password.page | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 help/C/password.page (limited to 'help/C/password.page') diff --git a/help/C/password.page b/help/C/password.page new file mode 100644 index 00000000..22094d89 --- /dev/null +++ b/help/C/password.page @@ -0,0 +1,50 @@ + + + + Use the --password option. + + Password Dialog +

+ Use the --password option to create a password entry dialog. +

+

+ The password entry dialog supports the following options: +

+ + + + <cmd>--username</cmd> +

Display the username field.

+
+
+ +

+ The following example script shows how to create a password entry dialog: +

+ + +#!/bin/sh + +ENTRY=`zenity --password --username` + +case $? in + 0) + echo "User Name: `echo $ENTRY | cut -d'|' -f1`" + echo "Password : `echo $ENTRY | cut -d'|' -f2`" + ;; + 1) + echo "Stop login.";; + -1) + echo "An unexpected error has occurred.";; +esac + + +
+ Password Entry Dialog Example + Zenity password entry dialog example + +
+ +
-- cgit From d0da299f5145e9a31824f834fd9147d5dda5c0f5 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Sat, 23 Sep 2017 22:48:48 +0200 Subject: help: Remove id parameter from figure element, to pass 'yelp-check validate' --- help/C/password.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'help/C/password.page') diff --git a/help/C/password.page b/help/C/password.page index 22094d89..ed062a32 100644 --- a/help/C/password.page +++ b/help/C/password.page @@ -41,7 +41,7 @@ case $? in esac -
+
Password Entry Dialog Example Zenity password entry dialog example -- cgit