__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="list">
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--list</cmd> option.</desc>
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude" />
</info>
<title>List Dialog</title>
<p>
Use the <cmd>--list</cmd> option to create a list dialog. <app>Zenity</app> returns the entries in the first column of text of selected rows to standard output.
</p>
<p>
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.
</p>
<p>
If you use the <cmd>--checklist</cmd> or <cmd>--radiolist</cmd> options, each row must start with either 'TRUE' or 'FALSE'.
</p>
<p>
The list dialog supports the following options:
</p>
<terms>
<item>
<title><cmd>--column</cmd>=<var>column</var></title>
<p>Specifies the column headers that are displayed in the list dialog. You must specify a <cmd>--column</cmd> option for each column that you want to display in the dialog.
</p>
</item>
<item>
<title><cmd>--checklist</cmd></title>
<p>Specifies that the first column in the list dialog contains check boxes.
</p>
</item>
<item>
<title><cmd>--radiolist</cmd></title>
<p>Specifies that the first column in the list dialog contains radio boxes.
</p>
</item>
<item>
<title><cmd>--editable</cmd></title>
<p>Allows the displayed items to be edited.
</p>
</item>
<item>
<title><cmd>--separator</cmd>=<var>separator</var></title>
<p>Specifies what string is used when the list dialog returns the selected entries.
</p>
</item>
<item>
<title><cmd>--print-column</cmd>=<var>column</var></title>
<p>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.
</p>
</item>
</terms>
<p>
The following example script shows how to create a list dialog:
</p>
<code>
#!/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"
</code>
<figure>
<title>List Dialog Example</title>
<desc><app>Zenity</app> list dialog example</desc>
<media type="image" mime="image/png" src="figures/zenity-list-screenshot.png"/>
</figure>
</page>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| figures | Folder | 0755 |
|
|
| calendar.page | File | 2.16 KB | 0644 |
|
| color-selection.page | File | 1.33 KB | 0644 |
|
| entry.page | File | 1.53 KB | 0644 |
|
| error.page | File | 807 B | 0644 |
|
| file-selection.page | File | 2.04 KB | 0644 |
|
| forms.page | File | 2.16 KB | 0644 |
|
| index.page | File | 778 B | 0644 |
|
| info.page | File | 837 B | 0644 |
|
| intro.page | File | 1.02 KB | 0644 |
|
| legal.xml | File | 3.75 KB | 0644 |
|
| list.page | File | 2.68 KB | 0644 |
|
| message.page | File | 618 B | 0644 |
|
| notification.page | File | 2.34 KB | 0644 |
|
| password.page | File | 1.22 KB | 0644 |
|
| progress.page | File | 2.14 KB | 0644 |
|
| question.page | File | 828 B | 0644 |
|
| scale.page | File | 1.98 KB | 0644 |
|
| text.page | File | 2.14 KB | 0644 |
|
| usage.page | File | 7.75 KB | 0644 |
|
| warning.page | File | 837 B | 0644 |
|