Gio Namespace Reference

## Namespaces

namespace | DBus

## Classes

class | Action
| Action - An action. More...
class | ActionGroup
| ActionGroup - a group of actions. More...
class | ActionMap
| ActionMap - Interface for action containers. More...
class | AppLaunchContext
| This is used to handle, for instance, startup notification and launching of the new application on the same screen as the launching window. More...
class | AppInfo
| Application information, to describe applications installed on the system, and launch them. More...
class | Application
| Application - Core application class. More...
class | ApplicationCommandLine
| ApplicationCommandLine - A command-line invocation of an application. More...
class | AsyncInitable
| AsyncInitable - Asynchronously failable object initialization interface. More...
class | AsyncResult
| Provides a base class for implementing asynchronous function results. More...
class | BufferedInputStream
| The buffered input stream implements FilterInputStream and provides for buffered reads. More...
class | BufferedOutputStream
| The buffered output stream implements FilterOutputStream and provides for buffered writes. More...
class | Cancellable
| Allows actions to be cancelled. More...
class | CharsetConverter
| CharsetConverter - Convert between charsets. More...
class | Converter
| Converter - Data conversion interface. More...
class | ConverterInputStream
| ConverterInputstream - Converter Input Stream. More...
class | ConverterOutputStream
| ConverterOutputstream - Converter Output Stream. More...
class | Credentials
| An object containing credentials. More...
class | DataInputStream
| An implementation of BufferedInputStream that allows for high-level data manipulation of arbitrary data (including binary operations). More...
class | DataOutputStream
| An implementation of BufferedOutputStream that allows for high-level data manipulation of arbitrary data (including binary operations). More...
class | Drive
| Virtual File System drive management. More...
class | Emblem
| An object for emblems. More...
class | EmblemedIcon
| Icons with Emblems. More...
class | Error
| Exception class for giomm errors. More...
class | ResolverError
class | File
| File and directory handling. More...
class | FileAttributeInfo
| Information about a specific attribute - see FileAttributeInfoList. More...
class | FileAttributeInfoList
| Key-Value paired file attributes. More...
class | FileEnumerator
| Enumerated Files Routines. More...
class | FileIcon
| FileIcon specifies an icon by pointing to an image file to be used as icon. More...
class | FileAttributeMatcher
| FileAttributeMatcher allows for searching through a FileInfo for attributes. More...
class | FileInfo
| FileInfo implements methods for getting information that all files should contain, and allows for manipulation of extended attributes. More...
class | FileInputStream
| FileInputStream provides input streams that take their content from a file. More...
class | FileIOStream
| FileIOStream provides input streams that take their content from a file. More...
class | FileMonitor
| Monitors a file or directory for changes. More...
class | FilenameCompleter
| Completes partial file and directory names given a partial string by looking in the file system for clues. More...
class | FileOutputStream
| FileOutputStream provides output streams that write their content to a file. More...
class | FilterInputStream
| Filter Input Stream. More...
class | FilterOutputStream
| Filter Output Stream. More...
class | Icon
| This is a very minimal interface for icons. More...
class | InetAddress
| An IPv4/IPv6 address. More...
class | InetSocketAddress
| Internet SocketAddress. More...
class | Initable
| Failable object initialization interface. More...
class | InputStream
| Base class for implementing streaming input. More...
class | IOStream
| IOStream - Base class for implementing read/write streams. More...
class | LoadableIcon
| Extends the Icon interface and adds the ability to load icons from streams. More...
class | MemoryInputStream
| MemoryInputStream implements InputStream for arbitrary memory chunks. More...
class | MemoryOutputStream
| Streaming output operations on memory chunks. More...
class | MenuAttributeIter
| MenuAttributeIter - A menu attribute iterator. More...
class | MenuLinkIter
| MenuLinkIter - A menu link iterator. More...
class | Menu
| A simple implementation of GMenuModel. More...
class | MenuItem
| A menu item for use with Gio::Menu. More...
class | MenuModel
| MenuModel - An abstract class representing the contents of a menu. More...
class | Mount
| The Mount interface represents user-visible mounts. More...
class | MountOperation
| Authentication methods for mountable locations. More...
class | NetworkAddress
| A SocketConnectable for resolving hostnames. More...
class | NetworkService
| A GSocketConnectable for resolving SRV records. More...
class | OutputStream
| Base class for implementing streaming output. More...
class | PollableInputStream
| PollableInputStream - Interface for pollable input streams. More...
class | PollableOutputStream
| PollableOutputStream - Interface for pollable output streams. More...
class | Proxy
| Proxy - Interface for proxy handling. More...
class | ProxyAddress
| ProxyAddress - An internet address with proxy information. More...
class | ProxyResolver
| ProxyResolver - Asynchronous and cancellable network proxy resolver. More...
class | RemoteActionGroup
| RemoteActionGroup - a ActionGroup that interacts with other processes. More...
class | Resolver
| Asynchronous and cancellable DNS resolver. More...
class | ResourceError
| Exception class for resource file handling errors. More...
class | Seekable
| Stream seeking interface. More...
class | Settings
| A high-level API for application settings. More...
class | SimpleAction
| SimpleAction - A simple Action implementation. More...
class | SimpleActionGroup
| SimpleActionGroup - A simple ActionGroup implementation. More...
class | Socket
| Low-level socket object. More...
class | SocketAddress
| Abstract base class representing endpoints for socket communication. More...
class | SocketAddressEnumerator
| Enumerator type for objects that contain or generate SocketAddresses. More...
class | SocketClient
| Helper for connecting to a network service. More...
class | SocketConnectable
| Interface for potential socket endpoints. More...
class | SocketConnection
| A socket connection. More...
class | SocketControlMessage
| SocketControlMessage - A Socket control message. More...
class | SocketListener
| Helper for accepting network client connections. More...
class | SocketService
| Make it easy to implement a network service. More...
class | SrvTarget
| DNS SRV record target. More...
class | TcpConnection
| A TCP SocketConnection. More...
class | ThreadedSocketService
| A threaded GSocketService. More...
class | ThemedIcon
| Icon theming support ThemedIcon is an implementation of Gio::Icon that supports icon themes. More...
class | Volume
| The Volume interface represents user-visible objects that can be mounted. More...
class | VolumeMonitor
| Monitors a file or directory for changes. More...
class | ZlibDecompressor
| ZlibDecompressor - Zlib decompressor. More...
class | ZlibCompressor
| ZlibCompressor - Zlib compressor. More...
class | DesktopAppInfo
| DesktopAppInfo is an implementation of AppInfo based on desktop files. More...
class | UnixConnection
| A Unix domain SocketConnection. More...
class | UnixCredentialsMessage
| UnixCredentialsMessage - A SocketControlMessage containing credentials. More...
class | UnixFDList
| UnixFDList - An object containing a set of UNIX file descriptors. More...
class | UnixFDMessage
| UnixFDMessage — A GSocketControlMessage containing a GUnixFDList. More...
class | UnixInputStream
| UnixInputStream implements InputStream for reading from a unix file descriptor, including asynchronous operations. More...
class | UnixOutputStream
| UnixOutputStream implements OutputStream for writing to a a unix file descriptor, including asynchronous operations. More...
class | UnixSocketAddress
| UnixSocketAddress - UNIX SocketAddress. More...

