| Server IP : 172.67.134.114 / Your IP : 162.159.115.42 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/help/eu/zenity/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="entry" xml:lang="eu">
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use the <cmd>--entry</cmd> option.</desc>
</info>
<title>Testu-sarreraren elkarrizketa-koadroa</title>
<p>
Use the <cmd>--entry</cmd> option to create a text entry dialog. <app>Zenity</app> returns the contents of the text entry to standard output.
</p>
<p>Testu-sarreraren elkarrizketa-koadroak aukera hauek onartzen ditu:</p>
<terms>
<item>
<title><cmd>--text</cmd>=<var>text</var></title>
<p>Testu-sarreraren elkarrizketa-koadroan bistaratu den testua zehazten du.</p>
</item>
<item>
<title><cmd>--entry-text</cmd>=<var>text</var></title>
<p>Testu-sarreraren elkarrizketa-koadroko sarrera-eremuan bistaratu den testua zehazten du.</p>
</item>
<item>
<title><cmd>--hide-text</cmd></title>
<p>Testu-sarreraren elkarrizketa-koadroko sarrera-eremuan dagoen testua ezkutatzen du</p>
</item>
</terms>
<p>
The following example script shows how to create a text entry dialog:
</p>
<code>
#!/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
</code>
<figure>
<title>Testu-sarreraren elkarrizketa-koadroaren adibidea</title>
<desc><app>Zenity</app> text entry dialog example</desc>
<media type="image" mime="image/png" src="figures/zenity-entry-screenshot.png"/>
</figure>
</page>