|
Packit |
1470ea |
|
|
Packit |
1470ea |
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-gio" xml:lang="gl">
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<info>
|
|
Packit |
1470ea |
<link type="guide" xref="tech" group="gio"/>
|
|
Packit |
1470ea |
<revision pkgversion="3.0" date="2011-04-05" status="review"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<credit type="author copyright">
|
|
Packit |
1470ea |
<name>Shaun McCance</name>
|
|
Packit |
1470ea |
<email its:translate="no">shaunm@gnome.org</email>
|
|
Packit |
1470ea |
<years>2011</years>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
<credit type="copyright editor">
|
|
Packit |
1470ea |
<name>Federico Mena Quintero</name>
|
|
Packit |
1470ea |
<email its:translate="no">federico@gnome.org</email>
|
|
Packit |
1470ea |
<years>2013</years>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<desc>File and URI handling, asynchronous file operations, volume
|
|
Packit |
1470ea |
handling</desc>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit |
1470ea |
<mal:name>Fran Dieguez</mal:name>
|
|
Packit |
1470ea |
<mal:email>frandieguez@gnome.org</mal:email>
|
|
Packit |
1470ea |
<mal:years>2009-2013.</mal:years>
|
|
Packit |
1470ea |
</mal:credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit |
1470ea |
<mal:name>Leandro Regueiro</mal:name>
|
|
Packit |
1470ea |
<mal:email>leandro.regueiro@gmail.com</mal:email>
|
|
Packit |
1470ea |
<mal:years>2011.</mal:years>
|
|
Packit |
1470ea |
</mal:credit>
|
|
Packit |
1470ea |
</info>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<title>Ficheiros GIO</title>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
GIO provides APIs for asynchronously reading and writing files and
|
|
Packit |
1470ea |
other streams. Files are referenced by URIs (uniform resource locators), and backends can
|
|
Packit |
1470ea |
provide access to more than just local files. When running under the
|
|
Packit |
1470ea |
GNOME desktop, GIO uses GVFS to allow access to files over SFTP, FTP,
|
|
Packit |
1470ea |
WebDAV, SMB, and other popular protocols. This transparent network
|
|
Packit |
1470ea |
file access is free to all applications using GIO.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
As API de ficheiro de GIO están deseñadas para ser usadas en interfaces gráficas baseadas en eventos. O deseño non bloqueante e asíncrono significa que a súa interface de usuario non se bloqueará mentres agarda por un ficheiro. Tamén existen versións síncronas das API, que son en ocasións máis convenientes para o traballo de fíos ou procesos.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
GIO tamén fornece rutinas para xestionar unidades e volumes, consulta de tipos de dato e iconas ademais de buscar aplicativos para abrir ficheiros.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<list style="compact">
|
|
Packit |
1470ea |
<item><link href="http://developer.gnome.org/gio/stable/">Manual de referencia de GIO</link> </item>
|
|
Packit |
1470ea |
</list>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</page>
|