## Typedefs

typedef sigc::slot< void, Glib::RefPtr< AsyncResult >& > | SlotAsyncReady
| A function that will be called when an asynchronous operation within GIO has been completed. More...
typedef Glib::ListHandle < Gio::SrvTarget, SrvTargetListTraits > | ListHandle_SrvTarget

## Enumerations

enum | AppInfoCreateFlags { APP_INFO_CREATE_NONE = 0x0, APP_INFO_CREATE_NEEDS_TERMINAL = (1 << 0), APP_INFO_CREATE_SUPPORTS_URIS = (1 << 1), APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION = (1 << 2) }
| Flags used when creating a AppInfo. More...
enum | ApplicationFlags { APPLICATION_FLAGS_NONE = 0x0, APPLICATION_IS_SERVICE = (1 << 0), APPLICATION_IS_LAUNCHER = (1 << 1), APPLICATION_HANDLES_OPEN = (1 << 2), APPLICATION_HANDLES_COMMAND_LINE = (1 << 3), APPLICATION_SEND_ENVIRONMENT = (1 << 4), APPLICATION_NON_UNIQUE = (1 << 5) }
| Flags used to define the behaviour of a Application. More...
enum | ConverterResult { CONVERTER_ERROR, CONVERTER_CONVERTED, CONVERTER_FINISHED, CONVERTER_FLUSHED }
| Results returned from g_converter_convert(). More...
enum | ConverterFlags { CONVERTER_NO_FLAGS = 0x0, CONVERTER_INPUT_AT_END = (1 << 0), CONVERTER_FLUSH = (1 << 1) }
| Flags used when calling a g_converter_convert(). More...
enum | CredentialsType { CREDENTIALS_TYPE_INVALID, CREDENTIALS_TYPE_LINUX_UCRED, CREDENTIALS_TYPE_FREEBSD_CMSGCRED, CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED }
| Enumeration describing different kinds of native credential types. More...
enum | DriveStartFlags { DRIVE_START_NONE = 0x0 }
| Flags used when starting a drive. More...
enum | DriveStartStopType { DRIVE_START_STOP_TYPE_UNKNOWN, DRIVE_START_STOP_TYPE_SHUTDOWN, DRIVE_START_STOP_TYPE_NETWORK, DRIVE_START_STOP_TYPE_MULTIDISK, DRIVE_START_STOP_TYPE_PASSWORD }
| Enumeration describing how a drive can be started/stopped. More...
enum | EmblemOrigin { EMBLEM_ORIGIN_UNKNOWN, EMBLEM_ORIGIN_DEVICE, EMBLEM_ORIGIN_LIVEMETADATA, EMBLEM_ORIGIN_TAG }
| GEmblemOrigin is used to add information about the origin of the emblem to Emblem. More...
enum | DataStreamByteOrder { DATA_STREAM_BYTE_ORDER_BIG_ENDIAN, DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN, DATA_STREAM_BYTE_ORDER_HOST_ENDIAN }
| DataStreamByteOrder is used to ensure proper endianness of streaming data sources across various machine architectures. More...
enum | DataStreamNewlineType { DATA_STREAM_NEWLINE_TYPE_LF, DATA_STREAM_NEWLINE_TYPE_CR, DATA_STREAM_NEWLINE_TYPE_CR_LF, DATA_STREAM_NEWLINE_TYPE_ANY }
| DataStreamNewlineType is used when checking for or setting the line endings for a given file. More...

enum

