|
glibmm 2.66.8
|
File and directory handling. More...
#include <giomm/file.h>

Public Types | |
| using | SlotFileProgress = sigc::slot<void, goffset, goffset> |
| A signal handler would be, for instance: void on_file_progress(goffset current_num_bytes, goffset total_num_bytes);. | |
| using | SlotFileMeasureProgress = sigc::slot<void, bool, guint64, guint64, guint64> |
| This slot type is used by measure_disk_usage() to make periodic progress reports when measuring the amount of disk spaced used by a directory. | |
| using | SlotReadMore = sigc::slot<bool, const char*, goffset> |
| A signal handler would be, for instance: bool on_read_more(const char* file_contents, goffset file_size);. | |
| Public Types inherited from sigc::trackable | |
| typedef internal::func_destroy_notify | func_destroy_notify |
Public Member Functions | |
| File (File && src) noexcept | |
| File & | operator= (File && src) noexcept |
| ~File () noexcept override | |
| GFile * | gobj () |
| Provides access to the underlying C GObject. | |
| const GFile * | gobj () const |
| Provides access to the underlying C GObject. | |
| Glib::RefPtr< File > | dup () const |
| Duplicates a File handle. | |
| guint | hash () const |
| Creates a hash value for a File. | |
| bool | equal (const Glib::RefPtr< const File > & other) const |
| Checks equality of two given Files. | |
| std::string | get_basename () const |
| Gets the base name (the last component of the path) for a given File. | |
| std::string | get_path () const |
| Gets the local pathname for File, if one exists. | |
| std::string | get_uri () const |
| Gets the URI for the file. | |
| Glib::ustring | get_parse_name () const |
| Gets the parse name of the file. | |
| Glib::RefPtr< File > | get_parent () const |
| Gets the parent directory for the file. | |
| bool | has_parent (const Glib::RefPtr< File > & parent) const |
| Checks if file has a parent, and optionally, if it is parent. | |
| bool | has_parent () const |
| Checks if the file has any parent at all. | |
| Glib::RefPtr< File > | get_child (const std::string & name) const |
| Gets a child of file with basename equal to name. | |
| Glib::RefPtr< File > | get_child_for_display_name (const Glib::ustring & display_name) const |
| Gets the child of file for a given display_name (i.e. a UTF-8 version of the name). | |
| bool | has_prefix (const Glib::RefPtr< const File > & prefix) const |
| Checks whether file has the prefix specified by prefix. | |
| std::string | get_relative_path (const Glib::RefPtr< const File > & descendant) const |
| Gets the path for descendant relative to parent. | |
| Glib::RefPtr< File > | resolve_relative_path (const std::string & relative_path) const |
| Resolves a relative path for file to an absolute path. | |
| bool | is_native () const |
| Checks to see if a file is native to the platform. | |
| bool | has_uri_scheme (const std::string & uri_scheme) const |
| Checks to see if a File has a given URI scheme. | |
| std::string | get_uri_scheme () const |
| Gets the URI scheme for a File. | |
| Glib::RefPtr< FileInputStream > | read (const Glib::RefPtr< Cancellable > & cancellable) |
| Opens a file for reading. | |
| Glib::RefPtr< FileInputStream > | read () |
| A read() convenience overload. | |
| void | read_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously opens the file for reading. | |
| void | read_async (const SlotAsyncReady & slot, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously opens the file for reading. | |
| Glib::RefPtr< FileInputStream > | read_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file read operation started with g_file_read_async(). | |
| Glib::RefPtr< FileOutputStream > | append_to (const Glib::RefPtr< Cancellable > & cancellable, FileCreateFlags flags=FILE_CREATE_NONE) |
| Gets an output stream for appending data to the file. | |
| Glib::RefPtr< FileOutputStream > | append_to (FileCreateFlags flags=FILE_CREATE_NONE) |
| Gets an output stream for appending data to the file. | |
| Glib::RefPtr< FileOutputStream > | create_file (const Glib::RefPtr< Cancellable > & cancellable, FileCreateFlags flags=FILE_CREATE_NONE) |
| Creates a new file and returns an output stream for writing to it. | |
| Glib::RefPtr< FileOutputStream > | create_file (FileCreateFlags flags=FILE_CREATE_NONE) |
| Creates a new file and returns an output stream for writing to it. | |
| Glib::RefPtr< FileIOStream > | create_file_readwrite (const Glib::RefPtr< Cancellable > & cancellable, FileCreateFlags flags=FILE_CREATE_NONE) |
| Creates a new file and returns a stream for reading and writing to it. | |
| Glib::RefPtr< FileIOStream > | create_file_readwrite (FileCreateFlags flags=FILE_CREATE_NONE) |
| Creates a new file and returns a stream for reading and writing to it. | |
| Glib::RefPtr< FileOutputStream > | replace (const Glib::RefPtr< Cancellable > & cancellable, const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE) |
| Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. | |
| Glib::RefPtr< FileOutputStream > | replace (const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE) |
| Returns an output stream for overwriting the file, possibly creating a backup copy of the file first. | |
| void | append_to_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously opens the file for appending. | |
| void | append_to_async (const SlotAsyncReady & slot, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously opens the file for appending. | |
| Glib::RefPtr< FileOutputStream > | append_to_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file append operation started with g_file_append_to_async(). | |
| void | create_file_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously creates a new file and returns an output stream for writing to it. | |
| void | create_file_async (const SlotAsyncReady & slot, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously creates a new file and returns an output stream for writing to it. | |
| Glib::RefPtr< FileOutputStream > | create_file_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file create operation started with g_file_create_async(). | |
| void | create_file_readwrite_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously creates a new file and returns a stream for reading and writing to it. | |
| void | create_file_readwrite_async (const SlotAsyncReady & slot, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously creates a new file and returns a stream for reading and writing to it. | |
| Glib::RefPtr< FileIOStream > | create_file_readwrite_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file create operation started with g_file_create_readwrite_async(). | |
| void | replace_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asyncronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first. | |
| void | replace_async (const SlotAsyncReady & slot, const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asyncronously overwrites the file, replacing the contents, possibly creating a backup copy of the file first. | |
| Glib::RefPtr< FileOutputStream > | replace_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file replace operation started with g_file_replace_async(). | |
| Glib::RefPtr< FileIOStream > | open_readwrite (const Glib::RefPtr< Cancellable > & cancellable) |
| Opens an existing file for reading and writing. | |
| Glib::RefPtr< FileIOStream > | open_readwrite () |
| A open_readwrite() convenience overload. | |
| void | open_readwrite_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Opens an existing file for reading and writing. | |
| void | open_readwrite_async (const SlotAsyncReady & slot, int io_priority=Glib::PRIORITY_DEFAULT) |
| Opens an existing file for reading and writing. | |
| Glib::RefPtr< FileIOStream > | open_readwrite_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file read operation started with g_file_open_readwrite_async(). | |
| Glib::RefPtr< FileIOStream > | replace_readwrite (const Glib::RefPtr< Cancellable > & cancellable, const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE) |
| Returns an output stream for overwriting the file in readwrite mode, possibly creating a backup copy of the file first. | |
| Glib::RefPtr< FileIOStream > | replace_readwrite (const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE) |
| Returns an output stream for overwriting the file in readwrite mode, possibly creating a backup copy of the file first. | |
| void | replace_readwrite_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asyncronously overwrites the file in read-write mode, replacing the contents, possibly creating a backup copy of the file first. | |
| void | replace_readwrite_async (const SlotAsyncReady & slot, const std::string & etag=std::string(), bool make_backup=false, FileCreateFlags flags=FILE_CREATE_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asyncronously overwrites the file in read-write mode, replacing the contents, possibly creating a backup copy of the file first. | |
| Glib::RefPtr< FileIOStream > | replace_readwrite_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file replace operation started with g_file_replace_readwrite_async(). | |
| Glib::RefPtr< FileInfo > | query_info (const Glib::RefPtr< Cancellable > & cancellable, const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) const |
| Gets the requested information about the file. | |
| Glib::RefPtr< FileInfo > | query_info (const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) const |
| Gets the requested information about the file. | |
| bool | query_exists (const Glib::RefPtr< Cancellable > & cancellable) const |
| Utility function to check if a particular file exists. | |
| bool | query_exists () const |
| A query_exists() convenience overload. | |
| FileType | query_file_type (FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) const |
| Utility function to inspect the FileType of a file. | |
| FileType | query_file_type (FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) const |
| Utility function to inspect the FileType of a file. | |
| void | query_info_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE, int io_priority=Glib::PRIORITY_DEFAULT) const |
| Asynchronously gets the requested information about specified file. | |
| void | query_info_async (const SlotAsyncReady & slot, const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE, int io_priority=Glib::PRIORITY_DEFAULT) const |
| Asynchronously gets the requested information about specified file. | |
| Glib::RefPtr< FileInfo > | query_info_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous file info query. | |
| Glib::RefPtr< FileInfo > | query_filesystem_info (const Glib::RefPtr< Cancellable > & cancellable, const std::string & attributes="*") |
| Similar to query_info(), but obtains information about the filesystem the file is on, rather than the file itself. | |
| Glib::RefPtr< FileInfo > | query_filesystem_info (const std::string & attributes="*") |
| Similar to query_info(), but obtains information about the filesystem the file is on, rather than the file itself. | |
| Glib::RefPtr< Mount > | find_enclosing_mount (const Glib::RefPtr< Cancellable > & cancellable) |
| Gets a Mount for the File. | |
| Glib::RefPtr< Mount > | find_enclosing_mount () |
| A find_enclosing_mount() convenience overload. | |
| void | query_filesystem_info_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, const std::string & attributes="*", int io_priority=Glib::PRIORITY_DEFAULT) const |
| Asynchronously gets the requested information about the filesystem that the file is on. | |
| void | query_filesystem_info_async (const SlotAsyncReady & slot, const std::string & attributes="*", int io_priority=Glib::PRIORITY_DEFAULT) const |
| Asynchronously gets the requested information about the filesystem that the file is on. | |
| Glib::RefPtr< FileInfo > | query_filesystem_info_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous filesystem info query. | |
| void | find_enclosing_mount_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously gets the mount for the file. | |
| void | find_enclosing_mount_async (const SlotAsyncReady & slot, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously gets the mount for the file. | |
| Glib::RefPtr< Mount > | find_enclosing_mount_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an asynchronous find mount request. | |
| Glib::RefPtr< FileEnumerator > | enumerate_children (const Glib::RefPtr< Cancellable > & cancellable, const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) |
| Gets the requested information about the files in a directory. | |
| Glib::RefPtr< FileEnumerator > | enumerate_children (const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) |
| Gets the requested information about the files in a directory. | |
| void | enumerate_children_async (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously gets the requested information about the files in a directory. | |
| void | enumerate_children_async (const SlotAsyncReady & slot, const std::string & attributes="*", FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously gets the requested information about the files in a directory. | |
| Glib::RefPtr< FileEnumerator > | enumerate_children_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes an async enumerate children operation. | |
| Glib::RefPtr< File > | set_display_name (const Glib::ustring & display_name, const Glib::RefPtr< Cancellable > & cancellable) |
| Renames file to the specified display name. | |
| Glib::RefPtr< File > | set_display_name (const Glib::ustring & display_name) |
| A set_display_name() convenience overload. | |
| void | set_display_name_async (const Glib::ustring & display_name, const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously sets the display name for a given Gio::File. | |
| void | set_display_name_async (const Glib::ustring & display_name, const SlotAsyncReady & slot, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously sets the display name for a given Gio::File. | |
| Glib::RefPtr< File > | set_display_name_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes setting a display name started with g_file_set_display_name_async(). | |
| bool | remove (const Glib::RefPtr< Cancellable > & cancellable) |
| Deletes a file. | |
| bool | remove () |
| A remove() convenience overload. | |
| void | remove_async (const SlotAsyncReady & slot_ready, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously delete a file. | |
| void | remove_async (const SlotAsyncReady & slot_ready, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously delete a file. | |
| bool | remove_finish (const Glib::RefPtr< AsyncResult > & result) |
| Finishes deleting a file started with g_file_delete_async(). | |
| bool | trash (const Glib::RefPtr< Cancellable > & cancellable) |
| Sends file to the "Trashcan", if possible. | |
| bool | trash () |
| A trash() convenience overload. | |
| void | trash_async (const SlotAsyncReady & slot_ready, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously sends the file to the Trash location, if possible. | |
| void | trash_async (const SlotAsyncReady & slot_ready, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously sends the file to the Trash location, if possible. | |
| bool | trash_finish (const Glib::RefPtr< AsyncResult > & result) |
| Finishes an asynchronous file trashing operation, started with g_file_trash_async(). | |
| bool | copy (const Glib::RefPtr< File > & destination, const SlotFileProgress & slot, const Glib::RefPtr< Cancellable > & cancellable, FileCopyFlags flags=FILE_COPY_NONE) |
| Copies the file source to the location specified by destination. | |
| bool | copy (const Glib::RefPtr< File > & destination, const SlotFileProgress & slot, FileCopyFlags flags=FILE_COPY_NONE) |
| Copies the file source to the location specified by destination. | |
| bool | copy (const Glib::RefPtr< File > & destination, FileCopyFlags flags=FILE_COPY_NONE) |
| Copies the file source to the location specified by destination. | |
| void | copy_async (const Glib::RefPtr< File > & destination, const SlotFileProgress & slot_progress, const SlotAsyncReady & slot_ready, const Glib::RefPtr< Cancellable > & cancellable, FileCopyFlags flags=FILE_COPY_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Copies the file to the location specified by destination asynchronously. | |
| void | copy_async (const Glib::RefPtr< File > & destination, const SlotAsyncReady & slot_ready, const Glib::RefPtr< Cancellable > & cancellable, FileCopyFlags flags=FILE_COPY_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Copies the file to the location specified by destination asynchronously. | |
| void | copy_async (const Glib::RefPtr< File > & destination, const SlotFileProgress & slot_progress, const SlotAsyncReady & slot_ready, FileCopyFlags flags=FILE_COPY_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Copies the file to the location specified by destination asynchronously. | |
| void | copy_async (const Glib::RefPtr< File > & destination, const SlotAsyncReady & slot_ready, FileCopyFlags flags=FILE_COPY_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Copies the file to the location specified by destination asynchronously. | |
| bool | copy_finish (const Glib::RefPtr< AsyncResult > & res) |
| Finishes copying the file started with g_file_copy_async(). | |
| bool | move (const Glib::RefPtr< File > & destination, const SlotFileProgress & slot, const Glib::RefPtr< Cancellable > & cancellable, FileCopyFlags flags=FILE_COPY_NONE) |
| Tries to move the file or directory source to the location specified by destination. | |
| bool | move (const Glib::RefPtr< File > & destination, const SlotFileProgress & slot, FileCopyFlags flags=FILE_COPY_NONE) |
| bool | move (const Glib::RefPtr< File > & destination, FileCopyFlags flags=FILE_COPY_NONE) |
| bool | make_directory (const Glib::RefPtr< Cancellable > & cancellable) |
| Creates a directory. | |
| bool | make_directory () |
| A make_directory() convenience overload. | |
| void | make_directory_async (const SlotAsyncReady & slot_ready, const Glib::RefPtr< Cancellable > & cancellable, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously creates a directory. | |
| void | make_directory_async (const SlotAsyncReady & slot_ready, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously creates a directory. | |
| bool | make_directory_finish (const Glib::RefPtr< AsyncResult > & result) |
| Finishes an asynchronous directory creation, started with g_file_make_directory_async(). | |
| bool | make_directory_with_parents (const Glib::RefPtr< Cancellable > & cancellable) |
| Creates a directory and any parent directories that may not exist similar to 'mkdir -p'. | |
| bool | make_directory_with_parents () |
| A make_directory_with_parents() convenience overload. | |
| bool | make_symbolic_link (const std::string & symlink_value, const Glib::RefPtr< Cancellable > & cancellable) |
| Creates a symbolic link. | |
| bool | make_symbolic_link (const std::string & symlink_value) |
| A make_symbolic_link() convenience overload. | |
| Glib::RefPtr< FileAttributeInfoList > | query_settable_attributes (const Glib::RefPtr< Cancellable > & cancellable) |
| Obtain the list of settable attributes for the file. | |
| Glib::RefPtr< FileAttributeInfoList > | query_settable_attributes () |
| A query_settable_attributes() convenience overload. | |
| Glib::RefPtr< FileAttributeInfoList > | query_writable_namespaces (const Glib::RefPtr< Cancellable > & cancellable) |
| Obtain the list of attribute namespaces where new attributes can be created by a user. | |
| Glib::RefPtr< FileAttributeInfoList > | query_writable_namespaces () |
| A query_writable_namespaces() convenience overload. | |
| bool | set_attributes_from_info (const Glib::RefPtr< FileInfo > & info, const Glib::RefPtr< Cancellable > & cancellable, FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) |
| Tries to set all attributes in the FileInfo on the target values, not stopping on the first error. | |
| bool | set_attributes_from_info (const Glib::RefPtr< FileInfo > & info, FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE) |
| Tries to set all attributes in the FileInfo on the target values, not stopping on the first error. | |
| void | set_attributes_async (const Glib::RefPtr< FileInfo > & info, const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously sets the attributes of file with info. | |
| void | set_attributes_async (const Glib::RefPtr< FileInfo > & info, const SlotAsyncReady & slot, FileQueryInfoFlags flags=FILE_QUERY_INFO_NONE, int io_priority=Glib::PRIORITY_DEFAULT) |
| Asynchronously sets the attributes of file with info. | |
| bool | set_attributes_finish (const Glib::RefPtr< AsyncResult > & result, const Glib::RefPtr< FileInfo > & info) |
| bool | set_attribute_string (const std::string & attribute, const std::string & value, FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) |
| Sets attribute of type G_FILE_ATTRIBUTE_TYPE_STRING to value. | |
| bool | set_attribute_string (const std::string & attribute, const std::string & value, FileQueryInfoFlags flags) |
| A set_attribute_string() convenience overload. | |
| bool | set_attribute_byte_string (const std::string & attribute, const std::string & value, FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) |
| Sets attribute of type G_FILE_ATTRIBUTE_TYPE_BYTE_STRING to value. | |
| bool | set_attribute_byte_string (const std::string & attribute, const std::string & value, FileQueryInfoFlags flags) |
| A set_attribute_byte_string() convenience overload. | |
| bool | set_attribute_uint32 (const std::string & attribute, guint32 value, FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) |
| Sets attribute of type G_FILE_ATTRIBUTE_TYPE_UINT32 to value. | |
| bool | set_attribute_uint32 (const std::string & attribute, guint32 value, FileQueryInfoFlags flags) |
| A set_attribute_uint32() convenience overload. | |
| bool | set_attribute_int32 (const std::string & attribute, gint32 value, FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) |
| Sets attribute of type G_FILE_ATTRIBUTE_TYPE_INT32 to value. | |
| bool | set_attribute_int32 (const std::string & attribute, gint32 value, FileQueryInfoFlags flags) |
| A set_attribute_int32() convenience overload. | |
| bool | set_attribute_uint64 (const std::string & attribute, guint64 value, FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) |
| Sets attribute of type G_FILE_ATTRIBUTE_TYPE_UINT64 to value. | |
| bool | set_attribute_uint64 (const std::string & attribute, guint64 value, FileQueryInfoFlags flags) |
| A set_attribute_uint64() convenience overload. | |
| bool | set_attribute_int64 (const std::string & attribute, gint64 value, FileQueryInfoFlags flags, const Glib::RefPtr< Cancellable > & cancellable) |
| Sets attribute of type G_FILE_ATTRIBUTE_TYPE_INT64 to value. | |
| bool | set_attribute_int64 (const std::string & attribute, gint64 value, FileQueryInfoFlags flags) |
| A set_attribute_int64() convenience overload. | |
| void | mount_enclosing_volume (const Glib::RefPtr< MountOperation > & mount_operation, const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Starts a mount_operation, mounting the volume that contains the file. | |
| void | mount_enclosing_volume (const Glib::RefPtr< MountOperation > & mount_operation, const SlotAsyncReady & slot, MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Starts a mount_operation, mounting the volume that contains the file. | |
| void | mount_enclosing_volume (const SlotAsyncReady & slot, MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Starts a mount_operation, mounting the volume that contains the file. | |
| void | mount_enclosing_volume (MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Starts a mount_operation, mounting the volume that contains the file. | |
| bool | mount_enclosing_volume_finish (const Glib::RefPtr< AsyncResult > & result) |
| Finishes a mount operation started by g_file_mount_enclosing_volume(). | |
| void | mount_mountable (const Glib::RefPtr< MountOperation > & mount_operation, const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Mounts a file of type FILE_TYPE_MOUNTABLE. | |
| void | mount_mountable (const Glib::RefPtr< MountOperation > & mount_operation, const SlotAsyncReady & slot, MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Mounts a file of type FILE_TYPE_MOUNTABLE. | |
| void | mount_mountable (const SlotAsyncReady & slot, MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Mounts a file of type FILE_TYPE_MOUNTABLE without user interaction. | |
| void | mount_mountable (MountMountFlags flags=MOUNT_MOUNT_NONE) |
| Mounts a file of type FILE_TYPE_MOUNTABLE without user interaction. | |
| Glib::RefPtr< File > | mount_mountable_finish (const Glib::RefPtr< AsyncResult > & result) |
| Finishes a mount operation. | |
| void | unmount_mountable (const SlotAsyncReady & slot, const Glib::RefPtr< Cancellable > & cancellable, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE) |
| Unmounts a file of type FILE_TYPE_MOUNTABLE. | |
| void | unmount_mountable (const SlotAsyncReady & slot, MountUnmountFlags flags=MOUNT_UNMOUNT_NONE) |
| Unmounts a file of type FILE_TYPE_MOUNTABLE. | |
| void | unmount_mountable (MountUnmountFlags flags=MOUNT_UNMOUNT_NONE) |
| Unmounts a file of type FILE_TYPE_MOUNTABLE. | |
| void | unmount_mountable (const SlotAsyncReady & slot, const |