diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2018-08-20 21:12:06 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2018-08-20 21:12:06 -0400 |
commit | 63e87c2d0c9d263f14c77b68f85c67d46ece82a9 (patch) | |
tree | 6260365cbf7d24f37d27669e8538227fcb72e243 /gtk+-mingw/share/gtk-doc/html/gio/GFileInfo.html | |
parent | a4460f6d9453bbd7e584937686449cef3e19f052 (diff) |
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gio/GFileInfo.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gio/GFileInfo.html | 3089 |
1 files changed, 0 insertions, 3089 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gio/GFileInfo.html b/gtk+-mingw/share/gtk-doc/html/gio/GFileInfo.html deleted file mode 100644 index 3dc5b52..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gio/GFileInfo.html +++ /dev/null @@ -1,3089 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GFileInfo</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GIO Reference Manual"> -<link rel="up" href="file_ops.html" title="File Operations"> -<link rel="prev" href="gio-GFileAttribute.html" title="GFileAttribute"> -<link rel="next" href="GFileEnumerator.html" title="GFileEnumerator"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gio-GFileAttribute.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="file_ops.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GIO Reference Manual</th> -<td><a accesskey="n" href="GFileEnumerator.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GFileInfo.synopsis" class="shortcut">Top</a> - | - <a href="#GFileInfo.description" class="shortcut">Description</a> - | - <a href="#GFileInfo.object-hierarchy" class="shortcut">Object Hierarchy</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GFileInfo"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GFileInfo.top_of_page"></a>GFileInfo</span></h2> -<p>GFileInfo — File Information and Attributes</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GFileInfo.synopsis"></a><h2>Synopsis</h2> -<a name="GFileAttributeMatcher"></a><pre class="synopsis"> -#include <gio/gio.h> - - <a class="link" href="GFileInfo.html#GFileAttributeMatcher-struct" title="GFileAttributeMatcher">GFileAttributeMatcher</a>; -enum <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType">GFileType</a>; - <a class="link" href="GFileInfo.html#GFileInfo-struct" title="GFileInfo">GFileInfo</a>; -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TYPE">G_FILE_ATTRIBUTE_STANDARD_TYPE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-HIDDEN:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN">G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-BACKUP:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP">G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-SYMLINK:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK">G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-VIRTUAL:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL">G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_NAME">G_FILE_ATTRIBUTE_STANDARD_NAME</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-EDIT-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME">G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-COPY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_COPY_NAME">G_FILE_ATTRIBUTE_STANDARD_COPY_NAME</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ICON">G_FILE_ATTRIBUTE_STANDARD_ICON</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-CONTENT-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE">G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-FAST-CONTENT-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE">G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SIZE">G_FILE_ATTRIBUTE_STANDARD_SIZE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ALLOCATED-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE">G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET">G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TARGET-URI:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TARGET_URI">G_FILE_ATTRIBUTE_STANDARD_TARGET_URI</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER">G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS" title="G_FILE_ATTRIBUTE_ETAG_VALUE">G_FILE_ATTRIBUTE_ETAG_VALUE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILE:CAPS" title="G_FILE_ATTRIBUTE_ID_FILE">G_FILE_ATTRIBUTE_ID_FILE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILESYSTEM:CAPS" title="G_FILE_ATTRIBUTE_ID_FILESYSTEM">G_FILE_ATTRIBUTE_ID_FILESYSTEM</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-READ:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_READ">G_FILE_ATTRIBUTE_ACCESS_CAN_READ</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-WRITE:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE">G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-EXECUTE:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE">G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-DELETE:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE">G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-TRASH:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH">G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ACCESS-CAN-RENAME:CAPS" title="G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME">G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-MOUNT:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-UNMOUNT:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-EJECT:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE">G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE-FILE:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE">G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-HAL-UDI:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI">G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-POLL:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-IS-MEDIA-CHECK-AUTOMATIC:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC">G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START-DEGRADED:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-CAN-STOP:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP">G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-MOUNTABLE-START-STOP-TYPE:CAPS" title="G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE">G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED">G_FILE_ATTRIBUTE_TIME_MODIFIED</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC">G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS">G_FILE_ATTRIBUTE_TIME_ACCESS</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS_USEC">G_FILE_ATTRIBUTE_TIME_ACCESS_USEC</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED">G_FILE_ATTRIBUTE_TIME_CHANGED</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED_USEC">G_FILE_ATTRIBUTE_TIME_CHANGED_USEC</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED">G_FILE_ATTRIBUTE_TIME_CREATED</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED-USEC:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED_USEC">G_FILE_ATTRIBUTE_TIME_CREATED_USEC</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-DEVICE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_DEVICE">G_FILE_ATTRIBUTE_UNIX_DEVICE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-INODE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_INODE">G_FILE_ATTRIBUTE_UNIX_INODE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-MODE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_MODE">G_FILE_ATTRIBUTE_UNIX_MODE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-NLINK:CAPS" title="G_FILE_ATTRIBUTE_UNIX_NLINK">G_FILE_ATTRIBUTE_UNIX_NLINK</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-UID:CAPS" title="G_FILE_ATTRIBUTE_UNIX_UID">G_FILE_ATTRIBUTE_UNIX_UID</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-GID:CAPS" title="G_FILE_ATTRIBUTE_UNIX_GID">G_FILE_ATTRIBUTE_UNIX_GID</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-RDEV:CAPS" title="G_FILE_ATTRIBUTE_UNIX_RDEV">G_FILE_ATTRIBUTE_UNIX_RDEV</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-BLOCK-SIZE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE">G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-BLOCKS:CAPS" title="G_FILE_ATTRIBUTE_UNIX_BLOCKS">G_FILE_ATTRIBUTE_UNIX_BLOCKS</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-IS-MOUNTPOINT:CAPS" title="G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT">G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-DOS-IS-ARCHIVE:CAPS" title="G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE">G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-DOS-IS-SYSTEM:CAPS" title="G_FILE_ATTRIBUTE_DOS_IS_SYSTEM">G_FILE_ATTRIBUTE_DOS_IS_SYSTEM</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-USER:CAPS" title="G_FILE_ATTRIBUTE_OWNER_USER">G_FILE_ATTRIBUTE_OWNER_USER</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-USER-REAL:CAPS" title="G_FILE_ATTRIBUTE_OWNER_USER_REAL">G_FILE_ATTRIBUTE_OWNER_USER_REAL</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-GROUP:CAPS" title="G_FILE_ATTRIBUTE_OWNER_GROUP">G_FILE_ATTRIBUTE_OWNER_GROUP</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAIL-PATH:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAIL_PATH">G_FILE_ATTRIBUTE_THUMBNAIL_PATH</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAILING-FAILED:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAILING_FAILED">G_FILE_ATTRIBUTE_THUMBNAILING_FAILED</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-PREVIEW-ICON:CAPS" title="G_FILE_ATTRIBUTE_PREVIEW_ICON">G_FILE_ATTRIBUTE_PREVIEW_ICON</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-SIZE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_SIZE">G_FILE_ATTRIBUTE_FILESYSTEM_SIZE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-FREE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_FREE">G_FILE_ATTRIBUTE_FILESYSTEM_FREE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-USED:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_USED">G_FILE_ATTRIBUTE_FILESYSTEM_USED</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-TYPE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_TYPE">G_FILE_ATTRIBUTE_FILESYSTEM_TYPE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-READONLY:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_READONLY">G_FILE_ATTRIBUTE_FILESYSTEM_READONLY</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-GVFS-BACKEND:CAPS" title="G_FILE_ATTRIBUTE_GVFS_BACKEND">G_FILE_ATTRIBUTE_GVFS_BACKEND</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-SELINUX-CONTEXT:CAPS" title="G_FILE_ATTRIBUTE_SELINUX_CONTEXT">G_FILE_ATTRIBUTE_SELINUX_CONTEXT</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TRASH-ITEM-COUNT:CAPS" title="G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT">G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TRASH-DELETION-DATE:CAPS" title="G_FILE_ATTRIBUTE_TRASH_DELETION_DATE">G_FILE_ATTRIBUTE_TRASH_DELETION_DATE</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TRASH-ORIG-PATH:CAPS" title="G_FILE_ATTRIBUTE_TRASH_ORIG_PATH">G_FILE_ATTRIBUTE_TRASH_ORIG_PATH</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-USE-PREVIEW:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW">G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW</a> -#define <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DESCRIPTION:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION">G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION</a> -<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> * <a class="link" href="GFileInfo.html#g-file-info-new" title="g_file_info_new ()">g_file_info_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> * <a class="link" href="GFileInfo.html#g-file-info-dup" title="g_file_info_dup ()">g_file_info_dup</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *other</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-copy-into" title="g_file_info_copy_into ()">g_file_info_copy_into</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *src_info</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *dest_info</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-has-attribute" title="g_file_info_has_attribute ()">g_file_info_has_attribute</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-has-namespace" title="g_file_info_has_namespace ()">g_file_info_has_namespace</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name_space</code></em>); -<span class="returnvalue">char</span> ** <a class="link" href="GFileInfo.html#g-file-info-list-attributes" title="g_file_info_list_attributes ()">g_file_info_list_attributes</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name_space</code></em>); -<a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-type" title="g_file_info_get_attribute_type ()">g_file_info_get_attribute_type</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-remove-attribute" title="g_file_info_remove_attribute ()">g_file_info_remove_attribute</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-attribute-as-string" title="g_file_info_get_attribute_as_string ()">g_file_info_get_attribute_as_string</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-data" title="g_file_info_get_attribute_data ()">g_file_info_get_attribute_data</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> *type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *value_pp</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> *status</code></em>); -<a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-status" title="g_file_info_get_attribute_status ()">g_file_info_get_attribute_status</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-attribute-string" title="g_file_info_get_attribute_string ()">g_file_info_get_attribute_string</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<span class="returnvalue">char</span> ** <a class="link" href="GFileInfo.html#g-file-info-get-attribute-stringv" title="g_file_info_get_attribute_stringv ()">g_file_info_get_attribute_stringv</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-attribute-byte-string" title="g_file_info_get_attribute_byte_string ()">g_file_info_get_attribute_byte_string</a> - (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-boolean" title="g_file_info_get_attribute_boolean ()">g_file_info_get_attribute_boolean</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-uint32" title="g_file_info_get_attribute_uint32 ()">g_file_info_get_attribute_uint32</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-int32" title="g_file_info_get_attribute_int32 ()">g_file_info_get_attribute_int32</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-uint64" title="g_file_info_get_attribute_uint64 ()">g_file_info_get_attribute_uint64</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-attribute-int64" title="g_file_info_get_attribute_int64 ()">g_file_info_get_attribute_int64</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * <a class="link" href="GFileInfo.html#g-file-info-get-attribute-object" title="g_file_info_get_attribute_object ()">g_file_info_get_attribute_object</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute" title="g_file_info_set_attribute ()">g_file_info_set_attribute</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> value_p</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-status" title="g_file_info_set_attribute_status ()">g_file_info_set_attribute_status</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> status</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-string" title="g_file_info_set_attribute_string ()">g_file_info_set_attribute_string</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-stringv" title="g_file_info_set_attribute_stringv ()">g_file_info_set_attribute_stringv</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><span class="type">char</span> **attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-byte-string" title="g_file_info_set_attribute_byte_string ()">g_file_info_set_attribute_byte_string</a> - (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-boolean" title="g_file_info_set_attribute_boolean ()">g_file_info_set_attribute_boolean</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-uint32" title="g_file_info_set_attribute_uint32 ()">g_file_info_set_attribute_uint32</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-int32" title="g_file_info_set_attribute_int32 ()">g_file_info_set_attribute_int32</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-uint64" title="g_file_info_set_attribute_uint64 ()">g_file_info_set_attribute_uint64</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-int64" title="g_file_info_set_attribute_int64 ()">g_file_info_set_attribute_int64</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-object" title="g_file_info_set_attribute_object ()">g_file_info_set_attribute_object</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *attr_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-clear-status" title="g_file_info_clear_status ()">g_file_info_clear_status</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-file-type" title="g_file_info_get_file_type ()">g_file_info_get_file_type</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-is-hidden" title="g_file_info_get_is_hidden ()">g_file_info_get_is_hidden</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-is-backup" title="g_file_info_get_is_backup ()">g_file_info_get_is_backup</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-is-symlink" title="g_file_info_get_is_symlink ()">g_file_info_get_is_symlink</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-name" title="g_file_info_get_name ()">g_file_info_get_name</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-display-name" title="g_file_info_get_display_name ()">g_file_info_get_display_name</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-edit-name" title="g_file_info_get_edit_name ()">g_file_info_get_edit_name</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> * <a class="link" href="GFileInfo.html#g-file-info-get-icon" title="g_file_info_get_icon ()">g_file_info_get_icon</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-content-type" title="g_file_info_get_content_type ()">g_file_info_get_content_type</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-size" title="g_file_info_get_size ()">g_file_info_get_size</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-get-modification-time" title="g_file_info_get_modification_time ()">g_file_info_get_modification_time</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *result</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-symlink-target" title="g_file_info_get_symlink_target ()">g_file_info_get_symlink_target</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-info-get-etag" title="g_file_info_get_etag ()">g_file_info_get_etag</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="GFileInfo.html#g-file-info-get-sort-order" title="g_file_info_get_sort_order ()">g_file_info_get_sort_order</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-attribute-mask" title="g_file_info_set_attribute_mask ()">g_file_info_set_attribute_mask</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *mask</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-unset-attribute-mask" title="g_file_info_unset_attribute_mask ()">g_file_info_unset_attribute_mask</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-file-type" title="g_file_info_set_file_type ()">g_file_info_set_file_type</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a> type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-is-hidden" title="g_file_info_set_is_hidden ()">g_file_info_set_is_hidden</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_hidden</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-is-symlink" title="g_file_info_set_is_symlink ()">g_file_info_set_is_symlink</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_symlink</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-name" title="g_file_info_set_name ()">g_file_info_set_name</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-display-name" title="g_file_info_set_display_name ()">g_file_info_set_display_name</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *display_name</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-edit-name" title="g_file_info_set_edit_name ()">g_file_info_set_edit_name</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *edit_name</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-icon" title="g_file_info_set_icon ()">g_file_info_set_icon</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> *icon</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-content-type" title="g_file_info_set_content_type ()">g_file_info_set_content_type</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *content_type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-size" title="g_file_info_set_size ()">g_file_info_set_size</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> size</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-modification-time" title="g_file_info_set_modification_time ()">g_file_info_set_modification_time</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *mtime</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-symlink-target" title="g_file_info_set_symlink_target ()">g_file_info_set_symlink_target</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *symlink_target</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-info-set-sort-order" title="g_file_info_set_sort_order ()">g_file_info_set_sort_order</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> sort_order</code></em>); -<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-new" title="g_file_attribute_matcher_new ()">g_file_attribute_matcher_new</a> (<em class="parameter"><code>const <span class="type">char</span> *attributes</code></em>); -<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-ref" title="g_file_attribute_matcher_ref ()">g_file_attribute_matcher_ref</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>); -<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-subtract" title="g_file_attribute_matcher_subtract ()">g_file_attribute_matcher_subtract</a> - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *subtract</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GFileInfo.html#g-file-attribute-matcher-unref" title="g_file_attribute_matcher_unref ()">g_file_attribute_matcher_unref</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-attribute-matcher-matches" title="g_file_attribute_matcher_matches ()">g_file_attribute_matcher_matches</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-attribute-matcher-matches-only" title="g_file_attribute_matcher_matches_only ()">g_file_attribute_matcher_matches_only</a> - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GFileInfo.html#g-file-attribute-matcher-enumerate-namespace" title="g_file_attribute_matcher_enumerate_namespace ()">g_file_attribute_matcher_enumerate_namespace</a> - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *ns</code></em>); -const <span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-enumerate-next" title="g_file_attribute_matcher_enumerate_next ()">g_file_attribute_matcher_enumerate_next</a> - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>); -<span class="returnvalue">char</span> * <a class="link" href="GFileInfo.html#g-file-attribute-matcher-to-string" title="g_file_attribute_matcher_to_string ()">g_file_attribute_matcher_to_string</a> (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GFileInfo.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - GBoxed - +----GFileAttributeMatcher -</pre> -<pre class="synopsis"> - <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----GFileInfo -</pre> -</div> -<div class="refsect1"> -<a name="GFileInfo.description"></a><h2>Description</h2> -<p> -Functionality for manipulating basic metadata for files. <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> -implements methods for getting information that all files should -contain, and allows for manipulation of extended attributes. -</p> -<p> -See <a class="link" href="gio-GFileAttribute.html" title="GFileAttribute">GFileAttribute</a> for more -information on how GIO handles file attributes. -</p> -<p> -To obtain a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>, use <a class="link" href="GFile.html#g-file-query-info" title="g_file_query_info ()"><code class="function">g_file_query_info()</code></a> (or its -async variant). To obtain a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for a file input or output -stream, use <a class="link" href="GFileInputStream.html#g-file-input-stream-query-info" title="g_file_input_stream_query_info ()"><code class="function">g_file_input_stream_query_info()</code></a> or -<a class="link" href="GFileOutputStream.html#g-file-output-stream-query-info" title="g_file_output_stream_query_info ()"><code class="function">g_file_output_stream_query_info()</code></a> (or their async variants). -</p> -<p> -To change the actual attributes of a file, you should then set the -attribute in the <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> and call <a class="link" href="GFile.html#g-file-set-attributes-from-info" title="g_file_set_attributes_from_info ()"><code class="function">g_file_set_attributes_from_info()</code></a> -or <a class="link" href="GFile.html#g-file-set-attributes-async" title="g_file_set_attributes_async ()"><code class="function">g_file_set_attributes_async()</code></a> on a GFile. -</p> -<p> -However, not all attributes can be changed in the file. For instance, -the actual size of a file cannot be changed via <a class="link" href="GFileInfo.html#g-file-info-set-size" title="g_file_info_set_size ()"><code class="function">g_file_info_set_size()</code></a>. -You may call <a class="link" href="GFile.html#g-file-query-settable-attributes" title="g_file_query_settable_attributes ()"><code class="function">g_file_query_settable_attributes()</code></a> and -<a class="link" href="GFile.html#g-file-query-writable-namespaces" title="g_file_query_writable_namespaces ()"><code class="function">g_file_query_writable_namespaces()</code></a> to discover the settable attributes -of a particular file at runtime. -</p> -<p> -<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> allows for searching through a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> for -attributes. -</p> -</div> -<div class="refsect1"> -<a name="GFileInfo.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GFileAttributeMatcher-struct"></a><h3>GFileAttributeMatcher</h3> -<pre class="programlisting">typedef struct _GFileAttributeMatcher GFileAttributeMatcher;</pre> -<p> -Determines if a string matches a file attribute. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GFileType"></a><h3>enum GFileType</h3> -<pre class="programlisting">typedef enum { - G_FILE_TYPE_UNKNOWN = 0, - G_FILE_TYPE_REGULAR, - G_FILE_TYPE_DIRECTORY, - G_FILE_TYPE_SYMBOLIC_LINK, - G_FILE_TYPE_SPECIAL, /* socket, fifo, blockdev, chardev */ - G_FILE_TYPE_SHORTCUT, - G_FILE_TYPE_MOUNTABLE -} GFileType; -</pre> -<p> -Indicates the file's on-disk type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-FILE-TYPE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_UNKNOWN</code></span></p></td> -<td>File's type is unknown. -</td> -</tr> -<tr> -<td><p><a name="G-FILE-TYPE-REGULAR:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_REGULAR</code></span></p></td> -<td>File handle represents a regular file. -</td> -</tr> -<tr> -<td><p><a name="G-FILE-TYPE-DIRECTORY:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_DIRECTORY</code></span></p></td> -<td>File handle represents a directory. -</td> -</tr> -<tr> -<td><p><a name="G-FILE-TYPE-SYMBOLIC-LINK:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_SYMBOLIC_LINK</code></span></p></td> -<td>File handle represents a symbolic link - (Unix systems). -</td> -</tr> -<tr> -<td><p><a name="G-FILE-TYPE-SPECIAL:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_SPECIAL</code></span></p></td> -<td>File is a "special" file, such as a socket, fifo, - block device, or character device. -</td> -</tr> -<tr> -<td><p><a name="G-FILE-TYPE-SHORTCUT:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_SHORTCUT</code></span></p></td> -<td>File is a shortcut (Windows systems). -</td> -</tr> -<tr> -<td><p><a name="G-FILE-TYPE-MOUNTABLE:CAPS"></a><span class="term"><code class="literal">G_FILE_TYPE_MOUNTABLE</code></span></p></td> -<td>File is a mountable location. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GFileInfo-struct"></a><h3>GFileInfo</h3> -<pre class="programlisting">typedef struct _GFileInfo GFileInfo;</pre> -<p> -Stores information about a file system object referenced by a <a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_TYPE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_TYPE "standard::type" /* uint32 (GFileType) */ -</pre> -<p> -A key in the "standard" namespace for storing file types. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -The value for this key should contain a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-IS-HIDDEN:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "standard::is-hidden" /* boolean */ -</pre> -<p> -A key in the "standard" namespace for checking if a file is hidden. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-IS-BACKUP:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "standard::is-backup" /* boolean */ -</pre> -<p> -A key in the "standard" namespace for checking if a file is a backup file. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-IS-SYMLINK:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK "standard::is-symlink" /* boolean */ -</pre> -<p> -A key in the "standard" namespace for checking if the file is a symlink. -Typically the actual type is something else, if we followed the symlink -to get the type. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-IS-VIRTUAL:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL "standard::is-virtual" /* boolean */ -</pre> -<p> -A key in the "standard" namespace for checking if a file is virtual. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_NAME</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_NAME "standard::name" /* byte string */ -</pre> -<p> -A key in the "standard" namespace for getting the name of the file. -The name is the on-disk filename which may not be in any known encoding, -and can thus not be generally displayed as is. -Use <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME"><span class="type">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</span></a> if you need to display the -name in a user interface. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "standard::display-name" /* string */ -</pre> -<p> -A key in the "standard" namespace for getting the display name of the file. -A display name is guaranteed to be in UTF8 and can thus be displayed in -the UI. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-EDIT-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME "standard::edit-name" /* string */ -</pre> -<p> -A key in the "standard" namespace for edit name of the file. -An edit name is similar to the display name, but it is meant to be -used when you want to rename the file in the UI. The display name -might contain information you don't want in the new filename (such as -"(invalid unicode)" if the filename was in an invalid encoding). -</p> -<p> -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-COPY-NAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_COPY_NAME</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_COPY_NAME "standard::copy-name" /* string */ -</pre> -<p> -A key in the "standard" namespace for getting the copy name of the file. -The copy name is an optional version of the name. If available it's always -in UTF8, and corresponds directly to the original filename (only transcoded to -UTF8). This is useful if you want to copy the file to another filesystem that -might have a different encoding. If the filename is not a valid string in the -encoding selected for the filesystem it is in then the copy name will not be set. -</p> -<p> -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_ICON</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_ICON "standard::icon" /* object (GIcon) */ -</pre> -<p> -A key in the "standard" namespace for getting the icon for the file. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-OBJECT:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_OBJECT</code></a>. -The value for this key should contain a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-CONTENT-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "standard::content-type" /* string */ -</pre> -<p> -A key in the "standard" namespace for getting the content type of the file. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -The value for this key should contain a valid content type. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-FAST-CONTENT-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE "standard::fast-content-type" /* string */ -</pre> -<p> -A key in the "standard" namespace for getting the fast content type. -The fast content type isn't as reliable as the regular one, as it -only uses the filename to guess it, but it is faster to calculate than the -regular content type. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SIZE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SIZE "standard::size" /* uint64 */ -</pre> -<p> -A key in the "standard" namespace for getting the file's size (in bytes). -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-ALLOCATED-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE "standard::allocated-size" /* uint64 */ -</pre> -<p> -A key in the "standard" namespace for getting the amount of disk space -that is consumed by the file (in bytes). This will generally be larger -than the file size (due to block size overhead) but can occasionally be -smaller (for example, for sparse files). -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -<p class="since">Since 2.20</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET "standard::symlink-target" /* byte string */ -</pre> -<p> -A key in the "standard" namespace for getting the symlink target, if the file -is a symlink. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-TARGET-URI:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_TARGET_URI</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_TARGET_URI "standard::target-uri" /* string */ -</pre> -<p> -A key in the "standard" namespace for getting the target URI for the file, in -the case of <a class="link" href="GFileInfo.html#G-FILE-TYPE-SHORTCUT:CAPS"><code class="literal">G_FILE_TYPE_SHORTCUT</code></a> or <a class="link" href="GFileInfo.html#G-FILE-TYPE-MOUNTABLE:CAPS"><code class="literal">G_FILE_TYPE_MOUNTABLE</code></a> files. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER "standard::sort-order" /* int32 */ -</pre> -<p> -A key in the "standard" namespace for setting the sort order of a file. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-INT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_INT32</code></a>. -An example use would be in file managers, which would use this key -to set the order files are displayed. Files with smaller sort order -should be sorted first, and files without sort order as if sort order -was zero. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ETAG_VALUE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ETAG_VALUE "etag::value" /* string */ -</pre> -<p> -A key in the "etag" namespace for getting the value of the file's -entity tag. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ID-FILE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ID_FILE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ID_FILE "id::file" /* string */ -</pre> -<p> -A key in the "id" namespace for getting a file identifier. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -An example use would be during listing files, to avoid recursive -directory scanning. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ID-FILESYSTEM:CAPS"></a><h3>G_FILE_ATTRIBUTE_ID_FILESYSTEM</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ID_FILESYSTEM "id::filesystem" /* string */ -</pre> -<p> -A key in the "id" namespace for getting the file system identifier. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -An example use would be during drag and drop to see if the source -and target are on the same filesystem (default to move) or not (default -to copy). -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ACCESS-CAN-READ:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_READ</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_READ "access::can-read" /* boolean */ -</pre> -<p> -A key in the "access" namespace for getting read privileges. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -This attribute will be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to read the file. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ACCESS-CAN-WRITE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE "access::can-write" /* boolean */ -</pre> -<p> -A key in the "access" namespace for getting write privileges. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -This attribute will be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to write to the file. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ACCESS-CAN-EXECUTE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE "access::can-execute" /* boolean */ -</pre> -<p> -A key in the "access" namespace for getting execution privileges. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -This attribute will be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to execute the file. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ACCESS-CAN-DELETE:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE "access::can-delete" /* boolean */ -</pre> -<p> -A key in the "access" namespace for checking deletion privileges. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -This attribute will be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to delete the file. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ACCESS-CAN-TRASH:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH "access::can-trash" /* boolean */ -</pre> -<p> -A key in the "access" namespace for checking trashing privileges. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -This attribute will be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to move the file to -the trash. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-ACCESS-CAN-RENAME:CAPS"></a><h3>G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME "access::can-rename" /* boolean */ -</pre> -<p> -A key in the "access" namespace for checking renaming privileges. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -This attribute will be <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the user is able to rename the file. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-MOUNT:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT "mountable::can-mount" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is mountable. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-UNMOUNT:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT "mountable::can-unmount" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is unmountable. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-EJECT:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT "mountable::can-eject" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be ejected. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE "mountable::unix-device" /* uint32 */ -</pre> -<p> -A key in the "mountable" namespace for getting the unix device. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-UNIX-DEVICE-FILE:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE "mountable::unix-device-file" /* string */ -</pre> -<p> -A key in the "mountable" namespace for getting the unix device file. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-HAL-UDI:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI "mountable::hal-udi" /* string */ -</pre> -<p> -A key in the "mountable" namespace for getting the HAL UDI for the mountable -file. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-POLL:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL "mountable::can-poll" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be polled. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-IS-MEDIA-CHECK-AUTOMATIC:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC "mountable::is-media-check-automatic" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) -is automatically polled for media. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START "mountable::can-start" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-START-DEGRADED:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED "mountable::can-start-degraded" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started -degraded. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-CAN-STOP:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP "mountable::can-stop" /* boolean */ -</pre> -<p> -A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be stopped. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-MOUNTABLE-START-STOP-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE "mountable::start-stop-type" /* uint32 (GDriveStartStopType) */ -</pre> -<p> -A key in the "mountable" namespace for getting the <a class="link" href="GDrive.html#GDriveStartStopType" title="enum GDriveStartStopType"><span class="type">GDriveStartStopType</span></a>. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_MODIFIED</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_MODIFIED "time::modified" /* uint64 */ -</pre> -<p> -A key in the "time" namespace for getting the time the file was last -modified. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>, and contains the UNIX time since the -file was modified. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-MODIFIED-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC "time::modified-usec" /* uint32 */ -</pre> -<p> -A key in the "time" namespace for getting the miliseconds of the time -the file was last modified. This should be used in conjunction with -<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED"><span class="type">G_FILE_ATTRIBUTE_TIME_MODIFIED</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_ACCESS</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_ACCESS "time::access" /* uint64 */ -</pre> -<p> -A key in the "time" namespace for getting the time the file was last -accessed. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>, and contains the UNIX time since the -file was last accessed. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-ACCESS-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_ACCESS_USEC</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_ACCESS_USEC "time::access-usec" /* uint32 */ -</pre> -<p> -A key in the "time" namespace for getting the microseconds of the time -the file was last accessed. This should be used in conjunction with -<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS"><span class="type">G_FILE_ATTRIBUTE_TIME_ACCESS</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CHANGED</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CHANGED "time::changed" /* uint64 */ -</pre> -<p> -A key in the "time" namespace for getting the time the file was last -changed. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>, -and contains the UNIX time since the file was last changed. -</p> -<p> -This corresponds to the traditional UNIX ctime. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-CHANGED-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CHANGED_USEC</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CHANGED_USEC "time::changed-usec" /* uint32 */ -</pre> -<p> -A key in the "time" namespace for getting the microseconds of the time -the file was last changed. This should be used in conjunction with -<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED"><span class="type">G_FILE_ATTRIBUTE_TIME_CHANGED</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-CREATED:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CREATED</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CREATED "time::created" /* uint64 */ -</pre> -<p> -A key in the "time" namespace for getting the time the file was created. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>, -and contains the UNIX time since the file was created. -</p> -<p> -This corresponds to the NTFS ctime. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TIME-CREATED-USEC:CAPS"></a><h3>G_FILE_ATTRIBUTE_TIME_CREATED_USEC</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TIME_CREATED_USEC "time::created-usec" /* uint32 */ -</pre> -<p> -A key in the "time" namespace for getting the microseconds of the time -the file was created. This should be used in conjunction with -<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED"><span class="type">G_FILE_ATTRIBUTE_TIME_CREATED</span></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-DEVICE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_DEVICE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_DEVICE "unix::device" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the device id of the device the -file is located on (see <code class="function">stat()</code> documentation). This attribute is only -available for UNIX file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-INODE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_INODE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_INODE "unix::inode" /* uint64 */ -</pre> -<p> -A key in the "unix" namespace for getting the inode of the file. -This attribute is only available for UNIX file systems. Corresponding -<a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-MODE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_MODE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_MODE "unix::mode" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the mode of the file -(e.g. whether the file is a regular file, symlink, etc). See <code class="function">lstat()</code> -documentation. This attribute is only available for UNIX file systems. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-NLINK:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_NLINK</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_NLINK "unix::nlink" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the number of hard links -for a file. See <code class="function">lstat()</code> documentation. This attribute is only available -for UNIX file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-UID:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_UID</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_UID "unix::uid" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the user ID for the file. -This attribute is only available for UNIX file systems. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-GID:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_GID</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_GID "unix::gid" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the group ID for the file. -This attribute is only available for UNIX file systems. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-RDEV:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_RDEV</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_RDEV "unix::rdev" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the device ID for the file -(if it is a special file). See <code class="function">lstat()</code> documentation. This attribute -is only available for UNIX file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> -is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-BLOCK-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE "unix::block-size" /* uint32 */ -</pre> -<p> -A key in the "unix" namespace for getting the block size for the file -system. This attribute is only available for UNIX file systems. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-BLOCKS:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_BLOCKS</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_BLOCKS "unix::blocks" /* uint64 */ -</pre> -<p> -A key in the "unix" namespace for getting the number of blocks allocated -for the file. This attribute is only available for UNIX file systems. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-UNIX-IS-MOUNTPOINT:CAPS"></a><h3>G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT "unix::is-mountpoint" /* boolean */ -</pre> -<p> -A key in the "unix" namespace for checking if the file represents a -UNIX mount point. This attribute is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is a UNIX mount -point. This attribute is only available for UNIX file systems. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-DOS-IS-ARCHIVE:CAPS"></a><h3>G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE "dos::is-archive" /* boolean */ -</pre> -<p> -A key in the "dos" namespace for checking if the file's archive flag -is set. This attribute is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the archive flag is set. This attribute -is only available for DOS file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> -is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-DOS-IS-SYSTEM:CAPS"></a><h3>G_FILE_ATTRIBUTE_DOS_IS_SYSTEM</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_DOS_IS_SYSTEM "dos::is-system" /* boolean */ -</pre> -<p> -A key in the "dos" namespace for checking if the file's backup flag -is set. This attribute is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the backup flag is set. This attribute -is only available for DOS file systems. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> -is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-OWNER-USER:CAPS"></a><h3>G_FILE_ATTRIBUTE_OWNER_USER</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_OWNER_USER "owner::user" /* string */ -</pre> -<p> -A key in the "owner" namespace for getting the user name of the -file's owner. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-OWNER-USER-REAL:CAPS"></a><h3>G_FILE_ATTRIBUTE_OWNER_USER_REAL</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_OWNER_USER_REAL "owner::user-real" /* string */ -</pre> -<p> -A key in the "owner" namespace for getting the real name of the -user that owns the file. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-OWNER-GROUP:CAPS"></a><h3>G_FILE_ATTRIBUTE_OWNER_GROUP</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_OWNER_GROUP "owner::group" /* string */ -</pre> -<p> -A key in the "owner" namespace for getting the file owner's group. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-THUMBNAIL-PATH:CAPS"></a><h3>G_FILE_ATTRIBUTE_THUMBNAIL_PATH</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_THUMBNAIL_PATH "thumbnail::path" /* bytestring */ -</pre> -<p> -A key in the "thumbnail" namespace for getting the path to the thumbnail -image. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-THUMBNAILING-FAILED:CAPS"></a><h3>G_FILE_ATTRIBUTE_THUMBNAILING_FAILED</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_THUMBNAILING_FAILED "thumbnail::failed" /* boolean */ -</pre> -<p> -A key in the "thumbnail" namespace for checking if thumbnailing failed. -This attribute is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if thumbnailing failed. Corresponding -<a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-PREVIEW-ICON:CAPS"></a><h3>G_FILE_ATTRIBUTE_PREVIEW_ICON</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_PREVIEW_ICON "preview::icon" /* object (GIcon) */ -</pre> -<p> -A key in the "preview" namespace for getting a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> that can be -used to get preview of the file. For example, it may be a low -resolution thumbnail without metadata. Corresponding -<a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-OBJECT:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_OBJECT</code></a>. The value -for this key should contain a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>. -</p> -<p class="since">Since 2.20</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-FILESYSTEM-SIZE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_SIZE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_SIZE "filesystem::size" /* uint64 */ -</pre> -<p> -A key in the "filesystem" namespace for getting the total size (in bytes) of the file system, -used in <a class="link" href="GFile.html#g-file-query-filesystem-info" title="g_file_query_filesystem_info ()"><code class="function">g_file_query_filesystem_info()</code></a>. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> -is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-FILESYSTEM-FREE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_FREE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_FREE "filesystem::free" /* uint64 */ -</pre> -<p> -A key in the "filesystem" namespace for getting the number of bytes of free space left on the -file system. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-FILESYSTEM-USED:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_USED</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_USED "filesystem::used" /* uint64 */ -</pre> -<p> -A key in the "filesystem" namespace for getting the number of bytes of used on the -file system. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT64:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT64</code></a>. -</p> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-FILESYSTEM-TYPE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_TYPE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_TYPE "filesystem::type" /* string */ -</pre> -<p> -A key in the "filesystem" namespace for getting the file system's type. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-FILESYSTEM-READONLY:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_READONLY</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_READONLY "filesystem::readonly" /* boolean */ -</pre> -<p> -A key in the "filesystem" namespace for checking if the file system -is read only. Is set to <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file system is read only. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-GVFS-BACKEND:CAPS"></a><h3>G_FILE_ATTRIBUTE_GVFS_BACKEND</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_GVFS_BACKEND "gvfs::backend" /* string */ -</pre> -<p> -A key in the "gvfs" namespace that gets the name of the current -GVFS backend in use. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-SELINUX-CONTEXT:CAPS"></a><h3>G_FILE_ATTRIBUTE_SELINUX_CONTEXT</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_SELINUX_CONTEXT "selinux::context" /* string */ -</pre> -<p> -A key in the "selinux" namespace for getting the file's SELinux -context. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. Note that this attribute is only -available if GLib has been built with SELinux support. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TRASH-ITEM-COUNT:CAPS"></a><h3>G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT "trash::item-count" /* uint32 */ -</pre> -<p> -A key in the "trash" namespace. When requested against -"trash:///" returns the number of (toplevel) items in the trash folder. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-UINT32:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_UINT32</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TRASH-DELETION-DATE:CAPS"></a><h3>G_FILE_ATTRIBUTE_TRASH_DELETION_DATE</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TRASH_DELETION_DATE "trash::deletion-date" /* string */ -</pre> -<p> -A key in the "trash" namespace. When requested against -items in "trash:///", will return the date and time when the file -was trashed. The format of the returned string is YYYY-MM-DDThh:mm:ss. -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -<p class="since">Since 2.24.</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-TRASH-ORIG-PATH:CAPS"></a><h3>G_FILE_ATTRIBUTE_TRASH_ORIG_PATH</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_TRASH_ORIG_PATH "trash::orig-path" /* byte string */ -</pre> -<p> -A key in the "trash" namespace. When requested against -items in "trash:///", will return the original path to the file before it -was trashed. Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-BYTE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BYTE_STRING</code></a>. -</p> -<p class="since">Since 2.24.</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-FILESYSTEM-USE-PREVIEW:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW "filesystem::use-preview" /* uint32 (GFilesystemPreviewType) */ -</pre> -<p> -A key in the "filesystem" namespace for hinting a file manager -application whether it should preview (e.g. thumbnail) files on the -file system. The value for this key contain a -<a class="link" href="GFile.html#GFilesystemPreviewType" title="enum GFilesystemPreviewType"><span class="type">GFilesystemPreviewType</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-FILE-ATTRIBUTE-STANDARD-DESCRIPTION:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION</h3> -<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION "standard::description" /* string */ -</pre> -<p> -A key in the "standard" namespace for getting the description of the file. -The description is a utf8 string that describes the file, generally containing -the filename, but can also contain furter information. Example descriptions -could be "filename (on hostname)" for a remote file or "filename (in trash)" -for a file in the trash. This is useful for instance as the window title -when displaying a directory or for a bookmarks menu. -</p> -<p> -Corresponding <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> is <a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-STRING:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_STRING</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-new"></a><h3>g_file_info_new ()</h3> -<pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> * g_file_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Creates a new file info structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-dup"></a><h3>g_file_info_dup ()</h3> -<pre class="programlisting"><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> * g_file_info_dup (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *other</code></em>);</pre> -<p> -Duplicates a file info structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a duplicate <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> of <em class="parameter"><code>other</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-copy-into"></a><h3>g_file_info_copy_into ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_copy_into (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *src_info</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *dest_info</code></em>);</pre> -<p> -Copies all of the <a class="link" href="gio-GFileAttribute.html" title="GFileAttribute">GFileAttribute</a>s -from <em class="parameter"><code>src_info</code></em> to <em class="parameter"><code>dest_info</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_info</code></em> :</span></p></td> -<td>source to copy attributes from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_info</code></em> :</span></p></td> -<td>destination to copy attributes to.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-has-attribute"></a><h3>g_file_info_has_attribute ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_has_attribute (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Checks if a file info structure has an attribute named <em class="parameter"><code>attribute</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>Ginfo</code></em> has an attribute named <em class="parameter"><code>attribute</code></em>, -<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-has-namespace"></a><h3>g_file_info_has_namespace ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_has_namespace (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name_space</code></em>);</pre> -<p> -Checks if a file info structure has an attribute in the -specified <em class="parameter"><code>name_space</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name_space</code></em> :</span></p></td> -<td>a file attribute namespace.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>Ginfo</code></em> has an attribute in <em class="parameter"><code>name_space</code></em>, -<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-list-attributes"></a><h3>g_file_info_list_attributes ()</h3> -<pre class="programlisting"><span class="returnvalue">char</span> ** g_file_info_list_attributes (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name_space</code></em>);</pre> -<p> -Lists the file info structure's attributes. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name_space</code></em> :</span></p></td> -<td>a file attribute key's namespace.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a null-terminated array of strings of all of the -possible attribute types for the given <em class="parameter"><code>name_space</code></em>, or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-type"></a><h3>g_file_info_get_attribute_type ()</h3> -<pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a> g_file_info_get_attribute_type (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the attribute type for an attribute key. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> for the given <em class="parameter"><code>attribute</code></em>, or -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-TYPE-INVALID:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_INVALID</code></a> if the key is not set.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-remove-attribute"></a><h3>g_file_info_remove_attribute ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_remove_attribute (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Removes all cases of <em class="parameter"><code>attribute</code></em> from <em class="parameter"><code>info</code></em> if it exists. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-as-string"></a><h3>g_file_info_get_attribute_as_string ()</h3> -<pre class="programlisting"><span class="returnvalue">char</span> * g_file_info_get_attribute_as_string (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the value of a attribute, formated as a string. -This escapes things as needed to make the string valid -utf8. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a UTF-8 string associated with the given <em class="parameter"><code>attribute</code></em>. -When you're done with the string it must be freed with <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-data"></a><h3>g_file_info_get_attribute_data ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_get_attribute_data (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> *type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *value_pp</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> *status</code></em>);</pre> -<p> -Gets the attribute type, value and status for an attribute key. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>return location for the attribute type, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_pp</code></em> :</span></p></td> -<td>return location for the attribute value, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td> -<td>return location for the attribute status, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>info</code></em> has an attribute named <em class="parameter"><code>attribute</code></em>, -<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-status"></a><h3>g_file_info_get_attribute_status ()</h3> -<pre class="programlisting"><a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a> g_file_info_get_attribute_status (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the attribute status for an attribute key. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> for the given <em class="parameter"><code>attribute</code></em>, or -<a class="link" href="gio-GFileAttribute.html#G-FILE-ATTRIBUTE-STATUS-UNSET:CAPS"><code class="literal">G_FILE_ATTRIBUTE_STATUS_UNSET</code></a> if the key is invalid.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-string"></a><h3>g_file_info_get_attribute_string ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_attribute_string (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the value of a string attribute. If the attribute does -not contain a string, <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the contents of the <em class="parameter"><code>attribute</code></em> value as a UTF-8 string, or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-stringv"></a><h3>g_file_info_get_attribute_stringv ()</h3> -<pre class="programlisting"><span class="returnvalue">char</span> ** g_file_info_get_attribute_stringv (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the value of a stringv attribute. If the attribute does -not contain a stringv, <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the contents of the <em class="parameter"><code>attribute</code></em> value as a stringv, or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. Do not free. These returned strings are UTF-8. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-byte-string"></a><h3>g_file_info_get_attribute_byte_string ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_attribute_byte_string - (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the value of a byte string attribute. If the attribute does -not contain a byte string, <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the contents of the <em class="parameter"><code>attribute</code></em> value as a byte string, or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-boolean"></a><h3>g_file_info_get_attribute_boolean ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_get_attribute_boolean (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the value of a boolean attribute. If the attribute does not -contain a boolean value, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the boolean value contained within the attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-uint32"></a><h3>g_file_info_get_attribute_uint32 ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> g_file_info_get_attribute_uint32 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets an unsigned 32-bit integer contained within the attribute. If the -attribute does not contain an unsigned 32-bit integer, or is invalid, -0 will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>an unsigned 32-bit integer from the attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-int32"></a><h3>g_file_info_get_attribute_int32 ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> g_file_info_get_attribute_int32 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets a signed 32-bit integer contained within the attribute. If the -attribute does not contain a signed 32-bit integer, or is invalid, -0 will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a signed 32-bit integer from the attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-uint64"></a><h3>g_file_info_get_attribute_uint64 ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> g_file_info_get_attribute_uint64 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets a unsigned 64-bit integer contained within the attribute. If the -attribute does not contain an unsigned 64-bit integer, or is invalid, -0 will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a unsigned 64-bit integer from the attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-int64"></a><h3>g_file_info_get_attribute_int64 ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> g_file_info_get_attribute_int64 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets a signed 64-bit integer contained within the attribute. If the -attribute does not contain an signed 64-bit integer, or is invalid, -0 will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a signed 64-bit integer from the attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-attribute-object"></a><h3>g_file_info_get_attribute_object ()</h3> -<pre class="programlisting"><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * g_file_info_get_attribute_object (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Gets the value of a <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> attribute. If the attribute does -not contain a <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> associated with the given <em class="parameter"><code>attribute</code></em>, or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute"></a><h3>g_file_info_set_attribute ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> value_p</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given value, if possible. To unset the -attribute, use <code class="literal">G_ATTRIBUTE_TYPE_INVALID</code> for <em class="parameter"><code>type</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_p</code></em> :</span></p></td> -<td>pointer to the value</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-status"></a><h3>g_file_info_set_attribute_status ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_set_attribute_status (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> status</code></em>);</pre> -<p> -Sets the attribute status for an attribute key. This is only -needed by external code that implement <a class="link" href="GFile.html#g-file-set-attributes-from-info" title="g_file_set_attributes_from_info ()"><code class="function">g_file_set_attributes_from_info()</code></a> -or similar functions. -</p> -<p> -The attribute must exist in <em class="parameter"><code>info</code></em> for this to work. Otherwise <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> -is returned and <em class="parameter"><code>info</code></em> is unchanged. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>status</code></em> :</span></p></td> -<td>a <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the status was changed, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the key was not set.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-string"></a><h3>g_file_info_set_attribute_string ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_string (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>a UTF-8 string.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-stringv"></a><h3>g_file_info_set_attribute_stringv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_stringv (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><span class="type">char</span> **attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<p> -Sinze: 2.22 -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array of UTF-8 strings. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-byte-string"></a><h3>g_file_info_set_attribute_byte_string ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_byte_string - (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>a byte string.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-boolean"></a><h3>g_file_info_set_attribute_boolean ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_boolean (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>a boolean value.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-uint32"></a><h3>g_file_info_set_attribute_uint32 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_uint32 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>an unsigned 32-bit integer.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-int32"></a><h3>g_file_info_set_attribute_int32 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_int32 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>a signed 32-bit integer</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-uint64"></a><h3>g_file_info_set_attribute_uint64 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_uint64 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>an unsigned 64-bit integer.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-int64"></a><h3>g_file_info_set_attribute_int64 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_int64 (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>attribute name to set.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>int64 value to set attribute to.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-object"></a><h3>g_file_info_set_attribute_object ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_object (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>, - <em class="parameter"><code><a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *attr_value</code></em>);</pre> -<p> -Sets the <em class="parameter"><code>attribute</code></em> to contain the given <em class="parameter"><code>attr_value</code></em>, -if possible. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attr_value</code></em> :</span></p></td> -<td>a <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-clear-status"></a><h3>g_file_info_clear_status ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_clear_status (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Clears the status information from <em class="parameter"><code>info</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-file-type"></a><h3>g_file_info_get_file_type ()</h3> -<pre class="programlisting"><a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a> g_file_info_get_file_type (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets a file's type (whether it is a regular file, symlink, etc). -This is different from the file's content type, see <a class="link" href="GFileInfo.html#g-file-info-get-content-type" title="g_file_info_get_content_type ()"><code class="function">g_file_info_get_content_type()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a> for the given file.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-is-hidden"></a><h3>g_file_info_get_is_hidden ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_get_is_hidden (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Checks if a file is hidden. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is a hidden file, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-is-backup"></a><h3>g_file_info_get_is_backup ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_get_is_backup (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Checks if a file is a backup file. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if file is a backup file, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-is-symlink"></a><h3>g_file_info_get_is_symlink ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_info_get_is_symlink (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Checks if a file is a symlink. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given <em class="parameter"><code>info</code></em> is a symlink.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-name"></a><h3>g_file_info_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_name (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the name for a file. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the file name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-display-name"></a><h3>g_file_info_get_display_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_display_name (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets a display name for a file. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the display name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-edit-name"></a><h3>g_file_info_get_edit_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_edit_name (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the edit name for a file. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the edit name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-icon"></a><h3>g_file_info_get_icon ()</h3> -<pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> * g_file_info_get_icon (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the icon for a file. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <em class="parameter"><code>info</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-content-type"></a><h3>g_file_info_get_content_type ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_content_type (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the file's content type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the file's content type.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-size"></a><h3>g_file_info_get_size ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a> g_file_info_get_size (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the file's size. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> containing the file's size.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-modification-time"></a><h3>g_file_info_get_modification_time ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_get_modification_time (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *result</code></em>);</pre> -<p> -Gets the modification time of the current <em class="parameter"><code>info</code></em> and sets it -in <em class="parameter"><code>result</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym> caller-allocates]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-symlink-target"></a><h3>g_file_info_get_symlink_target ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_symlink_target (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the symlink target for a given <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the symlink target.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-etag"></a><h3>g_file_info_get_etag ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_info_get_etag (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the <a class="link" href="GFile.html#gfile-etag">entity tag</a> for a given -<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS" title="G_FILE_ATTRIBUTE_ETAG_VALUE"><code class="literal">G_FILE_ATTRIBUTE_ETAG_VALUE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the value of the "etag:value" attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-get-sort-order"></a><h3>g_file_info_get_sort_order ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> g_file_info_get_sort_order (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Gets the value of the sort_order attribute from the <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> containing the value of the "standard::sort_order" attribute.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-attribute-mask"></a><h3>g_file_info_set_attribute_mask ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_attribute_mask (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *mask</code></em>);</pre> -<p> -Sets <em class="parameter"><code>mask</code></em> on <em class="parameter"><code>info</code></em> to match specific attribute types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-unset-attribute-mask"></a><h3>g_file_info_unset_attribute_mask ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_unset_attribute_mask (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre> -<p> -Unsets a mask set by <a class="link" href="GFileInfo.html#g-file-info-set-attribute-mask" title="g_file_info_set_attribute_mask ()"><code class="function">g_file_info_set_attribute_mask()</code></a>, if one -is set. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td> -<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-file-type"></a><h3>g_file_info_set_file_type ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_file_type (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a> type</code></em>);</pre> -<p> -Sets the file type in a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> to <em class="parameter"><code>type</code></em>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TYPE"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_TYPE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-is-hidden"></a><h3>g_file_info_set_is_hidden ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_is_hidden (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_hidden</code></em>);</pre> -<p> -Sets the "is_hidden" attribute in a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> according to <em class="parameter"><code>is_symlink</code></em>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-HIDDEN:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>is_hidden</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-is-symlink"></a><h3>g_file_info_set_is_symlink ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_is_symlink (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_symlink</code></em>);</pre> -<p> -Sets the "is_symlink" attribute in a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> according to <em class="parameter"><code>is_symlink</code></em>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-SYMLINK:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>is_symlink</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-name"></a><h3>g_file_info_set_name ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_name (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> -<p> -Sets the name attribute for the current <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_NAME"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_NAME</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>a string containing a name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-display-name"></a><h3>g_file_info_set_display_name ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_display_name (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *display_name</code></em>);</pre> -<p> -Sets the display name for the current <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DISPLAY-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>display_name</code></em> :</span></p></td> -<td>a string containing a display name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-edit-name"></a><h3>g_file_info_set_edit_name ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_edit_name (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *edit_name</code></em>);</pre> -<p> -Sets the edit name for the current file. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-EDIT-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>edit_name</code></em> :</span></p></td> -<td>a string containing an edit name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-icon"></a><h3>g_file_info_set_icon ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_icon (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> *icon</code></em>);</pre> -<p> -Sets the icon for a given <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ICON"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_ICON</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td> -<td>a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-content-type"></a><h3>g_file_info_set_content_type ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_content_type (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *content_type</code></em>);</pre> -<p> -Sets the content type attribute for a given <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>. -See <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-CONTENT-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>content_type</code></em> :</span></p></td> -<td>a content type. See <a class="link" href="gio-GContentType.html" title="GContentType">GContentType</a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-size"></a><h3>g_file_info_set_size ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_size (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> size</code></em>);</pre> -<p> -Sets the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SIZE"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SIZE</code></a> attribute in the file info -to the given size. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> containing the file's size.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-modification-time"></a><h3>g_file_info_set_modification_time ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_modification_time (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *mtime</code></em>);</pre> -<p> -Sets the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED"><code class="literal">G_FILE_ATTRIBUTE_TIME_MODIFIED</code></a> attribute in the file -info to the given time value. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mtime</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-symlink-target"></a><h3>g_file_info_set_symlink_target ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_symlink_target (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *symlink_target</code></em>);</pre> -<p> -Sets the <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</code></a> attribute in the file info -to the given symlink target. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>symlink_target</code></em> :</span></p></td> -<td>a static string containing a path to a symlink target.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-info-set-sort-order"></a><h3>g_file_info_set_sort_order ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_info_set_sort_order (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> sort_order</code></em>);</pre> -<p> -Sets the sort order attribute in the file info structure. See -<a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SORT-ORDER:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>sort_order</code></em> :</span></p></td> -<td>a sort order integer.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-new"></a><h3>g_file_attribute_matcher_new ()</h3> -<pre class="programlisting"><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * g_file_attribute_matcher_new (<em class="parameter"><code>const <span class="type">char</span> *attributes</code></em>);</pre> -<p> -Creates a new file attribute matcher, which matches attributes -against a given string. <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>s are reference -counted structures, and are created with a reference count of 1. If -the number of references falls to 0, the <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> is -automatically destroyed. -</p> -<p> -The <em class="parameter"><code>attribute</code></em> string should be formatted with specific keys separated -from namespaces with a double colon. Several "namespace::key" strings may be -concatenated with a single comma (e.g. "standard::type,standard::is-hidden"). -The wildcard "*" may be used to match all keys and namespaces, or -"namespace::*" will match all keys in a given namespace. -</p> -<p> -Examples of strings to use: -</p> -<div class="table"> -<a name="idp11951920"></a><p class="title"><b>Table 3. File Attribute Matcher strings and results</b></p> -<div class="table-contents"><table summary="File Attribute Matcher strings and results" border="1"> -<colgroup> -<col> -<col> -</colgroup> -<thead><tr> -<th align="left"> Matcher String </th> -<th align="left"> Matches </th> -</tr></thead> -<tbody> -<tr> -<td align="left">"*"</td> -<td align="left">matches all attributes.</td> -</tr> -<tr> -<td align="left">"standard::is-hidden"</td> -<td align="left">matches only the key is-hidden in the standard namespace.</td> -</tr> -<tr> -<td align="left">"standard::type,unix::*"</td> -<td align="left">matches the type key in the standard namespace and -all keys in the unix namespace.</td> -</tr> -</tbody> -</table></div> -</div> -<p><br class="table-break"> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>attributes</code></em> :</span></p></td> -<td>an attribute string to match.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-ref"></a><h3>g_file_attribute_matcher_ref ()</h3> -<pre class="programlisting"><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * g_file_attribute_matcher_ref (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>);</pre> -<p> -References a file attribute matcher. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-subtract"></a><h3>g_file_attribute_matcher_subtract ()</h3> -<pre class="programlisting"><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> * g_file_attribute_matcher_subtract - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *subtract</code></em>);</pre> -<p> -Subtracts all attributes of <em class="parameter"><code>subtract</code></em> from <em class="parameter"><code>matcher</code></em> and returns -a matcher that supports those attributes. -</p> -<p> -Note that currently it is not possible to remove a single -attribute when the <em class="parameter"><code>matcher</code></em> matches the whole namespace - or remove -a namespace or attribute when the matcher matches everything. This -is a limitation of the current implementation, but may be fixed -in the future. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>Matcher to subtract from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>subtract</code></em> :</span></p></td> -<td>The matcher to subtract</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A file attribute matcher matching all attributes of -<em class="parameter"><code>matcher</code></em> that are not matched by <em class="parameter"><code>subtract</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-unref"></a><h3>g_file_attribute_matcher_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_file_attribute_matcher_unref (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>);</pre> -<p> -Unreferences <em class="parameter"><code>matcher</code></em>. If the reference count falls below 1, -the <em class="parameter"><code>matcher</code></em> is automatically freed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-matches"></a><h3>g_file_attribute_matcher_matches ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_attribute_matcher_matches (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Checks if an attribute will be matched by an attribute matcher. If -the matcher was created with the "*" matching string, this function -will always return <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>attribute</code></em> matches <em class="parameter"><code>matcher</code></em>. <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-matches-only"></a><h3>g_file_attribute_matcher_matches_only ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_attribute_matcher_matches_only - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *attribute</code></em>);</pre> -<p> -Checks if a attribute matcher only matches a given attribute. Always -returns <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if "*" was used when creating the matcher. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>attribute</code></em> :</span></p></td> -<td>a file attribute key.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the matcher only matches <em class="parameter"><code>attribute</code></em>. <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-enumerate-namespace"></a><h3>g_file_attribute_matcher_enumerate_namespace ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_file_attribute_matcher_enumerate_namespace - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *ns</code></em>);</pre> -<p> -Checks if the matcher will match all of the keys in a given namespace. -This will always return <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a wildcard character is in use (e.g. if -matcher was created with "standard::*" and <em class="parameter"><code>ns</code></em> is "standard", or if matcher was created -using "*" and namespace is anything.) -</p> -<p> -TODO: this is awkwardly worded. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>ns</code></em> :</span></p></td> -<td>a string containing a file attribute namespace.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the matcher matches all of the entries -in the given <em class="parameter"><code>ns</code></em>, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-enumerate-next"></a><h3>g_file_attribute_matcher_enumerate_next ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * g_file_attribute_matcher_enumerate_next - (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>);</pre> -<p> -Gets the next matched attribute from a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string containing the next attribute or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if -no more attribute exist.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-file-attribute-matcher-to-string"></a><h3>g_file_attribute_matcher_to_string ()</h3> -<pre class="programlisting"><span class="returnvalue">char</span> * g_file_attribute_matcher_to_string (<em class="parameter"><code><a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a> *matcher</code></em>);</pre> -<p> -Prints what the matcher is matching against. The format will be -equal to the format passed to <a class="link" href="GFileInfo.html#g-file-attribute-matcher-new" title="g_file_attribute_matcher_new ()"><code class="function">g_file_attribute_matcher_new()</code></a>. -The output however, might not be identical, as the matcher may -decide to use a different order or omit needless parts. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>matcher</code></em> :</span></p></td> -<td>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a string describing the attributes the matcher matches -against or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>matcher</code></em> was <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -</div> -<div class="refsect1"> -<a name="GFileInfo.see-also"></a><h2>See Also</h2> -<a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a>, <a class="link" href="gio-GFileAttribute.html" title="GFileAttribute">GFileAttribute</a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file |