ErrorEnum {
IO_ERROR_FAILED,
IO_ERROR_NOT_FOUND,
IO_ERROR_EXISTS,
IO_ERROR_IS_DIRECTORY,
IO_ERROR_NOT_DIRECTORY,
IO_ERROR_NOT_EMPTY,
IO_ERROR_NOT_REGULAR_FILE,
IO_ERROR_NOT_SYMBOLIC_LINK,
IO_ERROR_NOT_MOUNTABLE_FILE,
IO_ERROR_FILENAME_TOO_LONG,
IO_ERROR_INVALID_FILENAME,
IO_ERROR_TOO_MANY_LINKS,
IO_ERROR_NO_SPACE,
IO_ERROR_INVALID_ARGUMENT,
IO_ERROR_PERMISSION_DENIED,
IO_ERROR_NOT_SUPPORTED,
IO_ERROR_NOT_MOUNTED,
IO_ERROR_ALREADY_MOUNTED,
IO_ERROR_CLOSED,
IO_ERROR_CANCELLED,
IO_ERROR_PENDING,
IO_ERROR_READ_ONLY,
IO_ERROR_CANT_CREATE_BACKUP,
IO_ERROR_WRONG_ETAG,
IO_ERROR_TIMED_OUT,
IO_ERROR_WOULD_RECURSE,
IO_ERROR_BUSY,
IO_ERROR_WOULD_BLOCK,
IO_ERROR_HOST_NOT_FOUND,
IO_ERROR_HOST_WAS_NOT_FOUND = IO_ERROR_HOST_NOT_FOUND,
IO_ERROR_WOULD_MERGE,
IO_ERROR_FAILED_HANDLED,
IO_ERROR_TOO_MANY_OPEN_FILES,
IO_ERROR_NOT_INITIALIZED,
IO_ERROR_ADDRESS_IN_USE,
IO_ERROR_PARTIAL_INPUT,
IO_ERROR_INVALID_DATA,
IO_ERROR_DBUS_ERROR,
IO_ERROR_HOST_UNREACHABLE,
IO_ERROR_NETWORK_UNREACHABLE,
IO_ERROR_CONNECTION_REFUSED,
IO_ERROR_PROXY_FAILED,
IO_ERROR_PROXY_AUTH_FAILED,
IO_ERROR_PROXY_NEED_AUTH,
IO_ERROR_PROXY_NOT_ALLOWED,
IO_ERROR_BROKEN_PIPE
}

