| Top |
GflsAttributeKeysGflsAttributeKeys — A list of GFile attribute keys |
GflsAttributeKeys is a small utility to build a list of GFile attribute
keys. The result is a single string to pass as an argument to a function like
g_file_query_info().
It is useful for doing only a single query with a list of keys coming from different parts of the program. To take an example, libgedit-gfls might have its own list of keys to query, but it is desirable to ask the application for additional keys.
void gfls_attribute_keys_add (GflsAttributeKeys *keys,const gchar *str);
Adds str
to keys
.
str
has the same semantics as the corresponding parameter of
g_file_query_info().
Since: 0.2
gchar *
gfls_attribute_keys_to_string (GflsAttributeKeys *keys);
the complete string to pass to
g_file_query_info() (for example), or NULL if the list is empty.
[transfer full][nullable]
Since: 0.2