__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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="text" xml:lang="es">
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use la opción <cmd>--text-info</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>Daniel Mustieles</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2012-2014</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Jorge González</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2007-2010</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Alejandro Aravena</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2005</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>QA: Francisco Javier F. Serrador</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2005</mal:years>
</mal:credit>
</info>
<title>Diálogo para la texto de información</title>
<p>Use la opción <cmd>--text-info</cmd> para crear un diálogo de texto de información.</p>
<p>El diálogo de texto de información soporta las siguientes opciones:</p>
<terms>
<item>
<title><cmd>--filename</cmd>=<var>nombre_de_archivo</var></title>
<p>Especifica un archivo que se carga en el diálogo de texto de información.</p>
</item>
<item>
<title><cmd>--editable</cmd></title>
<p>Permite que el texto mostrado sea editado. El texto editado se devuelve por la salida estándar cuando el diálogo se cierra.</p>
</item>
<item>
<title><cmd>--font</cmd>=<var>TIPOGRAFÍA</var></title>
<p>Especifica la tipografía del texto.</p>
</item>
<item>
<title><cmd>--checkbox</cmd>=<var>TEXTO</var></title>
<p>Activar una casilla para usarla como «He leído y acepto los términos».</p>
</item>
<item>
<title><cmd>--html</cmd></title>
<p>Activar el soporte de HTML.</p>
</item>
<item>
<title><cmd>--url</cmd>=<var>URL</var></title>
<p>Establecer un URL en vez de un archivo. Sólo funciona si usa la opción «--html».</p>
</item>
</terms>
<p>El siguiente script de ejemplo muestra cómo crear un diálogo de texto de información:</p>
<code>
#!/bin/sh
# Debe copiar el archivo "COPYING" en la misma carpeta que este script.
FILE=`dirname $0`/COPYING
zenity --text-info \
--title="Licencia" \
--filename=$FILE \
--checkbox="He leído y acepto los términos."
case $? in
0)
echo "Comenzar instalación"
# siguiente paso
;;
1)
echo "Detener instalación"
;;
-1)
echo "Ha ocurrido un error inesperado."
;;
esac
</code>
<figure>
<title>Ejemplo del diálogo de texto de información</title>
<desc>Ejemplo del diálogo de texto de información de <app>Zenity</app></desc>
<media type="image" mime="image/png" src="figures/zenity-text-screenshot.png"/>
</figure>
</page>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| figures | Folder | 0755 |
|
|
| calendar.page | File | 3.33 KB | 0644 |
|
| color-selection.page | File | 2.4 KB | 0644 |
|
| entry.page | File | 2.65 KB | 0644 |
|
| error.page | File | 1.8 KB | 0644 |
|
| file-selection.page | File | 3.23 KB | 0644 |
|
| forms.page | File | 3.4 KB | 0644 |
|
| index.page | File | 1.78 KB | 0644 |
|
| info.page | File | 1.87 KB | 0644 |
|
| intro.page | File | 2.06 KB | 0644 |
|
| legal.xml | File | 3.49 KB | 0644 |
|
| list.page | File | 3.8 KB | 0644 |
|
| message.page | File | 1.59 KB | 0644 |
|
| notification.page | File | 3.42 KB | 0644 |
|
| password.page | File | 2.26 KB | 0644 |
|
| progress.page | File | 3.29 KB | 0644 |
|
| question.page | File | 1.82 KB | 0644 |
|
| scale.page | File | 3.14 KB | 0644 |
|
| text.page | File | 3.3 KB | 0644 |
|
| usage.page | File | 9.34 KB | 0644 |
|
| warning.page | File | 1.86 KB | 0644 |
|