| Error codes returned by GIO functions. More...
enum | SocketFamily { SOCKET_FAMILY_INVALID = 0, SOCKET_FAMILY_UNIX = GLIB_SYSDEF_AF_UNIX, SOCKET_FAMILY_IPV4 = GLIB_SYSDEF_AF_INET, SOCKET_FAMILY_IPV6 = GLIB_SYSDEF_AF_INET6 }
| The protocol family of a SocketAddress. More...
enum | TlsCertificateFlags { TLS_CERTIFICATE_UNKNOWN_CA = (1 << 0), TLS_CERTIFICATE_BAD_IDENTITY = (1 << 1), TLS_CERTIFICATE_NOT_ACTIVATED = (1 << 2), TLS_CERTIFICATE_EXPIRED = (1 << 3), TLS_CERTIFICATE_REVOKED = (1 << 4), TLS_CERTIFICATE_INSECURE = (1 << 5), TLS_CERTIFICATE_GENERIC_ERROR = (1 << 6), TLS_CERTIFICATE_VALIDATE_ALL = 0x007f }
| A set of flags describing TLS certification validation. More...
enum | FileQueryInfoFlags { FILE_QUERY_INFO_NONE = 0x0, FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = (1 << 0) }
| Flags used when querying a FileInfo. More...
enum | FileCreateFlags { FILE_CREATE_NONE = 0x0, FILE_CREATE_PRIVATE = (1 << 0), FILE_CREATE_REPLACE_DESTINATION = (1 << 1) }
| Flags used when an operation may create a file. More...
enum | FileCopyFlags { FILE_COPY_NONE = 0x0, FILE_COPY_OVERWRITE = (1 << 0), FILE_COPY_BACKUP = (1 << 1), FILE_COPY_NOFOLLOW_SYMLINKS = (1 << 2), FILE_COPY_ALL_METADATA = (1 << 3), FILE_COPY_NO_FALLBACK_FOR_MOVE = (1 << 4), FILE_COPY_TARGET_DEFAULT_PERMS = (1 << 5) }
| Flags used when copying or moving files. More...
enum | FileMonitorFlags { FILE_MONITOR_NONE = 0x0, FILE_MONITOR_WATCH_MOUNTS = (1 << 0), FILE_MONITOR_SEND_MOVED = (1 << 1), FILE_MONITOR_WATCH_HARD_LINKS = (1 << 2) }
| Flags used to set what a FileMonitor will watch for. More...
enum | FileAttributeType { FILE_ATTRIBUTE_TYPE_INVALID, FILE_ATTRIBUTE_TYPE_STRING, FILE_ATTRIBUTE_TYPE_BYTE_STRING, FILE_ATTRIBUTE_TYPE_BOOLEAN, FILE_ATTRIBUTE_TYPE_UINT32, FILE_ATTRIBUTE_TYPE_INT32, FILE_ATTRIBUTE_TYPE_UINT64, FILE_ATTRIBUTE_TYPE_INT64, FILE_ATTRIBUTE_TYPE_OBJECT, FILE_ATTRIBUTE_TYPE_STRINGV }
| The data types for file attributes. More...
enum | FileAttributeInfoFlags { FILE_ATTRIBUTE_INFO_NONE = 0x0, FILE_ATTRIBUTE_INFO_COPY_WITH_FILE = (1 << 0), FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED = (1 << 1) }
| Flags specifying the behaviour of an attribute. More...
enum | FileAttributeStatus { FILE_ATTRIBUTE_STATUS_UNSET, FILE_ATTRIBUTE_STATUS_SET, FILE_ATTRIBUTE_STATUS_ERROR_SETTING }
| Used by g_file_set_attributes_from_info() when setting file attributes. More...
enum | FileType { FILE_TYPE_NOT_KNOWN, FILE_TYPE_REGULAR, FILE_TYPE_DIRECTORY, FILE_TYPE_SYMBOLIC_LINK, FILE_TYPE_SPECIAL, FILE_TYPE_SHORTCUT, FILE_TYPE_MOUNTABLE }
| Indicates the file's on-disk type. More...
enum | FileMonitorEvent { FILE_MONITOR_EVENT_CHANGED, FILE_MONITOR_EVENT_CHANGES_DONE_HINT, FILE_MONITOR_EVENT_DELETED, FILE_MONITOR_EVENT_CREATED, FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED, FILE_MONITOR_EVENT_PRE_UNMOUNT, FILE_MONITOR_EVENT_UNMOUNTED, FILE_MONITOR_EVENT_MOVED }
| Specifies what type of event a monitor event is. More...
enum | IOStreamSpliceFlags { IO_STREAM_SPLICE_NONE = 0x0, IO_STREAM_SPLICE_CLOSE_STREAM1 = (1 << 0), IO_STREAM_SPLICE_CLOSE_STREAM2 = (1 << 1), IO_STREAM_SPLICE_WAIT_FOR_BOTH = (1 << 2) }
| GIOStreamSpliceFlags determine how streams should be spliced. More...
enum | MenuAttribute { MENU_ATTRIBUTE_ACTION, MENU_ATTRIBUTE_LABEL, MENU_ATTRIBUTE_TARGET }
enum | MenuLink { MENU_LINK_SECTION, MENU_LINK_SUBMENU }
enum | MountUnmountFlags { MOUNT_UNMOUNT_NONE = 0x0, MOUNT_UNMOUNT_FORCE = (1 << 0) }
| Flags used when an unmounting a mount. More...
enum | MountMountFlags { MOUNT_MOUNT_NONE = 0x0 }
| Flags used when mounting a mount. More...
enum | AskPasswordFlags { ASK_PASSWORD_NEED_PASSWORD = (1 << 0), ASK_PASSWORD_NEED_USERNAME = (1 << 1), ASK_PASSWORD_NEED_DOMAIN = (1 << 2), ASK_PASSWORD_SAVING_SUPPORTED = (1 << 3), ASK_PASSWORD_ANONYMOUS_SUPPORTED = (1 << 4) }
| AskPasswordFlags are used to request specific information from the user, or to notify the user of their choices in an authentication situation. More...
enum | PasswordSave { PASSWORD_SAVE_NEVER, PASSWORD_SAVE_FOR_SESSION, PASSWORD_SAVE_PERMANENTLY }
| PasswordSave is used to indicate the lifespan of a saved password. More...
enum | MountOperationResult { MOUNT_OPERATION_HANDLED, MOUNT_OPERATION_ABORTED, MOUNT_OPERATION_UNHANDLED }
| MountOperationResult is returned as a result when a request for information is send by the mounting operation. More...
enum | OutputStreamSpliceFlags { OUTPUT_STREAM_SPLICE_NONE = 0x0, OUTPUT_STREAM_SPLICE_CLOSE_SOURCE = (1 << 0), OUTPUT_STREAM_SPLICE_CLOSE_TARGET = (1 << 1) }
| GOutputStreamSpliceFlags determine how streams should be spliced. More...
enum | ResolverRecordType { RESOLVER_RECORD_SRV = 1, RESOLVER_RECORD_MX, RESOLVER_RECORD_TXT, RESOLVER_RECORD_SOA, RESOLVER_RECORD_NS }
| The type of record that g_resolver_lookup_records() or g_resolver_lookup_records_async() should retrieve. More...
enum | SettingsBindFlags { SETTINGS_BIND_DEFAULT = 0x0, SETTINGS_BIND_GET = (1<<0), SETTINGS_BIND_SET = (1<<1), SETTINGS_BIND_NO_SENSITIVITY = (1<<2), SETTINGS_BIND_GET_NO_CHANGES = (1<<3), SETTINGS_BIND_INVERT_BOOLEAN = (1<<4) }
| Flags used when creating a binding. More...
enum | SocketType { SOCKET_TYPE_INVALID, SOCKET_TYPE_STREAM, SOCKET_TYPE_DATAGRAM, SOCKET_TYPE_SEQPACKET }
| Flags used when creating a Socket. More...
enum | SocketProtocol { SOCKET_PROTOCOL_UNKNOWN = -1, SOCKET_PROTOCOL_DEFAULT = 0, SOCKET_PROTOCOL_TCP = 6, SOCKET_PROTOCOL_UDP = 17, SOCKET_PROTOCOL_SCTP = 132 }
| A protocol identifier is specified when creating a Socket, which is a family/type specific identifier, where 0 means the default protocol for the particular family/type. More...
enum | SocketMsgFlags { SOCKET_MSG_NONE = 0x0, SOCKET_MSG_OOB = GLIB_SYSDEF_MSG_OOB, SOCKET_MSG_PEEK = GLIB_SYSDEF_MSG_PEEK, SOCKET_MSG_DONTROUTE = GLIB_SYSDEF_MSG_DONTROUTE }
| Flags used in g_socket_receive_message() and g_socket_send_message(). More...
enum | SocketClientEvent { SOCKET_CLIENT_RESOLVING, SOCKET_CLIENT_RESOLVED, SOCKET_CLIENT_CONNECTING, SOCKET_CLIENT_CONNECTED, SOCKET_CLIENT_PROXY_NEGOTIATING, SOCKET_CLIENT_PROXY_NEGOTIATED, SOCKET_CLIENT_TLS_HANDSHAKING, SOCKET_CLIENT_TLS_HANDSHAKED, SOCKET_CLIENT_COMPLETE }
| Describes an event occurring on a SocketClient. More...
enum | ZlibCompressorFormat { ZLIB_COMPRESSOR_FORMAT_ZLIB, ZLIB_COMPRESSOR_FORMAT_GZIP, ZLIB_COMPRESSOR_FORMAT_RAW }
| Used to select the type of data format to use for ZlibDecompressor and ZlibCompressor. More...
enum | UnixSocketAddressType { UNIX_SOCKET_ADDRESS_INVALID, UNIX_SOCKET_ADDRESS_ANONYMOUS, UNIX_SOCKET_ADDRESS_PATH, UNIX_SOCKET_ADDRESS_ABSTRACT, UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED }
| The type of name used by a UnixSocketAddress. More...

