blob: 4a2e324c24c234aff3633db4eda0db597f0db4bc [file] [log] [blame]
<!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: GIO Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.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.25.1 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#GFileInfo.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#GFileInfo.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="file_ops.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gio-GFileAttribute.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GFileEnumerator.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></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 class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GFileInfo.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-new" title="g_file_info_new ()">g_file_info_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GFileInfo.html" title="GFileInfo"><span class="returnvalue">GFileInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-dup" title="g_file_info_dup ()">g_file_info_dup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-copy-into" title="g_file_info_copy_into ()">g_file_info_copy_into</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-has-attribute" title="g_file_info_has_attribute ()">g_file_info_has_attribute</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-has-namespace" title="g_file_info_has_namespace ()">g_file_info_has_namespace</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> **
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-list-attributes" title="g_file_info_list_attributes ()">g_file_info_list_attributes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="returnvalue">GFileAttributeType</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-remove-attribute" title="g_file_info_remove_attribute ()">g_file_info_remove_attribute</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="returnvalue">GFileAttributeStatus</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> **
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-set-attribute" title="g_file_info_set_attribute ()">g_file_info_set_attribute</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-clear-status" title="g_file_info_clear_status ()">g_file_info_clear_status</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="returnvalue">GFileType</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-get-name" title="g_file_info_get_name ()">g_file_info_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-get-icon" title="g_file_info_get_icon ()">g_file_info_get_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-get-symbolic-icon" title="g_file_info_get_symbolic_icon ()">g_file_info_get_symbolic_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-get-size" title="g_file_info_get_size ()">g_file_info_get_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-get-etag" title="g_file_info_get_etag ()">g_file_info_get_etag</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-get-deletion-date" title="g_file_info_get_deletion_date ()">g_file_info_get_deletion_date</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-set-name" title="g_file_info_set_name ()">g_file_info_set_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-set-icon" title="g_file_info_set_icon ()">g_file_info_set_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-set-symbolic-icon" title="g_file_info_set_symbolic_icon ()">g_file_info_set_symbolic_icon</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-info-set-size" title="g_file_info_set_size ()">g_file_info_set_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-attribute-matcher-new" title="g_file_attribute_matcher_new ()">g_file_attribute_matcher_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-attribute-matcher-ref" title="g_file_attribute_matcher_ref ()">g_file_attribute_matcher_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="returnvalue">GFileAttributeMatcher</span></a> *
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-attribute-matcher-subtract" title="g_file_attribute_matcher_subtract ()">g_file_attribute_matcher_subtract</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-attribute-matcher-unref" title="g_file_attribute_matcher_unref ()">g_file_attribute_matcher_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GFileInfo.html#g-file-attribute-matcher-matches" title="g_file_attribute_matcher_matches ()">g_file_attribute_matcher_matches</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<a name="GFileAttributeMatcher"></a><div class="refsect1">
<a name="GFileInfo.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GFileInfo.html#GFileAttributeMatcher-struct" title="GFileAttributeMatcher">GFileAttributeMatcher</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GFileInfo.html#GFileType" title="enum GFileType">GFileType</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GFileInfo.html#GFileInfo-struct" title="GFileInfo">GFileInfo</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-TYPE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_TYPE">G_FILE_ATTRIBUTE_STANDARD_TYPE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-IS-VOLATILE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE">G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-NAME:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_NAME">G_FILE_ATTRIBUTE_STANDARD_NAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_ICON">G_FILE_ATTRIBUTE_STANDARD_ICON</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SYMBOLIC-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON">G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SIZE:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SIZE">G_FILE_ATTRIBUTE_STANDARD_SIZE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ETAG-VALUE:CAPS" title="G_FILE_ATTRIBUTE_ETAG_VALUE">G_FILE_ATTRIBUTE_ETAG_VALUE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILE:CAPS" title="G_FILE_ATTRIBUTE_ID_FILE">G_FILE_ATTRIBUTE_ID_FILE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-ID-FILESYSTEM:CAPS" title="G_FILE_ATTRIBUTE_ID_FILESYSTEM">G_FILE_ATTRIBUTE_ID_FILESYSTEM</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-MODIFIED:CAPS" title="G_FILE_ATTRIBUTE_TIME_MODIFIED">G_FILE_ATTRIBUTE_TIME_MODIFIED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-ACCESS:CAPS" title="G_FILE_ATTRIBUTE_TIME_ACCESS">G_FILE_ATTRIBUTE_TIME_ACCESS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CHANGED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CHANGED">G_FILE_ATTRIBUTE_TIME_CHANGED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-TIME-CREATED:CAPS" title="G_FILE_ATTRIBUTE_TIME_CREATED">G_FILE_ATTRIBUTE_TIME_CREATED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-DEVICE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_DEVICE">G_FILE_ATTRIBUTE_UNIX_DEVICE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-INODE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_INODE">G_FILE_ATTRIBUTE_UNIX_INODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-MODE:CAPS" title="G_FILE_ATTRIBUTE_UNIX_MODE">G_FILE_ATTRIBUTE_UNIX_MODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-NLINK:CAPS" title="G_FILE_ATTRIBUTE_UNIX_NLINK">G_FILE_ATTRIBUTE_UNIX_NLINK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-UID:CAPS" title="G_FILE_ATTRIBUTE_UNIX_UID">G_FILE_ATTRIBUTE_UNIX_UID</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-GID:CAPS" title="G_FILE_ATTRIBUTE_UNIX_GID">G_FILE_ATTRIBUTE_UNIX_GID</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-RDEV:CAPS" title="G_FILE_ATTRIBUTE_UNIX_RDEV">G_FILE_ATTRIBUTE_UNIX_RDEV</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-UNIX-BLOCKS:CAPS" title="G_FILE_ATTRIBUTE_UNIX_BLOCKS">G_FILE_ATTRIBUTE_UNIX_BLOCKS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-USER:CAPS" title="G_FILE_ATTRIBUTE_OWNER_USER">G_FILE_ATTRIBUTE_OWNER_USER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-OWNER-GROUP:CAPS" title="G_FILE_ATTRIBUTE_OWNER_GROUP">G_FILE_ATTRIBUTE_OWNER_GROUP</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAIL-PATH:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAIL_PATH">G_FILE_ATTRIBUTE_THUMBNAIL_PATH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAILING-FAILED:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAILING_FAILED">G_FILE_ATTRIBUTE_THUMBNAILING_FAILED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAIL-IS-VALID:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID">G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-PREVIEW-ICON:CAPS" title="G_FILE_ATTRIBUTE_PREVIEW_ICON">G_FILE_ATTRIBUTE_PREVIEW_ICON</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-SIZE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_SIZE">G_FILE_ATTRIBUTE_FILESYSTEM_SIZE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-FREE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_FREE">G_FILE_ATTRIBUTE_FILESYSTEM_FREE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-USED:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_USED">G_FILE_ATTRIBUTE_FILESYSTEM_USED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-TYPE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_TYPE">G_FILE_ATTRIBUTE_FILESYSTEM_TYPE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-READONLY:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_READONLY">G_FILE_ATTRIBUTE_FILESYSTEM_READONLY</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-FILESYSTEM-REMOTE:CAPS" title="G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE">G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-GVFS-BACKEND:CAPS" title="G_FILE_ATTRIBUTE_GVFS_BACKEND">G_FILE_ATTRIBUTE_GVFS_BACKEND</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-SELINUX-CONTEXT:CAPS" title="G_FILE_ATTRIBUTE_SELINUX_CONTEXT">G_FILE_ATTRIBUTE_SELINUX_CONTEXT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><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></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-DESCRIPTION:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION">G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GFileInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
<span class="lineart">╰──</span> GFileAttributeMatcher
<a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> GFileInfo
</pre>
</div>
<div class="refsect1">
<a name="GFileInfo.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gio/gio.h&gt;
</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.functions_details"></a><h2>Functions</h2>
<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="refsect3">
<a name="g-file-info-new.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p>
</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="refsect3">
<a name="g-file-info-dup.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>other</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-dup.returns"></a><h4>Returns</h4>
<p> a duplicate <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> of <em class="parameter"><code>other</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</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>First clears all of the <a class="link" href="gio-GFileAttribute.html" title="GFileAttribute">GFileAttribute</a> of <em class="parameter"><code>dest_info</code></em>
,
and then copies all of the file attributes from <em class="parameter"><code>src_info</code></em>
to <em class="parameter"><code>dest_info</code></em>
.</p>
<div class="refsect3">
<a name="g-file-info-copy-into.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>src_info</p></td>
<td class="parameter_description"><p>source to copy attributes from.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_info</p></td>
<td class="parameter_description"><p>destination to copy attributes to.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-has-attribute.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-has-attribute.returns"></a><h4>Returns</h4>
<p> <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</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-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="refsect3">
<a name="g-file-info-has-namespace.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name_space</p></td>
<td class="parameter_description"><p>a file attribute namespace.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-has-namespace.returns"></a><h4>Returns</h4>
<p> <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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="refsect3">
<a name="g-file-info-list-attributes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name_space</p></td>
<td class="parameter_description"><p> a file attribute key's namespace, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to list
all attributes. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-list-attributes.returns"></a><h4>Returns</h4>
<p> 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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<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></p>
</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="refsect3">
<a name="g-file-info-get-attribute-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-type.returns"></a><h4>Returns</h4>
<p> 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.</p>
</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="refsect3">
<a name="g-file-info-remove-attribute.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-get-attribute-as-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-as-string.returns"></a><h4>Returns</h4>
<p> 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-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
</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-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-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="refsect3">
<a name="g-file-info-get-attribute-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p> return location for the attribute type, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>value_pp</p></td>
<td class="parameter_description"><p> return location for the
attribute value, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; the attribute value will not be <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>][<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>status</p></td>
<td class="parameter_description"><p> return location for the attribute status, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-data.returns"></a><h4>Returns</h4>
<p> <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</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="refsect3">
<a name="g-file-info-get-attribute-status.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-status.returns"></a><h4>Returns</h4>
<p> 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.</p>
</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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
<div class="refsect3">
<a name="g-file-info-get-attribute-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-string.returns"></a><h4>Returns</h4>
<p> the contents of the <em class="parameter"><code>attribute</code></em>
value as a UTF-8 string, or
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p>
</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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
<div class="refsect3">
<a name="g-file-info-get-attribute-stringv.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-stringv.returns"></a><h4>Returns</h4>
<p> the contents of the <em class="parameter"><code>attribute</code></em>
value as a stringv, or
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. Do not free. These returned strings are UTF-8. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
<div class="refsect3">
<a name="g-file-info-get-attribute-byte-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-byte-string.returns"></a><h4>Returns</h4>
<p> the contents of the <em class="parameter"><code>attribute</code></em>
value as a byte string, or
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise.</p>
</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-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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned.</p>
<div class="refsect3">
<a name="g-file-info-get-attribute-boolean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-boolean.returns"></a><h4>Returns</h4>
<p> the boolean value contained within the attribute.</p>
</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-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="refsect3">
<a name="g-file-info-get-attribute-uint32.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-uint32.returns"></a><h4>Returns</h4>
<p> an unsigned 32-bit integer from the attribute.</p>
</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-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="refsect3">
<a name="g-file-info-get-attribute-int32.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-int32.returns"></a><h4>Returns</h4>
<p> a signed 32-bit integer from the attribute.</p>
</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-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="refsect3">
<a name="g-file-info-get-attribute-uint64.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-uint64.returns"></a><h4>Returns</h4>
<p> a unsigned 64-bit integer from the attribute.</p>
</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-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="refsect3">
<a name="g-file-info-get-attribute-int64.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-int64.returns"></a><h4>Returns</h4>
<p> a signed 64-bit integer from the attribute.</p>
</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-The-Base-Object-Type.html#GObject-struct"><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-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> attribute. If the attribute does
not contain a <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
<div class="refsect3">
<a name="g-file-info-get-attribute-object.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-attribute-object.returns"></a><h4>Returns</h4>
<p> a <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> associated with the given <em class="parameter"><code>attribute</code></em>
, or
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</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-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="refsect3">
<a name="g-file-info-set-attribute.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="gio-GFileAttribute.html#GFileAttributeType" title="enum GFileAttributeType"><span class="type">GFileAttributeType</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value_p</p></td>
<td class="parameter_description"><p> pointer to the value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</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-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-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="refsect3">
<a name="g-file-info-set-attribute-status.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>status</p></td>
<td class="parameter_description"><p>a <a class="link" href="gio-GFileAttribute.html#GFileAttributeStatus" title="enum GFileAttributeStatus"><span class="type">GFileAttributeStatus</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-set-attribute-status.returns"></a><h4>Returns</h4>
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the status was changed, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the key was not set.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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="refsect3">
<a name="g-file-info-set-attribute-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>a UTF-8 string.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-attribute-stringv.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p> a <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array of UTF-8 strings. </p></td>
<td class="parameter_annotations"><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>
</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="refsect3">
<a name="g-file-info-set-attribute-byte-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>a byte string.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-attribute-boolean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>a boolean value.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-attribute-uint32.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>an unsigned 32-bit integer.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-attribute-int32.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>a signed 32-bit integer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-attribute-uint64.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>an unsigned 64-bit integer.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-attribute-int64.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>attribute name to set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>int64 value to set attribute to.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-The-Base-Object-Type.html#GObject-struct"><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="refsect3">
<a name="g-file-info-set-attribute-object.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attr_value</p></td>
<td class="parameter_description"><p>a <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-clear-status.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-get-file-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-file-type.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a> for the given file.</p>
</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-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="refsect3">
<a name="g-file-info-get-is-hidden.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-is-hidden.returns"></a><h4>Returns</h4>
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file is a hidden file, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</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-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="refsect3">
<a name="g-file-info-get-is-backup.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-is-backup.returns"></a><h4>Returns</h4>
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if file is a backup file, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</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-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="refsect3">
<a name="g-file-info-get-is-symlink.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-is-symlink.returns"></a><h4>Returns</h4>
<p> <a href="../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.</p>
</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="refsect3">
<a name="g-file-info-get-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-name.returns"></a><h4>Returns</h4>
<p> a string containing the file name. </p>
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
</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="refsect3">
<a name="g-file-info-get-display-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-display-name.returns"></a><h4>Returns</h4>
<p> a string containing the display name.</p>
</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="refsect3">
<a name="g-file-info-get-edit-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-edit-name.returns"></a><h4>Returns</h4>
<p> a string containing the edit name.</p>
</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="refsect3">
<a name="g-file-info-get-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-icon.returns"></a><h4>Returns</h4>
<p> <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <em class="parameter"><code>info</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-file-info-get-symbolic-icon"></a><h3>g_file_info_get_symbolic_icon ()</h3>
<pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon"><span class="returnvalue">GIcon</span></a> *
g_file_info_get_symbolic_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 symbolic icon for a file.</p>
<div class="refsect3">
<a name="g-file-info-get-symbolic-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-symbolic-icon.returns"></a><h4>Returns</h4>
<p> <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <em class="parameter"><code>info</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
</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="refsect3">
<a name="g-file-info-get-content-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-content-type.returns"></a><h4>Returns</h4>
<p> a string containing the file's content type.</p>
</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-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="refsect3">
<a name="g-file-info-get-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-size.returns"></a><h4>Returns</h4>
<p> a <a href="../glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> containing the file's size.</p>
</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-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="refsect3">
<a name="g-file-info-get-modification-time.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>result</p></td>
<td class="parameter_description"><p> a <a href="../glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-get-symlink-target.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-symlink-target.returns"></a><h4>Returns</h4>
<p> a string containing the symlink target.</p>
</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" title="Entity Tags">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="refsect3">
<a name="g-file-info-get-etag.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-etag.returns"></a><h4>Returns</h4>
<p> a string containing the value of the "etag:value" attribute.</p>
</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-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="refsect3">
<a name="g-file-info-get-sort-order.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-sort-order.returns"></a><h4>Returns</h4>
<p> a <a href="../glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> containing the value of the "standard::sort_order" attribute.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-file-info-get-deletion-date"></a><h3>g_file_info_get_deletion_date ()</h3>
<pre class="programlisting"><a href="../glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> *
g_file_info_get_deletion_date (<em class="parameter"><code><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a> *info</code></em>);</pre>
<p>Returns the <a href="../glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> representing the deletion date of the file, as
available in G_FILE_ATTRIBUTE_TRASH_DELETION_DATE. If the
G_FILE_ATTRIBUTE_TRASH_DELETION_DATE attribute is unset, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
<div class="refsect3">
<a name="g-file-info-get-deletion-date.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-info-get-deletion-date.returns"></a><h4>Returns</h4>
<p> a <a href="../glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
</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="refsect3">
<a name="g-file-info-set-attribute-mask.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mask</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-unset-attribute-mask.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p><a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-file-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileType" title="enum GFileType"><span class="type">GFileType</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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_hidden</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="refsect3">
<a name="g-file-info-set-is-hidden.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_hidden</p></td>
<td class="parameter_description"><p>a <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-is-symlink.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_symlink</p></td>
<td class="parameter_description"><p>a <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p> a string containing a name. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-display-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>display_name</p></td>
<td class="parameter_description"><p>a string containing a display name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-edit-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>edit_name</p></td>
<td class="parameter_description"><p>a string containing an edit name.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>icon</p></td>
<td class="parameter_description"><p>a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-file-info-set-symbolic-icon"></a><h3>g_file_info_set_symbolic_icon ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_file_info_set_symbolic_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 symbolic 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-SYMBOLIC-ICON:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON"><code class="literal">G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON</code></a>.</p>
<div class="refsect3">
<a name="g-file-info-set-symbolic-icon.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>icon</p></td>
<td class="parameter_description"><p>a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
</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="refsect3">
<a name="g-file-info-set-content-type.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>content_type</p></td>
<td class="parameter_description"><p>a content type. See <a class="link" href="gio-GContentType.html" title="GContentType">GContentType</a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>a <a href="../glib-Basic-Types.html#goffset"><span class="type">goffset</span></a> containing the file's size.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-modification-time.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mtime</p></td>
<td class="parameter_description"><p>a <a href="../glib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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="refsect3">
<a name="g-file-info-set-symlink-target.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>symlink_target</p></td>
<td class="parameter_description"><p>a static string containing a path to a symlink target.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-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="refsect3">
<a name="g-file-info-set-sort-order.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html" title="GFileInfo"><span class="type">GFileInfo</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sort_order</p></td>
<td class="parameter_description"><p>a sort order integer.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</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 href="GFileInfo.html#GFileAttributeMatcher-struct"><span class="type">GFileAttributeMatchers</span></a> 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>
<div class="refsect3">
<a name="id-1.4.2.4.9.65.6"></a><h4>Examples of file attribute matcher strings and results</h4>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p><code class="literal">"*"</code>: matches all attributes.</p></li>
<li class="listitem"><p><code class="literal">"standard::is-hidden"</code>: matches only the key is-hidden in the
standard namespace.</p></li>
<li class="listitem"><p><code class="literal">"standard::type,unix::*"</code>: matches the type key in the standard
namespace and all keys in the unix namespace.</p></li>
</ul></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>attributes</p></td>
<td class="parameter_description"><p>an attribute string to match.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-new.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a></p>
</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="refsect3">
<a name="g-file-attribute-matcher-ref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-ref.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p>
</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="refsect3">
<a name="g-file-attribute-matcher-subtract.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>Matcher to subtract from </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>subtract</p></td>
<td class="parameter_description"><p>The matcher to subtract</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-subtract.returns"></a><h4>Returns</h4>
<p> 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>
</p>
</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="refsect3">
<a name="g-file-attribute-matcher-unref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</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-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-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
<div class="refsect3">
<a name="g-file-attribute-matcher-matches.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-matches.returns"></a><h4>Returns</h4>
<p> <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</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-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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if "*" was used when creating the matcher.</p>
<div class="refsect3">
<a name="g-file-attribute-matcher-matches-only.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>attribute</p></td>
<td class="parameter_description"><p>a file attribute key.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-matches-only.returns"></a><h4>Returns</h4>
<p> <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</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-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-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="refsect3">
<a name="g-file-attribute-matcher-enumerate-namespace.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ns</p></td>
<td class="parameter_description"><p>a string containing a file attribute namespace.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-enumerate-namespace.returns"></a><h4>Returns</h4>
<p> <a href="../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-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</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="refsect3">
<a name="g-file-attribute-matcher-enumerate-next.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p>a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-enumerate-next.returns"></a><h4>Returns</h4>
<p> a string containing the next attribute or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
no more attribute exist.</p>
</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="refsect3">
<a name="g-file-attribute-matcher-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>matcher</p></td>
<td class="parameter_description"><p> a <a class="link" href="GFileInfo.html#GFileAttributeMatcher"><span class="type">GFileAttributeMatcher</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-file-attribute-matcher-to-string.returns"></a><h4>Returns</h4>
<p> a string describing the attributes the matcher matches
against or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>matcher</code></em>
was <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
</div>
</div>
<div class="refsect1">
<a name="GFileInfo.other_details"></a><h2>Types and Values</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>
<p>Indicates the file's on-disk type.</p>
<div class="refsect3">
<a name="GFileType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-UNKNOWN:CAPS"></a>G_FILE_TYPE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>File's type is unknown.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-REGULAR:CAPS"></a>G_FILE_TYPE_REGULAR</p></td>
<td class="enum_member_description">
<p>File handle represents a regular file.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-DIRECTORY:CAPS"></a>G_FILE_TYPE_DIRECTORY</p></td>
<td class="enum_member_description">
<p>File handle represents a directory.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-SYMBOLIC-LINK:CAPS"></a>G_FILE_TYPE_SYMBOLIC_LINK</p></td>
<td class="enum_member_description">
<p>File handle represents a symbolic link
(Unix systems).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-SPECIAL:CAPS"></a>G_FILE_TYPE_SPECIAL</p></td>
<td class="enum_member_description">
<p>File is a "special" file, such as a socket, fifo,
block device, or character device.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-SHORTCUT:CAPS"></a>G_FILE_TYPE_SHORTCUT</p></td>
<td class="enum_member_description">
<p>File is a shortcut (Windows systems).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="G-FILE-TYPE-MOUNTABLE:CAPS"></a>G_FILE_TYPE_MOUNTABLE</p></td>
<td class="enum_member_description">
<p>File is a mountable location.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</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-IS-VOLATILE:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE</h3>
<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE "standard::is-volatile" /* boolean */
</pre>
<p>A key in the "standard" namespace for checking if a file is
volatile. This is meant for opaque, non-POSIX-like backends to
indicate that the URI is not persistent. Applications should look
at <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-STANDARD-SYMLINK-TARGET:CAPS" title="G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET"><span class="type">G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</span></a> for the persistent URI.</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-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
<p class="since">Since: <a class="link" href="api-index-2-46.html#api-index-2.46">2.46</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-SYMBOLIC-ICON:CAPS"></a><h3>G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON</h3>
<pre class="programlisting">#define G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON "standard::symbolic-icon" /* object (GIcon) */
</pre>
<p>A key in the "standard" namespace for getting the symbolic 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>
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</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: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></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-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-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-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-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-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-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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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: <a class="link" href="api-index-2-22.html#api-index-2.22">2.22</a></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-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-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-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-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-THUMBNAIL-IS-VALID:CAPS"></a><h3>G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID</h3>
<pre class="programlisting">#define G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID "thumbnail::is-valid" /* boolean */
</pre>
<p>A key in the "thumbnail" namespace for checking whether the thumbnail is outdated.
This attribute is <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the thumbnail is up-to-date with the file it represents,
and <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the file has been modified since the thumbnail was generated.</p>
<p>If <a class="link" href="GFileInfo.html#G-FILE-ATTRIBUTE-THUMBNAILING-FAILED:CAPS" title="G_FILE_ATTRIBUTE_THUMBNAILING_FAILED"><code class="literal">G_FILE_ATTRIBUTE_THUMBNAILING_FAILED</code></a> is <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and this attribute is <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>,
it indicates that thumbnailing may be attempted again and may succeed.</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-BOOLEAN:CAPS"><code class="literal">G_FILE_ATTRIBUTE_TYPE_BOOLEAN</code></a>.</p>
<p class="since">Since: <a class="link" href="api-index-2-40.html#api-index-2.40">2.40</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: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></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: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></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-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-FILESYSTEM-REMOTE:CAPS"></a><h3>G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE</h3>
<pre class="programlisting">#define G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE "filesystem::remote" /* boolean */
</pre>
<p>A key in the "filesystem" namespace for checking if the file system
is remote. Is set to <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file system is remote.
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: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></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: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></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>
</div>
<div class="refsect1">
<a name="GFileInfo.see-also"></a><h2>See Also</h2>
<p><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></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
</body>
</html>