From 61986a3106ab78ea9b933ddda31ea56169f531b4 Mon Sep 17 00:00:00 2001 From: Gian Mario Tagliaretti Date: Wed, 22 Apr 2009 00:46:01 +0200 Subject: Finish gio.File constants attributes --- docs/reference/pygio-constants.xml | 252 +++++++++++++++++++++++++++++++++++++ 1 file changed, 252 insertions(+) (limited to 'docs') diff --git a/docs/reference/pygio-constants.xml b/docs/reference/pygio-constants.xml index cc71fe3..7bb0f92 100644 --- a/docs/reference/pygio-constants.xml +++ b/docs/reference/pygio-constants.xml @@ -783,6 +783,258 @@ + + gio.FILE_ATTRIBUTE_UNIX_GID + + + "unix::gid" A key in the "unix" namespace for getting the group ID for the file. + This attribute is only available for UNIX file systems. Corresponding + + is gio.FILE_ATTRIBUTE_TYPE_UINT32. + + + + + gio.FILE_ATTRIBUTE_UNIX_RDEV + + + "unix::rdev" A key in the "unix" namespace for getting the device ID for the file + (if it is a special file). See lstat() documentation. This attribute is only available + for UNIX file systems. Corresponding + + is gio.FILE_ATTRIBUTE_TYPE_UINT32. + + + + + gio.FILE_ATTRIBUTE_UNIX_BLOCK_SIZE + + + "unix::block-size" 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 + + is gio.FILE_ATTRIBUTE_TYPE_UINT32. + + + + + gio.FILE_ATTRIBUTE_UNIX_BLOCKS + + + "unix::blocks" 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 + + is G_FILE_ATTRIBUTE_TYPE_UINT64. + + + + + gio.FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT + + + "unix::is-mountpoint" A key in the "unix" namespace for checking if the file represents + a UNIX mount point. This attribute is True if the file is a UNIX mount point. + This attribute is only available for UNIX file systems. Corresponding + GFileAttributeType + is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN. + + + + + gio.FILE_ATTRIBUTE_DOS_IS_ARCHIVE + + + "dos::is-archive" A key in the "dos" namespace for checking if the file's archive + flag is set. This attribute is True if the archive flag is set. + This attribute is only available for DOS file systems. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_BOOLEAN. + + + + + gio.FILE_ATTRIBUTE_DOS_IS_SYSTEM + + + "dos::is-system" A key in the "dos" namespace for checking if the file's backup + flag is set. This attribute is True if the backup flag is set. + This attribute is only available for DOS file systems. Corresponding + is + G_FILE_ATTRIBUTE_TYPE_BOOLEAN. + + + + + gio.FILE_ATTRIBUTE_OWNER_USER + + + "owner::user" A key in the "owner" namespace for getting the user name + of the file's owner. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_STRING. + + + + + gio.FILE_ATTRIBUTE_OWNER_USER_REAL + + + "owner::user-real" A key in the "owner" namespace for getting the real name + of the user that owns the file. Corresponding + is + G_FILE_ATTRIBUTE_TYPE_STRING. + + + + + gio.FILE_ATTRIBUTE_OWNER_GROUP + + + "owner::group" A key in the "owner" namespace for getting the file owner's + group. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_STRING. + + + + + gio.FILE_ATTRIBUTE_THUMBNAIL_PATH + + + "thumbnail::path" A key in the "thumbnail" namespace for getting the path + to the thumbnail image. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_BYTE_STRING. + + + + + gio.FILE_ATTRIBUTE_THUMBNAILING_FAILED + + + "thumbnail::failed" A key in the "thumbnail" namespace for checking if thumbnailing failed. This attribute + is True if thumbnailing failed. Corresponding + is + G_FILE_ATTRIBUTE_TYPE_BOOLEAN. + + + + + gio.FILE_ATTRIBUTE_PREVIEW_ICON + + + "preview::icon" A key in the "preview" namespace for getting a + gio.Icon + that can be used to get preview of the file. For example, it + may be a low resolution thumbnail without metadata. Corresponding + is + G_FILE_ATTRIBUTE_TYPE_OBJECT. The value for this key should contain a GIcon. + + + + + gio.FILE_ATTRIBUTE_FILESYSTEM_SIZE + + + "filesystem::size" A key in the "filesystem" namespace for getting the total + size (in bytes) of the file system, used in + query_filesystem_info(). + Corresponding + + is G_FILE_ATTRIBUTE_TYPE_UINT64. + + + + + gio.FILE_ATTRIBUTE_FILESYSTEM_FREE + + + "filesystem::free" A key in the "filesystem" namespace for getting the number of bytes of free space left + on the file system. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_UINT64. + + + + + gio.FILE_ATTRIBUTE_FILESYSTEM_TYPE + + + "filesystem::type" A key in the "filesystem" namespace for getting the file system's type. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_STRING. + + + + + gio.FILE_ATTRIBUTE_FILESYSTEM_READONLY + + + "filesystem::readonly" A key in the "filesystem" namespace for checking if the + file system is read only. Is set to True if the file system + is read only. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_BOOLEAN. + + + + + gio.FILE_ATTRIBUTE_GVFS_BACKEND + + + "gvfs::backend" A key in the "gvfs" namespace that gets the name of the current GVFS backend in use. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_STRING. + + + + + gio.FILE_ATTRIBUTE_SELINUX_CONTEXT + + + "selinux::context" A key in the "selinux" namespace for getting the file's SELinux context. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_STRING. + Note that this attribute is only available if GLib has been built with SELinux support. + + + + + gio.FILE_ATTRIBUTE_TRASH_ITEM_COUNT + + + "trash::item-count" A key in the "trash" namespace. When requested against "trash:///" returns the number + of (toplevel) items in the trash folder. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_UINT32. + + + + + gio.FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW + + + "filesystem::use-preview" 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 GFilesystemPreviewType. + + + + + gio.FILE_ATTRIBUTE_STANDARD_DESCRIPTION + + + "standard::description" 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. Corresponding + + is G_FILE_ATTRIBUTE_TYPE_STRING. + + + -- cgit