## Functions

AppInfoCreateFlags | operator| (AppInfoCreateFlags lhs, AppInfoCreateFlags rhs)
AppInfoCreateFlags | operator& (AppInfoCreateFlags lhs, AppInfoCreateFlags rhs)
AppInfoCreateFlags | operator^ (AppInfoCreateFlags lhs, AppInfoCreateFlags rhs)
AppInfoCreateFlags | operator~ (AppInfoCreateFlags flags)
AppInfoCreateFlags& | operator|= (AppInfoCreateFlags& lhs, AppInfoCreateFlags rhs)
AppInfoCreateFlags& | operator&= (AppInfoCreateFlags& lhs, AppInfoCreateFlags rhs)
AppInfoCreateFlags& | operator^= (AppInfoCreateFlags& lhs, AppInfoCreateFlags rhs)
ApplicationFlags | operator| (ApplicationFlags lhs, ApplicationFlags rhs)
ApplicationFlags | operator& (ApplicationFlags lhs, ApplicationFlags rhs)
ApplicationFlags | operator^ (ApplicationFlags lhs, ApplicationFlags rhs)
ApplicationFlags | operator~ (ApplicationFlags flags)
ApplicationFlags& | operator|= (ApplicationFlags& lhs, ApplicationFlags rhs)
ApplicationFlags& | operator&= (ApplicationFlags& lhs, ApplicationFlags rhs)
ApplicationFlags& | operator^= (ApplicationFlags& lhs, ApplicationFlags rhs)
ConverterFlags | operator| (ConverterFlags lhs, ConverterFlags rhs)
ConverterFlags | operator& (ConverterFlags lhs, ConverterFlags rhs)
ConverterFlags | operator^ (ConverterFlags lhs, ConverterFlags rhs)
ConverterFlags | operator~ (ConverterFlags flags)
ConverterFlags& | operator|= (ConverterFlags& lhs, ConverterFlags rhs)
ConverterFlags& | operator&= (ConverterFlags& lhs, ConverterFlags rhs)
ConverterFlags& | operator^= (ConverterFlags& lhs, ConverterFlags rhs)
DriveStartFlags | operator| (DriveStartFlags lhs, DriveStartFlags rhs)
DriveStartFlags | operator& (DriveStartFlags lhs, DriveStartFlags rhs)
DriveStartFlags | operator^ (DriveStartFlags lhs, DriveStartFlags rhs)
DriveStartFlags | operator~ (DriveStartFlags flags)
DriveStartFlags& | operator|= (DriveStartFlags& lhs, DriveStartFlags rhs)
DriveStartFlags& | operator&= (DriveStartFlags& lhs, DriveStartFlags rhs)
DriveStartFlags& | operator^= (DriveStartFlags& lhs, DriveStartFlags rhs)
TlsCertificateFlags | operator| (TlsCertificateFlags lhs, TlsCertificateFlags rhs)
TlsCertificateFlags | operator& (TlsCertificateFlags lhs, TlsCertificateFlags rhs)
TlsCertificateFlags | operator^ (TlsCertificateFlags lhs, TlsCertificateFlags rhs)
TlsCertificateFlags | operator~ (TlsCertificateFlags flags)
TlsCertificateFlags& | operator|= (TlsCertificateFlags& lhs, TlsCertificateFlags rhs)
TlsCertificateFlags& | operator&= (TlsCertificateFlags& lhs, TlsCertificateFlags rhs)
TlsCertificateFlags& | operator^= (TlsCertificateFlags& lhs, TlsCertificateFlags rhs)
FileQueryInfoFlags | operator| (FileQueryInfoFlags lhs, FileQueryInfoFlags rhs)
FileQueryInfoFlags | operator& (FileQueryInfoFlags lhs, FileQueryInfoFlags rhs)
FileQueryInfoFlags | operator^ (FileQueryInfoFlags lhs, FileQueryInfoFlags rhs)
FileQueryInfoFlags | operator~ (FileQueryInfoFlags flags)
FileQueryInfoFlags& | operator|= (FileQueryInfoFlags& lhs, FileQueryInfoFlags rhs)
FileQueryInfoFlags& | operator&= (FileQueryInfoFlags& lhs, FileQueryInfoFlags rhs)
FileQueryInfoFlags& | operator^= (FileQueryInfoFlags& lhs, FileQueryInfoFlags rhs)
FileCreateFlags | operator| (FileCreateFlags lhs, FileCreateFlags rhs)
FileCreateFlags | operator& (FileCreateFlags lhs, FileCreateFlags rhs)
FileCreateFlags | operator^ (FileCreateFlags lhs, FileCreateFlags rhs)
FileCreateFlags | operator~ (FileCreateFlags flags)
FileCreateFlags& | operator|= (FileCreateFlags& lhs, FileCreateFlags rhs)
FileCreateFlags& | operator&= (FileCreateFlags& lhs, FileCreateFlags rhs)
FileCreateFlags& | operator^= (FileCreateFlags& lhs, FileCreateFlags rhs)
FileCopyFlags | operator| (FileCopyFlags lhs, FileCopyFlags rhs)
FileCopyFlags | operator& (FileCopyFlags lhs, FileCopyFlags rhs)
FileCopyFlags | operator^ (FileCopyFlags lhs, FileCopyFlags rhs)
FileCopyFlags | operator~ (FileCopyFlags flags)
FileCopyFlags& | operator|= (FileCopyFlags& lhs, FileCopyFlags rhs)
FileCopyFlags& | operator&= (FileCopyFlags& lhs, FileCopyFlags rhs)
FileCopyFlags& | operator^= (FileCopyFlags& lhs, FileCopyFlags rhs)
FileMonitorFlags | operator| (FileMonitorFlags lhs, FileMonitorFlags rhs)
FileMonitorFlags | operator& (FileMonitorFlags lhs, FileMonitorFlags rhs)
FileMonitorFlags | operator^ (FileMonitorFlags lhs, FileMonitorFlags rhs)
FileMonitorFlags | operator~ (FileMonitorFlags flags)
FileMonitorFlags& | operator|= (FileMonitorFlags& lhs, FileMonitorFlags rhs)
FileMonitorFlags& | operator&= (FileMonitorFlags& lhs, FileMonitorFlags rhs)
FileMonitorFlags& | operator^= (FileMonitorFlags& lhs, FileMonitorFlags rhs)
FileAttributeInfoFlags | operator| (FileAttributeInfoFlags lhs, FileAttributeInfoFlags rhs)
FileAttributeInfoFlags | operator& (FileAttributeInfoFlags lhs, FileAttributeInfoFlags rhs)
FileAttributeInfoFlags | operator^ (FileAttributeInfoFlags lhs, FileAttributeInfoFlags rhs)
FileAttributeInfoFlags | operator~ (FileAttributeInfoFlags flags)
FileAttributeInfoFlags& | operator|= (FileAttributeInfoFlags& lhs, FileAttributeInfoFlags rhs)
FileAttributeInfoFlags& | operator&= (FileAttributeInfoFlags& lhs, FileAttributeInfoFlags rhs)
FileAttributeInfoFlags& | operator^= (FileAttributeInfoFlags& lhs, FileAttributeInfoFlags rhs)
IOStreamSpliceFlags | operator| (IOStreamSpliceFlags lhs, IOStreamSpliceFlags rhs)
IOStreamSpliceFlags | operator& (IOStreamSpliceFlags lhs, IOStreamSpliceFlags rhs)
IOStreamSpliceFlags | operator^ (IOStreamSpliceFlags lhs, IOStreamSpliceFlags rhs)
IOStreamSpliceFlags | operator~ (IOStreamSpliceFlags flags)
IOStreamSpliceFlags& | operator|= (IOStreamSpliceFlags& lhs, IOStreamSpliceFlags rhs)
IOStreamSpliceFlags& | operator&= (IOStreamSpliceFlags& lhs, IOStreamSpliceFlags rhs)
IOStreamSpliceFlags& | operator^= (IOStreamSpliceFlags& lhs, IOStreamSpliceFlags rhs)
MountUnmountFlags | operator| (MountUnmountFlags lhs, MountUnmountFlags rhs)
MountUnmountFlags | operator& (MountUnmountFlags lhs, MountUnmountFlags rhs)
MountUnmountFlags | operator^ (MountUnmountFlags lhs, MountUnmountFlags rhs)
MountUnmountFlags | operator~ (MountUnmountFlags flags)
MountUnmountFlags& | operator|= (MountUnmountFlags& lhs, MountUnmountFlags rhs)
MountUnmountFlags& | operator&= (MountUnmountFlags& lhs, MountUnmountFlags rhs)
MountUnmountFlags& | operator^= (MountUnmountFlags& lhs, MountUnmountFlags rhs)
MountMountFlags | operator| (MountMountFlags lhs, MountMountFlags rhs)
MountMountFlags | operator& (MountMountFlags lhs, MountMountFlags rhs)
MountMountFlags | operator^ (MountMountFlags lhs, MountMountFlags rhs)
MountMountFlags | operator~ (MountMountFlags flags)
MountMountFlags& | operator|= (MountMountFlags& lhs, MountMountFlags rhs)
MountMountFlags& | operator&= (MountMountFlags& lhs, MountMountFlags rhs)
MountMountFlags& | operator^= (MountMountFlags& lhs, MountMountFlags rhs)
AskPasswordFlags | operator| (AskPasswordFlags lhs, AskPasswordFlags rhs)
AskPasswordFlags | operator& (AskPasswordFlags lhs, AskPasswordFlags rhs)
AskPasswordFlags | operator^ (AskPasswordFlags lhs, AskPasswordFlags rhs)
AskPasswordFlags | operator~ (AskPasswordFlags flags)
AskPasswordFlags& | operator|= (AskPasswordFlags& lhs, AskPasswordFlags rhs)
AskPasswordFlags& | operator&= (AskPasswordFlags& lhs, AskPasswordFlags rhs)
AskPasswordFlags& | operator^= (AskPasswordFlags& lhs, AskPasswordFlags rhs)
OutputStreamSpliceFlags | operator| (OutputStreamSpliceFlags lhs, OutputStreamSpliceFlags rhs)
OutputStreamSpliceFlags | operator& (OutputStreamSpliceFlags lhs, OutputStreamSpliceFlags rhs)
OutputStreamSpliceFlags | operator^ (OutputStreamSpliceFlags lhs, OutputStreamSpliceFlags rhs)
OutputStreamSpliceFlags | operator~ (OutputStreamSpliceFlags flags)
OutputStreamSpliceFlags& | operator|= (OutputStreamSpliceFlags& lhs, OutputStreamSpliceFlags rhs)
OutputStreamSpliceFlags& | operator&= (OutputStreamSpliceFlags& lhs, OutputStreamSpliceFlags rhs)
OutputStreamSpliceFlags& | operator^= (OutputStreamSpliceFlags& lhs, OutputStreamSpliceFlags rhs)
std::string | hostname_to_ascii (const Glib::ustring& hostname)
Glib::ustring | hostname_to_unicode (const Glib::ustring& hostname)
bool | hostname_is_non_ascii (const Glib::ustring& hostname)
bool | hostname_is_ascii_encoded (const Glib::ustring& hostname)
bool | hostname_is_ip_address (const Glib::ustring& hostname)
SettingsBindFlags | operator| (SettingsBindFlags lhs, SettingsBindFlags rhs)
SettingsBindFlags | operator& (SettingsBindFlags lhs, SettingsBindFlags rhs)
SettingsBindFlags | operator^ (SettingsBindFlags lhs, SettingsBindFlags rhs)
SettingsBindFlags | operator~ (SettingsBindFlags flags)
SettingsBindFlags& | operator|= (SettingsBindFlags& lhs, SettingsBindFlags rhs)
SettingsBindFlags& | operator&= (SettingsBindFlags& lhs, SettingsBindFlags rhs)
SettingsBindFlags& | operator^= (SettingsBindFlags& lhs, SettingsBindFlags rhs)
SocketMsgFlags | operator| (SocketMsgFlags lhs, SocketMsgFlags rhs)
SocketMsgFlags | operator& (SocketMsgFlags lhs, SocketMsgFlags rhs)
SocketMsgFlags | operator^ (SocketMsgFlags lhs, SocketMsgFlags rhs)
SocketMsgFlags | operator~ (SocketMsgFlags flags)
SocketMsgFlags& | operator|= (SocketMsgFlags& lhs, SocketMsgFlags rhs)
SocketMsgFlags& | operator&= (SocketMsgFlags& lhs, SocketMsgFlags rhs)
SocketMsgFlags& | operator^= (SocketMsgFlags& lhs, SocketMsgFlags rhs)
bool | content_type_equals (const Glib::ustring& type1, const Glib::ustring& type2)
| Compares two content types for equality. More...
bool | content_type_is_a (const Glib::ustring& type, const Glib::ustring& supertype)
| Determines if type is a subset of supertype. More...
bool | content_type_is_unknown (const Glib::ustring& type)
| Checks if the content type is the generic "unknown" type. More...
Glib::ustring | content_type_get_description (const Glib::ustring& type)
| Gets the human readable description of the content type. More...
Glib::ustring | content_type_get_mime_type (const Glib::ustring& type)
| Gets the mime-type for the content type. More...
Glib::RefPtr< Icon > | content_type_get_icon (const Glib::ustring& type)
Glib::RefPtr< Icon > | content_type_get_symbolic_icon (const Glib::ustring& type)
| Gets the symbolic icon for a content type. More...
bool | content_type_can_be_executable (const Glib::ustring& type)
| Checks if a content type can be executable. More...
Glib::ustring | content_type_from_mime_type (const Glib::ustring& mime_type)
| Tries to find a content type based on the mime type name. More...
Glib::ustring | content_type_guess (const std::string& filename, const guchar* data, gsize data_size, bool& result_uncertain)
| Guesses the content type based on example data. More...
Glib::ustring | content_type_guess (const std::string& filename, const std::string& data, bool& result_uncertain)
| Guesses the content type based on example data. More...
Glib::StringArrayHandle | content_type_guess_for_tree (const Glib::RefPtr< const File >& root)
| Tries to guess the type of the tree with root root, by looking at the files it contains. More...
Glib::ListHandle< Glib::ustring > | content_types_get_registered ()
| Gets a list of strings containing all the registered content types known to the system. More...
void | init ()
| Initialize giomm. More...

