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/entry.page | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 help/C/entry.page (limited to 'help/C/entry.page') diff --git a/help/C/entry.page b/help/C/entry.page new file mode 100644 index 00000000..69ad4641 --- /dev/null +++ b/help/C/entry.page @@ -0,0 +1,57 @@ + + + + Use the --entry option. + + Text Entry Dialog +

+ Use the --entry option to create a text entry dialog. Zenity returns the contents of the text entry to standard output. +

+

+ The text entry dialog supports the following options: +

+ + + + + <cmd>--text</cmd>=<var>text</var> +

Specifies the text that is displayed in the text entry dialog.

+
+ + + <cmd>--entry-text</cmd>=<var>text</var> +

Specifies the text that is displayed in the entry field of the text entry dialog.

+
+ + + <cmd>--hide-text</cmd> +

Hides the text in the entry field of the text entry dialog.

+
+ +
+ +

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

+ + +#!/bin/sh + +if zenity --entry \ +--title="Add new profile" \ +--text="Enter name of new profile:" \ +--entry-text "NewProfile" + then echo $? + else echo "No name entered" +fi + + + +
+ Text Entry Dialog Example + Zenity text 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/entry.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'help/C/entry.page') diff --git a/help/C/entry.page b/help/C/entry.page index 69ad4641..03b2db6e 100644 --- a/help/C/entry.page +++ b/help/C/entry.page @@ -49,7 +49,7 @@ fi -
+
Text Entry Dialog Example Zenity text entry dialog example -- cgit