1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
5 <refentry id="gio-constants">
7 <refname>gio Constants</refname>
8 <refpurpose>the built-in constants of the gio module</refpurpose>
12 <title>Synopsis</title>
15 <xref linkend="gio-app-info-constants" endterm="gio-app-info-constants-title"></xref>
16 <xref linkend="gio-ask-password-flags-constants" endterm="gio-ask-password-flags-constants-title"></xref>
17 <xref linkend="gio-data-stream-byte-order-constants" endterm="gio-data-stream-byte-order-constants-title"></xref>
18 <xref linkend="gio-data-stream-newline-type-constants" endterm="gio-data-stream-newline-type-constants-title"></xref>
19 <xref linkend="gio-emblem-origin-constants" endterm="gio-emblem-origin-constants-title"></xref>
20 <xref linkend="gio-error-constants" endterm="gio-error-constants-title"></xref>
21 <xref linkend="gio-file-attribute-constants" endterm="gio-file-attribute-constants-title"></xref>
22 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
23 <xref linkend="gio-file-attribute-flags-constants" endterm="gio-file-attribute-flags-constants-title"></xref>
24 <xref linkend="gio-file-create-flags-constants" endterm="gio-file-create-flags-constants-title"></xref>
25 <xref linkend="gio-file-copy-flags-constants" endterm="gio-file-copy-flags-constants-title"></xref>
26 <xref linkend="gio-file-monitor-flags-constants" endterm="gio-file-monitor-flags-constants-title"></xref>
27 <xref linkend="gio-file-query-info-flags-constants" endterm="gio-file-query-info-flags-constants-title"></xref>
28 <xref linkend="gio-file-type-constants" endterm="gio-file-type-constants-title"></xref>
29 <xref linkend="gio-mount-mount-flags-constants" endterm="gio-mount-mount-flags-constants-title"></xref>
30 <xref linkend="gio-mount-operation-result-constants" endterm="gio-mount-operation-result-constants-title"></xref>
31 <xref linkend="gio-mount-unmount-flags-constants" endterm="gio-mount-unmount-flags-constants-title"></xref>
32 <xref linkend="gio-password-save-constants" endterm="gio-password-save-constants-title"></xref>
37 <refsect1 id="gio-constants-description">
38 <title>Description</title>
40 <refsect2 id="gio-ask-password-flags-constants">
41 <title id="gio-ask-password-flags-constants-title">Gio Ask Password Flags Constants</title>
44 Flags that are used to request specific information from the user, or to
45 notify the user of their choices in an authentication situation.
50 <term><literal>gio.ASK_PASSWORD_ANONYMOUS_SUPPORTED</literal></term>
52 <simpara>operation supports anonymous users.</simpara>
56 <term><literal>gio.ASK_PASSWORD_NEED_DOMAIN</literal></term>
58 <simpara>operation requires a domain.</simpara>
62 <term><literal>gio.ASK_PASSWORD_NEED_PASSWORD</literal></term>
64 <simpara>operation requires a password.</simpara>
68 <term><literal>gio.ASK_PASSWORD_NEED_USERNAME</literal></term>
70 <simpara>operation requires a username.</simpara>
74 <term><literal>gio.ASK_PASSWORD_SAVING_SUPPORTED</literal></term>
76 <simpara>operation supports saving settings.</simpara>
82 <refsect2 id="gio-app-info-constants">
83 <title id="gio-app-info-constants-title">Gio AppInfo Create Flags Constants</title>
86 Flags used when creating a <link linkend="class-gioappinfo"><classname>gio.AppInfo</classname></link>
91 <term><literal>gio.APP_INFO_CREATE_NONE</literal></term>
93 <simpara>No flags.</simpara>
97 <term><literal>gio.APP_INFO_CREATE_NEEDS_TERMINAL</literal></term>
99 <simpara>Application opens in a terminal window. </simpara>
103 <term><literal>gio.APP_INFO_CREATE_SUPPORTS_URIS</literal></term>
105 <simpara>Application supports URI arguments. </simpara>
111 <refsect2 id="gio-data-stream-byte-order-constants">
112 <title id="gio-data-stream-byte-order-constants-title">Gio Data Stream Byte Order Constants</title>
115 Used to ensure proper endianness of streaming data sources across various machine architectures.
120 <term><literal>gio.DATA_STREAM_BYTE_ORDER_BIG_ENDIAN</literal></term>
122 <simpara>Selects Big Endian byte order.</simpara>
126 <term><literal>gio.DATA_STREAM_BYTE_ORDER_HOST_ENDIAN</literal></term>
128 <simpara>Selects endianness based on host machine's architecture.</simpara>
132 <term><literal>gio.DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN</literal></term>
134 <simpara>Selects Little Endian byte order.</simpara>
140 <refsect2 id="gio-data-stream-newline-type-constants">
141 <title id="gio-data-stream-newline-type-constants-title">Gio Data Stream Newline Type Constants</title>
144 Used when checking for or setting the line endings for a given file.
149 <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_LF</literal></term>
151 <simpara>Selects "LF" line endings, common on most modern UNIX platforms.</simpara>
155 <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_CR</literal></term>
157 <simpara>Selects "CR" line endings.</simpara>
161 <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_CR_LF</literal></term>
163 <simpara>Selects "CR, LF" line ending, common on Microsoft Windows.</simpara>
167 <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_ANY</literal></term>
169 <simpara>Automatically try to handle any line ending type.</simpara>
175 <refsect2 id="gio-emblem-origin-constants">
176 <title id="gio-emblem-origin-constants-title">Gio Emblem Origin Constants</title>
179 GEmblemOrigin is used to add information about the origin of the emblem to GEmblem.
184 <term><literal>gio.EMBLEM_ORIGIN_DEVICE</literal></term>
186 <simpara>Embleme adds device-specific information.</simpara>
190 <term><literal>gio.EMBLEM_ORIGIN_LIVEMETADATA</literal></term>
192 <simpara>Emblem depicts live metadata, such as "readonly".</simpara>
196 <term><literal>gio.EMBLEM_ORIGIN_TAG</literal></term>
198 <simpara>Emblem comes from a user-defined tag, e.g. set by nautilus (in the future).</simpara>
202 <term><literal>gio.EMBLEM_ORIGIN_UNKNOWN</literal></term>
204 <simpara>Emblem of unknown origin.</simpara>
210 <refsect2 id="gio-error-constants">
211 <title id="gio-error-constants-title">Gio Error Constants</title>
214 GIOError Error codes returned by GIO functions.
219 <term><literal>gio.ERROR_ALREADY_MOUNTED</literal></term>
221 <simpara>File is already mounted.</simpara>
225 <term><literal>gio.ERROR_BUSY</literal></term>
227 <simpara>File is busy.</simpara>
231 <term><literal>gio.ERROR_CANCELLED</literal></term>
233 <simpara>Operation was cancelled. See
234 <link linkend="class-giocancellable"><classname>gio.Cancellable</classname></link>.
239 <term><literal>gio.ERROR_CANT_CREATE_BACKUP</literal></term>
241 <simpara>Backup couldn't be created.</simpara>
245 <term><literal>gio.ERROR_CLOSED</literal></term>
247 <simpara>File was closed.</simpara>
251 <term><literal>gio.ERROR_EXISTS</literal></term>
253 <simpara>File already exists error.</simpara>
257 <term><literal>gio.ERROR_FAILED</literal></term>
259 <simpara>Generic error condition for when any operation fails.</simpara>
263 <term><literal>gio.ERROR_FAILED_HANDLED</literal></term>
265 <simpara>Operation failed and a helper program has already interacted with
266 the user. Do not display any error dialog. </simpara>
270 <term><literal>gio.ERROR_FILENAME_TOO_LONG</literal></term>
272 <simpara>Filename is too many characters.</simpara>
276 <term><literal>gio.ERROR_HOST_NOT_FOUND</literal></term>
278 <simpara>Host couldn't be found (remote operations).</simpara>
282 <term><literal>gio.ERROR_INVALID_ARGUMENT</literal></term>
284 <simpara>Invalid argument.</simpara>
288 <term><literal>gio.ERROR_INVALID_FILENAME</literal></term>
290 <simpara>Filename is invalid or contains invalid characters.</simpara>
294 <term><literal>gio.ERROR_IS_DIRECTORY</literal></term>
296 <simpara>File is a directory error.</simpara>
300 <term><literal>gio.ERROR_NOT_DIRECTORY</literal></term>
302 <simpara>File is not a directory.</simpara>
306 <term><literal>gio.ERROR_NOT_EMPTY</literal></term>
308 <simpara>File is a directory that isn't empty.</simpara>
312 <term><literal>gio.ERROR_NOT_FOUND</literal></term>
314 <simpara>File not found error.</simpara>
318 <term><literal>gio.ERROR_NOT_MOUNTABLE_FILE</literal></term>
320 <simpara>File cannot be mounted.</simpara>
324 <term><literal>gio.ERROR_NOT_MOUNTED</literal></term>
326 <simpara>File isn't mounted. </simpara>
330 <term><literal>gio.ERROR_NOT_REGULAR_FILE</literal></term>
332 <simpara>File is not a regular file.</simpara>
336 <term><literal>gio.ERROR_NOT_SUPPORTED</literal></term>
338 <simpara>Operation not supported for the current backend.</simpara>
342 <term><literal>gio.ERROR_NOT_SYMBOLIC_LINK</literal></term>
344 <simpara>File is not a symbolic link.</simpara>
348 <term><literal>gio.ERROR_NO_SPACE</literal></term>
350 <simpara>No space left on drive. </simpara>
354 <term><literal>gio.ERROR_PENDING</literal></term>
356 <simpara>Operations are still pending.</simpara>
360 <term><literal>gio.ERROR_PERMISSION_DENIED</literal></term>
362 <simpara>Permission denied.</simpara>
366 <term><literal>gio.ERROR_READ_ONLY</literal></term>
368 <simpara>File is read only. </simpara>
372 <term><literal>gio.ERROR_TIMED_OUT</literal></term>
374 <simpara>Operation timed out. </simpara>
378 <term><literal>gio.ERROR_TOO_MANY_LINKS</literal></term>
380 <simpara>File contains too many symbolic links. </simpara>
384 <term><literal>gio.ERROR_TOO_MANY_OPEN_FILES</literal></term>
386 <simpara>The current process has too many files open and can't open any
387 more. Duplicate descriptors do count toward this limit. Since 2.20</simpara>
391 <term><literal>gio.ERROR_WOULD_BLOCK</literal></term>
393 <simpara>Operation would block.</simpara>
397 <term><literal>gio.ERROR_WOULD_MERGE</literal></term>
399 <simpara>Operation would merge files.</simpara>
403 <term><literal>gio.ERROR_WOULD_RECURSE</literal></term>
405 <simpara>Operation would be recursive.</simpara>
409 <term><literal>gio.ERROR_WRONG_ETAG</literal></term>
411 <simpara>File's Entity Tag was incorrect. </simpara>
417 <refsect2 id="gio-file-attribute-constants">
418 <title id="gio-file-attribute-constants-title">Gio File Attribute Constants</title>
426 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_TYPE</literal></term>
429 "standard::type" A key in the "standard" namespace for storing file types. Corresponding
430 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
431 is gio.FILE_ATTRIBUTE_TYPE_UINT32. The value for this key should contain a
432 <xref linkend="gio-file-type-constants" endterm="gio-file-type-constants-title"></xref>
437 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_IS_HIDDEN</literal></term>
440 "standard::is-hidden" A key in the "standard" namespace for checking if a file is hidden. Corresponding
441 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
442 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
447 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_IS_BACKUP</literal></term>
450 "standard::is-backup" A key in the "standard" namespace for checking if a file is a backup file. Corresponding
451 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
452 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
457 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_IS_SYMLINK</literal></term>
460 "standard::is-symlink" A key in the "standard" namespace for checking if the file is a symlink.
461 Typically the actual type is something else, if we followed the symlink to get the type. Corresponding
462 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
463 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
468 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL</literal></term>
471 "standard::is-virtual" A key in the "standard" namespace for checking if a file is virtual. Corresponding
472 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
473 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
478 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_NAME</literal></term>
481 "standard::name" A key in the "standard" namespace for getting the name of the file.
482 The name is the on-disk filename which may not be in any known encoding,
483 and can thus not be generally displayed as is. Use
484 gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME if you need to display the name in a user
485 interface. Corresponding GFileAttributeType is gio.FILE_ATTRIBUTE_TYPE_BYTE_STRING.
490 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME</literal></term>
493 "standard::display-name" A key in the "standard" namespace for getting the display
494 name of the file. A display name is guaranteed to be in UTF8 and can thus be displayed
495 in the UI. Corresponding
496 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
497 is gio.FILE_ATTRIBUTE_TYPE_STRING.
502 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_EDIT_NAME</literal></term>
505 "standard::edit-name" A key in the "standard" namespace for edit name of the file.
506 An edit name is similar to the display name, but it is meant to be used when you want
507 to rename the file in the UI. The display name might contain information you don't
508 want in the new filename (such as "(invalid unicode)" if the filename was in an
509 invalid encoding). Corresponding
510 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
511 is gio.FILE_ATTRIBUTE_TYPE_STRING.
516 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_COPY_NAME</literal></term>
519 "standard::copy-name" A key in the "standard" namespace for getting the copy
520 name of the file. The copy name is an optional version of the name. If available
521 it's always in UTF8, and corresponds directly to the original filename (only transcoded
522 to UTF8). This is useful if you want to copy the file to another filesystem that might
523 have a different encoding. If the filename is not a valid string in the encoding selected
524 for the filesystem it is in then the copy name will not be set. Corresponding
525 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
526 is gio.FILE_ATTRIBUTE_TYPE_STRING.
531 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_ICON</literal></term>
534 "standard::icon" A key in the "standard" namespace for getting the icon for the file. Corresponding
535 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
536 is gio.FILE_ATTRIBUTE_TYPE_OBJECT. The value for this key should contain a
537 <link linkend="class-gioicon"><classname>gio.Icon</classname></link>.
542 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE</literal></term>
545 "standard::content-type" A key in the "standard" namespace for getting the content type of the file. Corresponding
546 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
547 is gio.FILE_ATTRIBUTE_TYPE_STRING. The value for this key should contain a valid content type.
552 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE</literal></term>
555 "standard::fast-content-type" A key in the "standard" namespace for getting the fast
556 content type. The fast content type isn't as reliable as the regular one, as it
557 only uses the filename to guess it, but it is faster to calculate than the regular
558 content type. Corresponding
559 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
560 is gio.FILE_ATTRIBUTE_TYPE_STRING.
565 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_SIZE</literal></term>
568 "standard::size" A key in the "standard" namespace for getting the file's size (in bytes). Corresponding
569 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
570 is gio.FILE_ATTRIBUTE_TYPE_UINT64.
575 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET</literal></term>
578 "standard::symlink-target" A key in the "standard" namespace for getting the target URI
579 for the file, in the case of gio.FILE_TYPE_SHORTCUT or gio.FILE_TYPE_MOUNTABLE files. Corresponding
580 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
581 is G_FILE_ATTRIBUTE_TYPE_STRING.
586 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_SORT_ORDER</literal></term>
589 "standard::sort-order" A key in the "standard" namespace for setting the sort order of a file. Corresponding
590 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
591 is gio.FILE_ATTRIBUTE_TYPE_INT32. An example use would be in file managers, which would use this
592 key to set the order files are displayed. Files with smaller sort order should be sorted first,
593 and files without sort order as if sort order was zero.
598 <term><literal>gio.FILE_ATTRIBUTE_ETAG_VALUE</literal></term>
601 "etag::value" A key in the "etag" namespace for getting the value of the file's entity tag. Corresponding
602 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
603 is gio.FILE_ATTRIBUTE_TYPE_STRING.
608 <term><literal>gio.FILE_ATTRIBUTE_ID_FILE</literal></term>
611 "id::file" A key in the "id" namespace for getting a file identifier. Corresponding
612 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
613 is gio.FILE_ATTRIBUTE_TYPE_STRING. An example use would be during listing files,
614 to avoid recursive directory scanning.
619 <term><literal>gio.FILE_ATTRIBUTE_ID_FILESYSTEM</literal></term>
622 "id::filesystem" A key in the "id" namespace for getting the file system identifier. Corresponding
623 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
624 is gio.FILE_ATTRIBUTE_TYPE_STRING. An example use would be during drag and
625 drop to see if the source and target are on the same filesystem (default to move) or not (default to copy).
630 <term><literal>gio.FILE_ATTRIBUTE_ACCESS_CAN_READ</literal></term>
633 "access::can-read" A key in the "access" namespace for getting read privileges. Corresponding
634 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
635 is G_FILE_ATTRIBUTE_TYPE_BOOLEAN. This attribute will be <literal>True</literal>
636 if the user is able to read the file.
641 <term><literal>gio.FILE_ATTRIBUTE_ACCESS_CAN_WRITE</literal></term>
644 "access::can-write" A key in the "access" namespace for getting write privileges.Corresponding
645 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
646 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN. This attribute will be <literal>True</literal>
647 if the user is able to write to the file.
652 <term><literal>gio.FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE</literal></term>
655 "access::can-execute" A key in the "access" namespace for getting execution privileges. Corresponding
656 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
657 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN. This attribute will be <literal>True</literal>
658 if the user is able to execute the file.
663 <term><literal>gio.FILE_ATTRIBUTE_ACCESS_CAN_DELETE</literal></term>
666 "access::can-delete" A key in the "access" namespace for checking deletion privileges. Corresponding
667 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
668 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN. This attribute will be <literal>True</literal>
669 if the user is able to delete the file.
674 <term><literal>gio.FILE_ATTRIBUTE_ACCESS_CAN_TRASH</literal></term>
677 "access::can-trash" A key in the "access" namespace for checking trashing privileges. Corresponding
678 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
679 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN. This attribute will be <literal>True</literal>
680 if the user is able to move the file to the trash.
685 <term><literal>gio.FILE_ATTRIBUTE_ACCESS_CAN_RENAME</literal></term>
688 "access::can-rename" A key in the "access" namespace for checking renaming privileges. Corresponding
689 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
690 is G_FILE_ATTRIBUTE_TYPE_BOOLEAN. This attribute will be <literal>True</literal>
691 if the user is able to rename the file.
696 <term><literal>gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT</literal></term>
699 "mountable::can-mount" A key in the "mountable" namespace for checking if
700 a file (of type G_FILE_TYPE_MOUNTABLE) is mountable. Corresponding
701 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
702 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
707 <term><literal>gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT</literal></term>
710 "mountable::can-unmount" A key in the "mountable" namespace for checking if a file
711 (of type G_FILE_TYPE_MOUNTABLE) is unmountable. Corresponding
712 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
713 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
718 <term><literal>gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT</literal></term>
721 "mountable::can-eject" A key in the "mountable" namespace for checking if a file
722 (of type G_FILE_TYPE_MOUNTABLE) can be ejected. Corresponding
723 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
724 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
729 <term><literal>gio.FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE</literal></term>
732 "mountable::unix-device" A key in the "mountable" namespace for getting the unix device. Corresponding
733 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
734 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
739 <term><literal>gio.FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI</literal></term>
742 "mountable::hal-udi" A key in the "mountable" namespace for getting the
743 HAL UDI for the mountable file. Corresponding
744 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
745 is gio.FILE_ATTRIBUTE_TYPE_STRING.
750 <term><literal>gio.FILE_ATTRIBUTE_TIME_MODIFIED</literal></term>
753 "time::modified" A key in the "time" namespace for getting the time the file was last modified. Corresponding
754 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
755 is gio.FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the file was modified.
760 <term><literal>gio.FILE_ATTRIBUTE_TIME_MODIFIED_USEC</literal></term>
763 "time::modified-usec" A key in the "time" namespace for getting the miliseconds
764 of the time the file was last modified. This should be used in conjunction
765 with G_FILE_ATTRIBUTE_TIME_MODIFIED. Corresponding
766 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
767 is G_FILE_ATTRIBUTE_TYPE_UINT32.
772 <term><literal>gio.FILE_ATTRIBUTE_TIME_ACCESS</literal></term>
775 "time::access" A key in the "time" namespace for getting the time the file was last accessed. Corresponding
776 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
777 is gio.FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the file was last accessed.
782 <term><literal>gio.FILE_ATTRIBUTE_TIME_ACCESS_USEC</literal></term>
785 "time::access-usec" A key in the "time" namespace for getting the microseconds of
786 the time the file was last accessed. This should be used in conjunction
787 with G_FILE_ATTRIBUTE_TIME_ACCESS. Corresponding
788 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
789 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
794 <term><literal>gio.FILE_ATTRIBUTE_TIME_CHANGED</literal></term>
797 "time::changed" A key in the "time" namespace for getting the time the
798 file was last changed. Corresponding
799 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
800 is gio.FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the file was last changed.
801 This corresponds to the traditional UNIX ctime.
806 <term><literal>gio.FILE_ATTRIBUTE_TIME_CHANGED_USEC</literal></term>
809 "time::changed-usec" A key in the "time" namespace for getting the microseconds
810 of the time the file was last changed. This should be used in conjunction
811 with G_FILE_ATTRIBUTE_TIME_CHANGED. Corresponding
812 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
813 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
818 <term><literal>gio.FILE_ATTRIBUTE_TIME_CREATED</literal></term>
821 "time::created" A key in the "time" namespace for getting the time the file was created. Corresponding
822 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
823 is gio.FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the file was created.
824 This corresponds to the NTFS ctime.
829 <term><literal>gio.FILE_ATTRIBUTE_TIME_CREATED_USEC</literal></term>
832 "time::created-usec" A key in the "time" namespace for getting the microseconds of the time the
833 file was created. This should be used in conjunction with G_FILE_ATTRIBUTE_TIME_CREATED. Corresponding
834 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
835 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
840 <term><literal>gio.FILE_ATTRIBUTE_UNIX_DEVICE</literal></term>
843 "unix::device" A key in the "unix" namespace for getting the device id of the device the file
844 is located on (see stat() documentation). This attribute is only available
845 for UNIX file systems. Corresponding
846 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
847 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
852 <term><literal>gio.FILE_ATTRIBUTE_UNIX_INODE</literal></term>
855 "unix::inode" A key in the "unix" namespace for getting the inode of the file. This attribute is only
856 available for UNIX file systems. Corresponding
857 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
858 is G_FILE_ATTRIBUTE_TYPE_UINT64.
863 <term><literal>gio.FILE_ATTRIBUTE_UNIX_MODE</literal></term>
866 "unix::mode" A key in the "unix" namespace for getting the mode of the file (e.g.
867 whether the file is a regular file, symlink, etc). See lstat() documentation.
868 This attribute is only available for UNIX file systems. Corresponding
869 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
870 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
875 <term><literal>gio.FILE_ATTRIBUTE_UNIX_NLINK</literal></term>
878 "unix::nlink" A key in the "unix" namespace for getting the number of hard links
879 for a file. See lstat() documentation. This attribute is only available for UNIX
880 file systems. Corresponding
881 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
882 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
887 <term><literal>gio.FILE_ATTRIBUTE_UNIX_UID</literal></term>
890 "unix::uid" A key in the "unix" namespace for getting the user ID for the file. This attribute
891 is only available for UNIX file systems. Corresponding
892 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
893 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
898 <term><literal>gio.FILE_ATTRIBUTE_UNIX_GID</literal></term>
901 "unix::gid" A key in the "unix" namespace for getting the group ID for the file.
902 This attribute is only available for UNIX file systems. Corresponding
903 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
904 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
909 <term><literal>gio.FILE_ATTRIBUTE_UNIX_RDEV</literal></term>
912 "unix::rdev" A key in the "unix" namespace for getting the device ID for the file
913 (if it is a special file). See lstat() documentation. This attribute is only available
914 for UNIX file systems. Corresponding
915 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
916 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
921 <term><literal>gio.FILE_ATTRIBUTE_UNIX_BLOCK_SIZE</literal></term>
924 "unix::block-size" A key in the "unix" namespace for getting the block size for
925 the file system. This attribute is only available for UNIX file systems. Corresponding
926 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
927 is gio.FILE_ATTRIBUTE_TYPE_UINT32.
932 <term><literal>gio.FILE_ATTRIBUTE_UNIX_BLOCKS</literal></term>
935 "unix::blocks" A key in the "unix" namespace for getting the number of blocks allocated
936 for the file. This attribute is only available for UNIX file systems. Corresponding
937 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
938 is G_FILE_ATTRIBUTE_TYPE_UINT64.
943 <term><literal>gio.FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT</literal></term>
946 "unix::is-mountpoint" A key in the "unix" namespace for checking if the file represents
947 a UNIX mount point. This attribute is <literal>True</literal> if the file is a UNIX mount point.
948 This attribute is only available for UNIX file systems. Corresponding
950 is gio.FILE_ATTRIBUTE_TYPE_BOOLEAN.
955 <term><literal>gio.FILE_ATTRIBUTE_DOS_IS_ARCHIVE</literal></term>
958 "dos::is-archive" A key in the "dos" namespace for checking if the file's archive
959 flag is set. This attribute is <literal>True</literal> if the archive flag is set.
960 This attribute is only available for DOS file systems. Corresponding
961 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
962 is G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
967 <term><literal>gio.FILE_ATTRIBUTE_DOS_IS_SYSTEM</literal></term>
970 "dos::is-system" A key in the "dos" namespace for checking if the file's backup
971 flag is set. This attribute is <literal>True</literal> if the backup flag is set.
972 This attribute is only available for DOS file systems. Corresponding
973 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref> is
974 G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
979 <term><literal>gio.FILE_ATTRIBUTE_OWNER_USER</literal></term>
982 "owner::user" A key in the "owner" namespace for getting the user name
983 of the file's owner. Corresponding
984 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
985 is G_FILE_ATTRIBUTE_TYPE_STRING.
990 <term><literal>gio.FILE_ATTRIBUTE_OWNER_USER_REAL</literal></term>
993 "owner::user-real" A key in the "owner" namespace for getting the real name
994 of the user that owns the file. Corresponding
995 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref> is
996 G_FILE_ATTRIBUTE_TYPE_STRING.
1001 <term><literal>gio.FILE_ATTRIBUTE_OWNER_GROUP</literal></term>
1004 "owner::group" A key in the "owner" namespace for getting the file owner's
1005 group. Corresponding
1006 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1007 is G_FILE_ATTRIBUTE_TYPE_STRING.
1012 <term><literal>gio.FILE_ATTRIBUTE_THUMBNAIL_PATH</literal></term>
1015 "thumbnail::path" A key in the "thumbnail" namespace for getting the path
1016 to the thumbnail image. Corresponding
1017 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1018 is G_FILE_ATTRIBUTE_TYPE_BYTE_STRING.
1023 <term><literal>gio.FILE_ATTRIBUTE_THUMBNAILING_FAILED</literal></term>
1026 "thumbnail::failed" A key in the "thumbnail" namespace for checking if thumbnailing failed. This attribute
1027 is <literal>True</literal> if thumbnailing failed. Corresponding
1028 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref> is
1029 G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
1034 <term><literal>gio.FILE_ATTRIBUTE_PREVIEW_ICON</literal></term>
1037 "preview::icon" A key in the "preview" namespace for getting a
1038 <link linkend="class-gioicon"><classname>gio.Icon</classname></link>
1039 that can be used to get preview of the file. For example, it
1040 may be a low resolution thumbnail without metadata. Corresponding
1041 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref> is
1042 G_FILE_ATTRIBUTE_TYPE_OBJECT. The value for this key should contain a GIcon.
1047 <term><literal>gio.FILE_ATTRIBUTE_FILESYSTEM_SIZE</literal></term>
1050 "filesystem::size" A key in the "filesystem" namespace for getting the total
1051 size (in bytes) of the file system, used in
1052 <methodname><link linkend="method-giofile--query-filesystem-info">query_filesystem_info</link></methodname>().
1054 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1055 is G_FILE_ATTRIBUTE_TYPE_UINT64.
1060 <term><literal>gio.FILE_ATTRIBUTE_FILESYSTEM_FREE</literal></term>
1063 "filesystem::free" A key in the "filesystem" namespace for getting the number of bytes of free space left
1064 on the file system. Corresponding
1065 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1066 is G_FILE_ATTRIBUTE_TYPE_UINT64.
1071 <term><literal>gio.FILE_ATTRIBUTE_FILESYSTEM_TYPE</literal></term>
1074 "filesystem::type" A key in the "filesystem" namespace for getting the file system's type. Corresponding
1075 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1076 is G_FILE_ATTRIBUTE_TYPE_STRING.
1081 <term><literal>gio.FILE_ATTRIBUTE_FILESYSTEM_READONLY</literal></term>
1084 "filesystem::readonly" A key in the "filesystem" namespace for checking if the
1085 file system is read only. Is set to <literal>True</literal> if the file system
1086 is read only. Corresponding
1087 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1088 is G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
1093 <term><literal>gio.FILE_ATTRIBUTE_GVFS_BACKEND</literal></term>
1096 "gvfs::backend" A key in the "gvfs" namespace that gets the name of the current GVFS backend in use. Corresponding
1097 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1098 is G_FILE_ATTRIBUTE_TYPE_STRING.
1103 <term><literal>gio.FILE_ATTRIBUTE_SELINUX_CONTEXT</literal></term>
1106 "selinux::context" A key in the "selinux" namespace for getting the file's SELinux context. Corresponding
1107 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1108 is G_FILE_ATTRIBUTE_TYPE_STRING.
1109 Note that this attribute is only available if GLib has been built with SELinux support.
1114 <term><literal>gio.FILE_ATTRIBUTE_TRASH_ITEM_COUNT</literal></term>
1117 "trash::item-count" A key in the "trash" namespace. When requested against "trash:///" returns the number
1118 of (toplevel) items in the trash folder. Corresponding
1119 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1120 is G_FILE_ATTRIBUTE_TYPE_UINT32.
1125 <term><literal>gio.FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW</literal></term>
1128 "filesystem::use-preview" A key in the "filesystem" namespace for hinting a file manager
1129 application whether it should preview (e.g. thumbnail) files on the file system.
1130 The value for this key contain a GFilesystemPreviewType.
1135 <term><literal>gio.FILE_ATTRIBUTE_STANDARD_DESCRIPTION</literal></term>
1138 "standard::description" A key in the "standard" namespace for getting the description
1139 of the file. The description is a utf8 string that describes the file, generally containing
1140 the filename, but can also contain furter information. Example descriptions could be
1141 "filename (on hostname)" for a remote file or "filename (in trash)" for a
1142 file in the trash. This is useful for instance as the window title when
1143 displaying a directory or for a bookmarks menu. Corresponding
1144 <xref linkend="gio-file-attribute-type-constants" endterm="gio-file-attribute-type-constants-title"></xref>
1145 is G_FILE_ATTRIBUTE_TYPE_STRING.
1152 <refsect2 id="gio-file-attribute-type-constants">
1153 <title id="gio-file-attribute-type-constants-title">Gio File Attribute Type Constants</title>
1156 The data types for file attributes.
1161 <term><literal>gio.FILE_ATTRIBUTE_TYPE_BOOLEAN</literal></term>
1163 <simpara>a boolean value.</simpara>
1167 <term><literal>gio.FILE_ATTRIBUTE_TYPE_BYTE_STRING</literal></term>
1169 <simpara>a zero terminated string of non-zero bytes.</simpara>
1173 <term><literal>gio.FILE_ATTRIBUTE_TYPE_INT32</literal></term>
1175 <simpara>a signed 4-byte/32-bit integer.</simpara>
1179 <term><literal>gio.FILE_ATTRIBUTE_TYPE_INT64</literal></term>
1181 <simpara>a signed 8-byte/64-bit integer.</simpara>
1185 <term><literal>gio.FILE_ATTRIBUTE_TYPE_INVALID</literal></term>
1187 <simpara>indicates an invalid or uninitalized type.</simpara>
1191 <term><literal>gio.FILE_ATTRIBUTE_TYPE_OBJECT</literal></term>
1193 <simpara>a <link linkend="class-gobject">gobject.GObject</link>.</simpara>
1197 <term><literal>gio.FILE_ATTRIBUTE_TYPE_STRING</literal></term>
1199 <simpara>a null terminated UTF8 string.</simpara>
1203 <term><literal>gio.FILE_ATTRIBUTE_TYPE_UINT32</literal></term>
1205 <simpara>an unsigned 4-byte/32-bit integer.</simpara>
1209 <term><literal>gio.FILE_ATTRIBUTE_TYPE_UINT64</literal></term>
1211 <simpara>an unsigned 8-byte/64-bit integer.</simpara>
1217 <refsect2 id="gio-file-attribute-flags-constants">
1218 <title id="gio-file-attribute-flags-constants-title">Gio File Attribute Flags Constants</title>
1221 Flags specifying the behaviour of an attribute.
1226 <term><literal>gio.FILE_ATTRIBUTE_INFO_NONE</literal></term>
1228 <simpara>no flags set.</simpara>
1232 <term><literal>gio.FILE_ATTRIBUTE_INFO_COPY_WITH_FILE</literal></term>
1234 <simpara>copy the attribute values when the file is copied.</simpara>
1238 <term><literal>gio.FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED</literal></term>
1240 <simpara>copy the attribute values when the file is moved.</simpara>
1246 <refsect2 id="gio-file-create-flags-constants">
1247 <title id="gio-file-create-flags-constants-title">Gio File Create Flags Constants</title>
1250 Flags used when an operation may create a file.
1255 <term><literal>gio.FILE_CREATE_NONE</literal></term>
1257 <simpara>No flags set.</simpara>
1261 <term><literal>gio.FILE_CREATE_PRIVATE</literal></term>
1263 <simpara>Create a file that can only be accessed by the current user.</simpara>
1267 <term><literal>gio.FILE_CREATE_REPLACE_DESTINATION</literal></term>
1270 Replace the destination as if it didn't exist before. Don't try
1271 to keep any old permissions, replace instead of following links. This is
1272 generally useful if you're doing a "copy over" rather than a "save new version of"
1273 replace operation. You can think of it as "unlink destination" before writing
1274 to it, although the implementation may not be exactly like that.
1281 <refsect2 id="gio-file-copy-flags-constants">
1282 <title id="gio-file-copy-flags-constants-title">Gio File Copy Flags Constants</title>
1285 Flags used when copying or moving files.
1290 <term><literal>gio.FILE_COPY_NONE</literal></term>
1292 <simpara>No flags set.</simpara>
1296 <term><literal>gio.FILE_COPY_OVERWRITE</literal></term>
1298 <simpara>Overwrite any existing files.</simpara>
1302 <term><literal>gio.FILE_COPY_BACKUP</literal></term>
1304 <simpara>Make a backup of any existing files.</simpara>
1308 <term><literal>gio.FILE_COPY_NOFOLLOW_SYMLINKS</literal></term>
1310 <simpara>Don't follow symlinks.</simpara>
1314 <term><literal>gio.FILE_COPY_ALL_METADATA</literal></term>
1316 <simpara>Copy all file metadata instead of just default set used for copy
1317 (see <link linkend="class-giofileinfo"><classname>gio.FileInfo</classname></link>).</simpara>
1321 <term><literal>gio.FILE_COPY_NO_FALLBACK_FOR_MOVE</literal></term>
1323 <simpara>Don't use copy and delete fallback if native move not supported.</simpara>
1327 <term><literal>gio.FILE_COPY_TARGET_DEFAULT_PERMS</literal></term>
1329 <simpara>Leaves target file with default perms, instead of setting the source file perms.</simpara>
1335 <refsect2 id="gio-file-monitor-flags-constants">
1336 <title id="gio-file-monitor-flags-constants-title">Gio File Monitor Flags Constants</title>
1339 Flags used to set what a
1340 <link linkend="class-giofilemonitor"><classname>gio.FileMonitor</classname></link>
1346 <term><literal>gio.FILE_MONITOR_NONE</literal></term>
1348 <simpara>No flags set.</simpara>
1352 <term><literal>gio.FILE_MONITOR_WATCH_MOUNTS</literal></term>
1354 <simpara>Watch for mount events.</simpara>
1360 <refsect2 id="gio-file-query-info-flags-constants">
1361 <title id="gio-file-query-info-flags-constants-title">Gio File Query Info Flags Constants</title>
1364 Flags used when querying a
1365 <link linkend="class-giofile"><classname>gio.FileInfo</classname></link>.
1370 <term><literal>gio.FILE_QUERY_INFO_NONE</literal></term>
1372 <simpara>No flags set.</simpara>
1376 <term><literal>gio.FILE_QUERY_INFO_NOFOLLOW_SYMLINKS</literal></term>
1378 <simpara>Don't follow symlinks.</simpara>
1384 <refsect2 id="gio-file-type-constants">
1385 <title id="gio-file-type-constants-title">Gio File Type Constants</title>
1388 Indicates the file's on-disk type.
1393 <term><literal>gio.FILE_TYPE_DIRECTORY</literal></term>
1395 <simpara>File handle represents a directory.</simpara>
1399 <term><literal>gio.FILE_TYPE_MOUNTABLE</literal></term>
1401 <simpara>File is a mountable location.</simpara>
1405 <term><literal>gio.FILE_TYPE_REGULAR</literal></term>
1407 <simpara>File handle represents a regular file.</simpara>
1411 <term><literal>gio.FILE_TYPE_SHORTCUT</literal></term>
1413 <simpara>File is a shortcut (Windows systems).</simpara>
1417 <term><literal>gio.FILE_TYPE_SPECIAL</literal></term>
1419 <simpara>File is a "special" file, such as a socket, fifo, block device, or character device.</simpara>
1423 <term><literal>gio.FILE_TYPE_SYMBOLIC_LINK</literal></term>
1425 <simpara>File handle represents a symbolic link (Unix systems).</simpara>
1429 <term><literal>gio.FILE_TYPE_UNKNOWN</literal></term>
1431 <simpara>File's type is unknown.</simpara>
1437 <refsect2 id="gio-mount-mount-flags-constants">
1438 <title id="gio-mount-mount-flags-constants-title">Gio Mount Mount Flags Constants</title>
1441 Flags used when mounting a mount.
1446 <term><literal>gio.MOUNT_MOUNT_NONE</literal></term>
1448 <simpara>No flags set.</simpara>
1454 <refsect2 id="gio-mount-unmount-flags-constants">
1455 <title id="gio-mount-unmount-flags-constants-title">Gio Mount Unmount Flags Constants</title>
1458 Flags used when unmounting a mount.
1463 <term><literal>gio.MOUNT_UNMOUNT_NONE</literal></term>
1465 <simpara>No flags set.</simpara>
1469 <term><literal>gio.MOUNT_UNMOUNT_FORCE</literal></term>
1471 <simpara>Unmount even if there are outstanding file operations on the mount.</simpara>
1477 <refsect2 id="gio-mount-operation-result-constants">
1478 <title id="gio-mount-operation-result-constants-title">Gio Mount Operation Result Constants</title>
1481 returned as a result when a request for information is send by the mounting operation.
1486 <term><literal>gio.MOUNT_OPERATION_HANDLED</literal></term>
1488 <simpara>The request was fulfilled and the user specified data is now available.</simpara>
1492 <term><literal>gio.MOUNT_OPERATION_ABORTED</literal></term>
1494 <simpara>The user requested the mount operation to be aborted.</simpara>
1498 <term><literal>gio.MOUNT_OPERATION_UNHANDLED</literal></term>
1500 <simpara>The request was unhandled (i.e. not implemented).</simpara>
1506 <refsect2 id="gio-password-save-constants">
1507 <title id="gio-password-save-constants-title">Gio Password Save Constants</title>
1510 is used to indicate the lifespan of a saved password.
1513 Gvfs stores passwords in the Gnome keyring when this flag allows it to,
1514 and later retrieves it again from there.
1519 <term><literal>gio.PASSWORD_SAVE_FOR_SESSION</literal></term>
1521 <simpara>save a password for the session.</simpara>
1525 <term><literal>gio.PASSWORD_SAVE_NEVER</literal></term>
1527 <simpara>never save a password.</simpara>
1531 <term><literal>gio.PASSWORD_SAVE_PERMANENTLY</literal></term>
1533 <simpara>save a password permanently.</simpara>