## Typedef Documentation

typedef Glib::ListHandle<Gio::SrvTarget, SrvTargetListTraits> Gio::ListHandle_SrvTarget

typedef sigc::slot<void, Glib::RefPtr<AsyncResult>& > Gio::SlotAsyncReady

A function that will be called when an asynchronous operation within GIO has been completed.

Parameters

  result | The asynchronous function's results.

For instance,

void on_async_ready(Glib::RefPtr<AsyncResult>& result);

Since glibmm 2.16:

## Enumeration Type Documentation

enum Gio::MenuAttribute

Enumerator
MENU_ATTRIBUTE_ACTION | The "action" menu attribute.
MENU_ATTRIBUTE_LABEL | The "label" menu attribute.
MENU_ATTRIBUTE_TARGET | The "target" menu attribute.

enum Gio::MenuLink

Enumerator
MENU_LINK_SECTION | The "section" menu link.
MENU_LINK_SUBMENU | The "submenu" menu link.

## Function Documentation

bool Gio::content_type_can_be_executable | ( | const Glib::ustring& | type | ) |

Checks if a content type can be executable.

Note that for instance things like text files can be executables (i.e. scripts and batch files).

Parameters

  type | a content type string.

Returns
  true if the file type corresponds to a type that can be executable, false otherwise.

