summaryrefslogtreecommitdiff
path: root/help/da/list.page
diff options
context:
space:
mode:
Diffstat (limited to 'help/da/list.page')
-rw-r--r--help/da/list.page75
1 files changed, 75 insertions, 0 deletions
diff --git a/help/da/list.page b/help/da/list.page
new file mode 100644
index 00000000..b5a0212d
--- /dev/null
+++ b/help/da/list.page
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" type="topic" id="list" xml:lang="da">
+ <info>
+ <link type="guide" xref="index#dialogs"/>
+ <desc>Use the <cmd>--list</cmd> option.</desc>
+ </info>
+ <title>Listedialogvindue</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 dialogvinduet skal angives kolonne efter kolonne, række efter række. Data kan gives til dialogen gennem standard input. Hvert element skal adskilles af et linjeskiftstegn.</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>Listedialogvinduet understøtter følgende tilvalg:</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>Angiver at første kolonne i listedialogvinduet indeholder afkrydsningsfelter.</p>
+ </item>
+
+ <item>
+ <title><cmd>--radiolist</cmd></title>
+ <p>Angiver at første kolonne i listedialogvinduet indeholder radiofelter.</p>
+ </item>
+
+ <item>
+ <title><cmd>--editable</cmd></title>
+ <p>Tillader redigering af de viste elementer.</p>
+ </item>
+
+ <item>
+ <title><cmd>--separator</cmd>=<var>separator</var></title>
+ <p>Angiver den streng, der bruges når listedialogvinduet returnerer de valgte elementer.</p>
+ </item>
+
+ <item>
+ <title><cmd>--print-column</cmd>=<var>column</var></title>
+ <p>Angiver den kolonne, der skal udskrives når der vælges. Standardkolonnen er "1". "ALL" kan bruges til at udskrive alle kolonner i listen.</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>Eksempel med listedialogvindue</title>
+ <desc><app>Zenity</app> list dialog example</desc>
+ <media type="image" mime="image/png" src="figures/zenity-list-screenshot.png"/>
+ </figure>
+</page>
bgstack15