__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="forms" xml:lang="pl">
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Używanie opcji <cmd>--forms</cmd>.</desc>
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Piotr Drąg</mal:name>
<mal:email>piotrdrag@gmail.com</mal:email>
<mal:years>2017-2023</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Aviary.pl</mal:name>
<mal:email>community-poland@mozilla.org</mal:email>
<mal:years>2017-2023</mal:years>
</mal:credit>
</info>
<title>Okno formularza</title>
<p>Użyj opcji <cmd>--forms</cmd>, aby utworzyć okno formularza.</p>
<p>Okno formularza obsługuje te opcje:</p>
<terms>
<item>
<title><cmd>--add-entry</cmd>=<var>NazwaPola</var></title>
<p>Dodaje nowy wpis w oknie formularza.</p>
</item>
<item>
<title><cmd>--add-password</cmd>=<var>NazwaPola</var></title>
<p>Dodaje nowy wpis hasła w oknie formularza (ukrywa tekst).</p>
</item>
<item>
<title><cmd>--add-calendar</cmd>=<var>NazwaPola</var></title>
<p>Dodaje nowy kalendarz w oknie formularza.</p>
</item>
<item>
<title><cmd>--text</cmd>=<var>TEKST</var></title>
<p>Ustawia tekst okna.</p>
</item>
<item>
<title><cmd>--separator</cmd>=<var>SEPARATOR</var></title>
<p>Ustawia znak separatora wyjścia (domyślnie „|”).</p>
</item>
<item>
<title><cmd>--forms-date-format</cmd>=<var>WZÓR</var></title>
<p>Określa format zwracanej daty. Domyślny format zależy od języka systemu. Format musi zgadzać się z funkcją <cmd>strftime</cmd>, na przykład <var>%A, %d.%m.%y</var>.</p>
</item>
</terms>
<p>Ten przykładowy skrypt pokazuje, jak utworzyć okno formularza:</p>
<code>
#!/bin/sh
zenity --forms --title="Dodanie znajomego" \
--text="Proszę podać informacje o znajomym." \
--separator="," \
--add-entry="Imię" \
--add-entry="Nazwisko" \
--add-entry="Adres e-mail" \
--add-calendar="Urodziny" >> adres.csv
case $? in
0)
echo "Dodano znajomego.";;
1)
echo "Nie dodano znajomego."
;;
-1)
echo "Wystąpił nieoczekiwany błąd."
;;
esac
</code>
<figure>
<title>Przykład okna formularza</title>
<desc>Przykład okna formularza <app>Zenity</app></desc>
<media type="image" mime="image/png" src="figures/zenity-forms-screenshot.png"/>
</figure>
</page>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| figures | Folder | 0755 |
|
|
| calendar.page | File | 2.52 KB | 0644 |
|
| color-selection.page | File | 1.78 KB | 0644 |
|
| entry.page | File | 1.99 KB | 0644 |
|
| error.page | File | 1.3 KB | 0644 |
|
| file-selection.page | File | 2.42 KB | 0644 |
|
| forms.page | File | 2.67 KB | 0644 |
|
| index.page | File | 1.27 KB | 0644 |
|
| info.page | File | 1.32 KB | 0644 |
|
| intro.page | File | 1.56 KB | 0644 |
|
| legal.xml | File | 3.09 KB | 0644 |
|
| list.page | File | 3.18 KB | 0644 |
|
| message.page | File | 1.08 KB | 0644 |
|
| notification.page | File | 2.98 KB | 0644 |
|
| password.page | File | 1.71 KB | 0644 |
|
| progress.page | File | 2.68 KB | 0644 |
|
| question.page | File | 1.28 KB | 0644 |
|
| scale.page | File | 2.57 KB | 0644 |
|
| text.page | File | 2.69 KB | 0644 |
|
| usage.page | File | 8.17 KB | 0644 |
|
| warning.page | File | 1.33 KB | 0644 |
|