bool Gio::content_type_equals | ( | const Glib::ustring& | type1,
|  | const Glib::ustring& | type2
| ) |  |

Compares two content types for equality.

Parameters

  type1 | A content type string.
  type2 | A content type string.

Returns
  true if the two strings are identical or equivalent, false otherwise.

Glib::ustring Gio::content_type_from_mime_type | ( | const Glib::ustring& | mime_type | ) |

Tries to find a content type based on the mime type name.

Parameters

  mime_type | a mime type string.

Returns
  string with content type or empty when it does not know.

Since glibmm 2.20:

Glib::ustring Gio::content_type_get_description | ( | const Glib::ustring& | type | ) |

Gets the human readable description of the content type.

Parameters

  type | A content type string.

Returns
  a short description of the content type type.

Glib::RefPtr<Icon> Gio::content_type_get_icon | ( | const Glib::ustring& | type | ) |

Parameters

  type | A content type string.

Gets the icon for a content type.

Returns
  Icon corresponding to the content type.

Glib::ustring Gio::content_type_get_mime_type | ( | const Glib::ustring& | type | ) |

Gets the mime-type for the content type.

If one is registered

Parameters

  type | A content type string.

Returns
  the registered mime-type for the given type, or NULL if unknown.

Glib::RefPtr<Icon> Gio::content_type_get_symbolic_icon | ( | const Glib::ustring& | type | ) |

