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/list.page | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 help/C/list.page (limited to 'help/C/list.page') diff --git a/help/C/list.page b/help/C/list.page new file mode 100644 index 0000000..39e86cd --- /dev/null +++ b/help/C/list.page @@ -0,0 +1,86 @@ + + + + Use the --list option. + + List Dialog +

+ Use the --list option to create a list dialog. Zenity returns the entries in the first column of text of selected rows to standard output. +

+ +

+ Data for the dialog must specified column by column, row by row. Data can be provided to the dialog through standard input. Each entry must be separated by a newline character. +

+ +

+ If you use the --checklist or --radiolist options, each row must start with either 'TRUE' or 'FALSE'. +

+ +

+ The list dialog supports the following options: +

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

Specifies the column headers that are displayed in the list dialog. You must specify a --column option for each column that you want to display in the dialog. +

+
+ + + <cmd>--checklist</cmd> +

Specifies that the first column in the list dialog contains check boxes. +

+
+ + + <cmd>--radiolist</cmd> +

Specifies that the first column in the list dialog contains radio boxes. +

+
+ + + <cmd>--editable</cmd> +

Allows the displayed items to be edited. +

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

Specifies what string is used when the list dialog returns the selected entries. +

+
+ + + <cmd>--print-column</cmd>=<var>column</var> +

Specifies what column should be printed out upon selection. The default column is + '1'. 'ALL' can be used to print out all columns in the list. +

+
+ +
+ +

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

+ +#!/bin/sh + +zenity --list \ + --title="Choose the Bugs You Wish to View" \ + --column="Bug Number" --column="Severity" --column="Description" \ + 992383 Normal "GtkTreeView crashes on multiple selections" \ + 293823 High "GNOME Dictionary does not handle proxy" \ + 393823 Critical "Menu editing does not work in GNOME 2.0" + + + +
+ List Dialog Example + Zenity list dialog example + +
+
-- cgit v1.2.3-2-g168b