Gets the symbolic icon for a content type.

Parameters

  type | A content type string.

Returns
  Icon corresponding to the content type.

Since glibmm 2.34:

Glib::ustring Gio::content_type_guess | ( | const std::string & | filename,
|  | const guchar * | data,
|  | gsize | data_size,
|  | bool & | result_uncertain
| ) |  |

Guesses the content type based on example data.

If the function is uncertain, result_uncertain will be set to true

Parameters

  filename | a string.
  data | A stream of data.
  data_size | The size of data.
  result_uncertain | A flag indicating the certainty of the result.

Returns
  A string indicating a guessed content type for the given data.

Glib::ustring Gio::content_type_guess | ( | const std::string & | filename,
|  | const std::string & | data,
|  | bool & | result_uncertain
| ) |  |

Guesses the content type based on example data.

If the function is uncertain, result_uncertain will be set to true

Parameters

  filename | a string.
  data | A stream of data.
  result_uncertain | A flag indicating the certainty of the result.

Returns
  A string indicating a guessed content type for the given data.

Glib::StringArrayHandle Gio::content_type_guess_for_tree | ( | const Glib::RefPtr< const File >& | root | ) |

Tries to guess the type of the tree with root root, by looking at the files it contains.

The result is a list of content types, with the best guess coming first.

The types returned all have the form x-content/foo, e.g. x-content/audio-cdda (for audio CDs) or x-content/image-dcf (for a camera memory card). See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink> specification for more on x-content types.

Parameters

  root | The root of the tree to guess a type for.

Returns
  List of zero or more content types.

Since glibmm 2.18:

bool Gio::content_type_is_a | ( | const Glib::ustring& | type,
|  | const Glib::ustring& | supertype
| ) |  |

Determines if type is a subset of supertype.

Parameters

  type | A content type string.
  supertype | A string.

Returns
  true if type is a kind of supertype, false otherwise.

bool Gio::content_type_is_unknown | ( | const Glib::ustring& | type | ) |

Checks if the content type is the generic "unknown" type.

On unix this is the "application/octet-stream" mimetype, while on win32 it is "*".

Parameters

  type | A content type string.

Returns
  true if the type is the unknown type.

Glib::ListHandle<Glib::ustring> Gio::content_types_get_registered | ( |  | ) |

Gets a list of strings containing all the registered content types known to the system.

Returns
  List of the registered content types.

bool Gio::hostname_is_ascii_encoded | ( | const Glib::ustring& | hostname | ) |

bool Gio::hostname_is_ip_address | ( | const Glib::ustring& | hostname | ) |

bool Gio::hostname_is_non_ascii | ( | const Glib::ustring& | hostname | ) |

std::string Gio::hostname_to_ascii | ( | const Glib::ustring& | hostname | ) |

Glib::ustring Gio::hostname_to_unicode | ( | const Glib::ustring& | hostname | ) |

void Gio::init | ( |  | ) |

Initialize giomm.