Crate gio[−][src]
Expand description
Rust GIO bindings
This library contains safe Rust bindings for GIO. It is a part of gtk-rs.
GIO 2.48 is the lowest supported version for the underlying library.
Re-exports
pub use ffi; | |
pub use glib; |
Modules
functions | |
prelude | Traits and essential types intended for blanket imports. |
subclass | |
task |
Macros
resources_register_include | Include gresources generated with compile_resources and register with glib. |
Structs
Action |
|
ActionGroup |
|
ActionGroupExportId | |
ActionMap | The GActionMap interface is implemented by |
AppInfo |
|
AppInfoCreateFlags | Flags used when creating a |
AppInfoMonitor |
|
AppLaunchContext | Integrating the launch with the launching application. This is used to handle for instance startup notification and launching the new application on the same screen as the launching window. |
Application | A |
ApplicationBuilder | A builder-pattern type to construct |
ApplicationCommandLine |
|
ApplicationFlags | Flags used to define the behaviour of a |
AskPasswordFlags |
|
AsyncResult | Provides a base class for implementing asynchronous function results. |
BindingBuilder | |
BufferedInputStream | Buffered input stream implements |
BufferedInputStreamBuilder | A builder-pattern type to construct |
BufferedOutputStream | Buffered output stream implements |
BufferedOutputStreamBuilder | A builder-pattern type to construct |
BusNameOwnerFlags | Flags used in |
BusNameWatcherFlags | Flags used in |
BytesIcon |
|
Cancellable | GCancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations. |
CharsetConverter |
|
CharsetConverterBuilder | A builder-pattern type to construct |
Converter |
|
ConverterFlags | Flags used when calling a |
ConverterInputStream | Converter input stream implements |
ConverterInputStreamBuilder | A builder-pattern type to construct |
ConverterOutputStream | Converter output stream implements |
ConverterOutputStreamBuilder | A builder-pattern type to construct |
Credentials | The |
DBusActionGroup |
|
DBusArgInfo | Information about an argument for a method or a signal. |
DBusAuthObserver | The |
DBusCallFlags | Flags used in |
DBusCapabilityFlags | Capabilities negotiated with the remote peer. |
DBusConnection | The |
DBusConnectionFlags | Flags used when creating a new |
DBusInterface | The |
DBusInterfaceInfo | Information about a D-Bus interface. |
DBusInterfaceSkeleton | Abstract base class for D-Bus interfaces on the service side. |
DBusInterfaceSkeletonFlags | Flags describing the behavior of a |
DBusMenuModel |
|
DBusMessage | A type for representing D-Bus messages that can be sent or received
on a |
DBusMessageFlags | Message flags used in |
DBusMethodInfo | Information about a method on an D-Bus interface. |
DBusMethodInvocation | Instances of the |
DBusNodeInfo | Information about nodes in a remote object hierarchy. |
DBusObject | The |
DBusPropertyInfo | Information about a D-Bus property on a D-Bus interface. |
DBusProxy |
|
DBusProxyFlags | Flags used when constructing an instance of a |
DBusSendMessageFlags | Flags used when sending |
DBusServer |
|
DBusServerFlags | Flags used when creating a |
DBusSignalFlags | Flags used when subscribing to signals via |
DBusSignalInfo | Information about a signal on a D-Bus interface. |
DataInputStream | Data input stream implements |
DataInputStreamBuilder | A builder-pattern type to construct |
DataOutputStream | Data output stream implements |
DataOutputStreamBuilder | A builder-pattern type to construct |
DesktopAppInfo |
|
Drive |
|
DriveStartFlags | Flags used when starting a drive. |
Emblem |
|
EmblemedIcon |
|
File |
|
FileAttributeMatcher | Determines if a string matches a file attribute. |
FileAttributematcherIter | |
FileCopyFlags | Flags used when copying or moving files. |
FileCreateFlags | Flags used when an operation may create a file. |
FileEnumerator |
|
FileIOStream | GFileIOStream provides io streams that both read and write to the same file handle. |
FileIcon |
|
FileInfo | Functionality for manipulating basic metadata for files. |
FileInputStream | GFileInputStream provides input streams that take their content from a file. |
FileMeasureFlags | Flags that can be used with |
FileMonitor | Monitors a file or directory for changes. |
FileMonitorFlags | Flags used to set what a |
FileOutputStream | GFileOutputStream provides output streams that write their content to a file. |
FileQueryInfoFlags | Flags used when querying a |
FilenameCompleter | Completes partial file and directory names given a partial string by looking in the file system for clues. Can return a list of possible completion strings for widget implementations. |
FilterId | |
FilterInputStream | Base class for input stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping. |
FilterOutputStream | Base class for output stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping. |
GioFuture | |
GioFutureResult | |
IOStream | GIOStream represents an object that has both read and write streams. Generally the two streams act as separate input and output streams, but they share some common resources and state. For instance, for seekable streams, both streams may use the same position. |
IOStreamAsyncReadWrite | |
IOStreamSpliceFlags | GIOStreamSpliceFlags determine how streams should be spliced. |
Icon |
|
InetAddress |
|
InetAddressMask |
|
InetSocketAddress | An IPv4 or IPv6 socket address; that is, the combination of a
|
InputStream |
|
InputStreamAsyncBufRead | |
InputStreamAsyncRead | |
InputStreamRead | |
ListModel |
|
ListStore |
|
ListStoreBuilder | A builder-pattern type to construct |
LoadableIcon | Extends the |
MemoryInputStream |
|
MemoryMonitor |
|
MemoryOutputStream |
|
Menu |
|
MenuAttributeIter |
|
MenuItem |
|
MenuLinkIter |
|
MenuModel |
|
MenuModelExportId | |
Mount | The |
MountMountFlags | Flags used when mounting a mount. |
MountOperation |
|
MountUnmountFlags | Flags used when an unmounting a mount. |
NetworkAddress |
|
NetworkMonitor |
|
NetworkService | Like |
Notification |
|
OutputStream |
|
OutputStreamAsyncWrite | |
OutputStreamSpliceFlags | GOutputStreamSpliceFlags determine how streams should be spliced. |
OutputStreamWrite | |
OwnerId | |
Permission | A |
PollableInputStream |
|
PollableOutputStream |
|
PropertyAction | A |
Proxy | A |
ProxyAddress | Support for proxied |
ProxyResolver |
|
ReadInputStream | |
RegistrationId | |
RemoteActionGroup | The GRemoteActionGroup interface is implemented by |
Resolver |
|
ResolverNameLookupFlags | Flags to modify lookup behavior. |
Resource | Applications and libraries often contain binary or textual data that is
really part of the application, rather than user data. For instance
|
ResourceLookupFlags | GResourceLookupFlags determine how resource path lookups are handled. |
Seekable |
|
Settings | The |
SettingsBackend | The |
SettingsBindFlags | Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions. |
SettingsSchema | The |
SettingsSchemaKey |
|
SettingsSchemaSource | This is an opaque structure type. You may not access it directly. |
SignalSubscriptionId | |
SimpleAction | A |
SimpleActionGroup |
|
SimpleIOStream | GSimpleIOStream creates a |
SimplePermission |
|
Socket | A |
SocketAddress |
|
SocketAddressEnumerator |
|
SocketClient |
|
SocketConnectable | Objects that describe one or more potential socket endpoints
implement |
SocketConnection |
|
SocketListener | A |
SocketService | A |
SrvTarget | SRV (service) records are used by some network protocols to provide service-specific aliasing and load-balancing. For example, XMPP (Jabber) uses SRV records to locate the XMPP server for a domain; rather than connecting directly to “example.com” or assuming a specific server hostname like “xmpp.example.com”, an XMPP client would look up the “xmpp-client” SRV record for “example.com”, and then connect to whatever host was pointed to by that record. |
Subprocess |
|
SubprocessFlags | Flags to define the behaviour of a |
SubprocessLauncher | This class contains a set of options for launching child processes, such as where its standard input and output will be directed, the argument list, the environment, and more. |
Task | A |
TcpConnection | This is the subclass of |
ThemedIcon |
|
ThreadedSocketService | A |
TlsBackend | TLS (Transport Layer Security, aka SSL) and DTLS backend. |
TlsCertificate | A certificate used for TLS authentication and encryption.
This can represent either a certificate only (eg, the certificate
received by a client from a server), or the combination of
a certificate and a private key (which is needed when acting as a
|
TlsCertificateFlags | A set of flags describing TLS certification validation. This can be
used to set which validation steps to perform (eg, with
|
TlsClientConnection |
|
TlsConnection |
|
TlsDatabase |
|
TlsDatabaseVerifyFlags | Flags for |
TlsFileDatabase |
|
TlsInteraction |
|
TlsPassword | Holds a password used in TLS. |
TlsPasswordFlags | Various flags for the password. |
TlsServerConnection |
|
UnixFDList | A |
UnixInputStream |
|
UnixMountEntry | Defines a Unix mount entry (e.g. |
UnixMountPoint | Defines a Unix mount point (e.g. |
UnixOutputStream |
|
UnixSocketAddress | Support for UNIX-domain (also known as local) sockets. |
Vfs | Entry point for using GIO functionality. |
Volume | The |
VolumeMonitor |
|
WatcherId | |
WriteOutputStream | |
ZlibCompressor | Zlib decompression |
ZlibDecompressor | Zlib decompression |
Enums
BusType | An enumeration for well-known message buses. |
ConverterResult | Results returned from |
CredentialsType | Enumeration describing different kinds of native credential types. |
DBusMessageByteOrder | Enumeration used to describe the byte order of a D-Bus message. |
DBusMessageHeaderField | Header fields used in |
DBusMessageType | Message types used in |
DataStreamByteOrder |
|
DataStreamNewlineType |
|
DriveStartStopType | Enumeration describing how a drive can be started/stopped. |
EmblemOrigin | GEmblemOrigin is used to add information about the origin of the emblem
to |
FileAttributeStatus | Used by |
FileAttributeType | The data types for file attributes. |
FileMonitorEvent | Specifies what type of event a monitor event is. |
FileType | Indicates the file’s on-disk type. |
IOErrorEnum | Error codes returned by GIO functions. |
InetAddressBytes | |
MemoryMonitorWarningLevel | v2_64 Memory availability warning levels. |
MountOperationResult |
|
NetworkConnectivity | The host’s network connectivity state, as reported by |
NotificationPriority | Priority levels for |
PasswordSave |
|
ResolverRecordType | The type of record that |
ResourceError | An error code used with |
SocketClientEvent | Describes an event occurring on a |
SocketFamily | The protocol family of a |
SocketListenerEvent | Describes an event occurring on a |
SocketProtocol | A protocol identifier is specified when creating a |
SocketType | Flags used when creating a |
TlsAuthenticationMode | The client authentication mode for a |
TlsCertificateRequestFlags | Flags for |
TlsChannelBindingType | v2_66 The type of TLS channel binding data to retrieve from |
TlsDatabaseLookupFlags | Flags for |
TlsInteractionResult |
|
TlsRehandshakeMode | When to allow rehandshaking. See
|
UnixSocketAddressType | Unix The type of name used by a |
ZlibCompressorFormat | Used to select the type of data format to use for |
Constants
Statics
DRIVE_IDENTIFIER_KIND_UNIX_DEVICE | v2_58 The string used to obtain a Unix device path with |
FILE_ATTRIBUTE_ACCESS_CAN_DELETE | A key in the “access” namespace for checking deletion privileges.
Corresponding |
FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE | A key in the “access” namespace for getting execution privileges.
Corresponding |
FILE_ATTRIBUTE_ACCESS_CAN_READ | A key in the “access” namespace for getting read privileges.
Corresponding |
FILE_ATTRIBUTE_ACCESS_CAN_RENAME | A key in the “access” namespace for checking renaming privileges.
Corresponding |
FILE_ATTRIBUTE_ACCESS_CAN_TRASH | A key in the “access” namespace for checking trashing privileges.
Corresponding |
FILE_ATTRIBUTE_ACCESS_CAN_WRITE | A key in the “access” namespace for getting write privileges.
Corresponding |
FILE_ATTRIBUTE_DOS_IS_ARCHIVE | A key in the “dos” namespace for checking if the file’s archive flag
is set. This attribute is |
FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT | v2_60 A key in the “dos” namespace for checking if the file is a NTFS mount point
(a volume mount or a junction point).
This attribute is |
FILE_ATTRIBUTE_DOS_IS_SYSTEM | A key in the “dos” namespace for checking if the file’s backup flag
is set. This attribute is |
FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG | v2_60 A key in the “dos” namespace for getting the file NTFS reparse tag.
This value is 0 for files that are not reparse points.
See the Reparse Tags
page for possible reparse tag values. Corresponding |
FILE_ATTRIBUTE_ETAG_VALUE | A key in the “etag” namespace for getting the value of the file’s
entity tag. Corresponding |
FILE_ATTRIBUTE_FILESYSTEM_FREE | A key in the “filesystem” namespace for getting the number of bytes of free space left on the
file system. Corresponding |
FILE_ATTRIBUTE_FILESYSTEM_READONLY | A key in the “filesystem” namespace for checking if the file system
is read only. Is set to |
FILE_ATTRIBUTE_FILESYSTEM_REMOTE | A key in the “filesystem” namespace for checking if the file system
is remote. Is set to |
FILE_ATTRIBUTE_FILESYSTEM_SIZE | A key in the “filesystem” namespace for getting the total size (in bytes) of the file system,
used in |
FILE_ATTRIBUTE_FILESYSTEM_TYPE | A key in the “filesystem” namespace for getting the file system’s type.
Corresponding |
FILE_ATTRIBUTE_FILESYSTEM_USED | A key in the “filesystem” namespace for getting the number of bytes of used on the
file system. Corresponding |
FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW | A key in the “filesystem” namespace for hinting a file manager
application whether it should preview (e.g. thumbnail) files on the
file system. The value for this key contain a
|
FILE_ATTRIBUTE_GVFS_BACKEND | A key in the “gvfs” namespace that gets the name of the current
GVFS backend in use. Corresponding |
FILE_ATTRIBUTE_ID_FILE | A key in the “id” namespace for getting a file identifier.
Corresponding |
FILE_ATTRIBUTE_ID_FILESYSTEM | A key in the “id” namespace for getting the file system identifier.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be ejected.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is mountable.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be polled.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_START | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started
degraded.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be stopped.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is unmountable.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI | A key in the “mountable” namespace for getting the HAL UDI for the mountable
file. Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC | A key in the “mountable” namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE)
is automatically polled for media.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE | A key in the “mountable” namespace for getting the |
FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE | A key in the “mountable” namespace for getting the unix device.
Corresponding |
FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE | A key in the “mountable” namespace for getting the unix device file.
Corresponding |
FILE_ATTRIBUTE_OWNER_GROUP | A key in the “owner” namespace for getting the file owner’s group.
Corresponding |
FILE_ATTRIBUTE_OWNER_USER | A key in the “owner” namespace for getting the user name of the
file’s owner. Corresponding |
FILE_ATTRIBUTE_OWNER_USER_REAL | A key in the “owner” namespace for getting the real name of the
user that owns the file. Corresponding |
FILE_ATTRIBUTE_PREVIEW_ICON | A key in the “preview” namespace for getting a |
FILE_ATTRIBUTE_RECENT_MODIFIED | v2_52 A key in the “recent” namespace for getting time, when the metadata for the
file in |
FILE_ATTRIBUTE_SELINUX_CONTEXT | A key in the “selinux” namespace for getting the file’s SELinux
context. Corresponding |
FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE | A key in the “standard” namespace for getting the amount of disk space
that is consumed by the file (in bytes). This will generally be larger
than the file size (due to block size overhead) but can occasionally be
smaller (for example, for sparse files).
Corresponding |
FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE | A key in the “standard” namespace for getting the content type of the file.
Corresponding |
FILE_ATTRIBUTE_STANDARD_COPY_NAME | A key in the “standard” namespace for getting the copy name of the file. The copy name is an optional version of the name. If available it’s always in UTF8, and corresponds directly to the original filename (only transcoded to UTF8). This is useful if you want to copy the file to another filesystem that might have a different encoding. If the filename is not a valid string in the encoding selected for the filesystem it is in then the copy name will not be set. |
FILE_ATTRIBUTE_STANDARD_DESCRIPTION | A key in the “standard” namespace for getting the description of the file. The description is a utf8 string that describes the file, generally containing the filename, but can also contain further information. Example descriptions could be “filename (on hostname)” for a remote file or “filename (in trash)” for a file in the trash. This is useful for instance as the window title when displaying a directory or for a bookmarks menu. |
FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME | A key in the “standard” namespace for getting the display name of the file.
A display name is guaranteed to be in UTF-8 and can thus be displayed in
the UI. It is guaranteed to be set on every file.
Corresponding |
FILE_ATTRIBUTE_STANDARD_EDIT_NAME | A key in the “standard” namespace for edit name of the file. An edit name is similar to the display name, but it is meant to be used when you want to rename the file in the UI. The display name might contain information you don’t want in the new filename (such as “(invalid unicode)” if the filename was in an invalid encoding). |
FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE | A key in the “standard” namespace for getting the fast content type.
The fast content type isn’t as reliable as the regular one, as it
only uses the filename to guess it, but it is faster to calculate than the
regular content type.
Corresponding |
FILE_ATTRIBUTE_STANDARD_ICON | A key in the “standard” namespace for getting the icon for the file.
Corresponding |
FILE_ATTRIBUTE_STANDARD_IS_BACKUP | A key in the “standard” namespace for checking if a file is a backup file.
Corresponding |
FILE_ATTRIBUTE_STANDARD_IS_HIDDEN | A key in the “standard” namespace for checking if a file is hidden.
Corresponding |
FILE_ATTRIBUTE_STANDARD_IS_SYMLINK | A key in the “standard” namespace for checking if the file is a symlink.
Typically the actual type is something else, if we followed the symlink
to get the type.
On Windows NTFS mountpoints are considered to be symlinks as well.
Corresponding |
FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL | A key in the “standard” namespace for checking if a file is virtual.
Corresponding |
FILE_ATTRIBUTE_STANDARD_IS_VOLATILE | A key in the “standard” namespace for checking if a file is
volatile. This is meant for opaque, non-POSIX-like backends to
indicate that the URI is not persistent. Applications should look
at |
FILE_ATTRIBUTE_STANDARD_NAME | A key in the “standard” namespace for getting the name of the file.
The name is the on-disk filename which may not be in any known encoding,
and can thus not be generally displayed as is. It is guaranteed to be set on
every file.
Use |
FILE_ATTRIBUTE_STANDARD_SIZE | A key in the “standard” namespace for getting the file’s size (in bytes).
Corresponding |
FILE_ATTRIBUTE_STANDARD_SORT_ORDER | A key in the “standard” namespace for setting the sort order of a file.
Corresponding |
FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON | A key in the “standard” namespace for getting the symbolic icon for the file.
Corresponding |
FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET | A key in the “standard” namespace for getting the symlink target, if the file
is a symlink. Corresponding |
FILE_ATTRIBUTE_STANDARD_TARGET_URI | A key in the “standard” namespace for getting the target URI for the file, in
the case of |
FILE_ATTRIBUTE_STANDARD_TYPE | A key in the “standard” namespace for storing file types.
Corresponding |
FILE_ATTRIBUTE_THUMBNAILING_FAILED | A key in the “thumbnail” namespace for checking if thumbnailing failed.
This attribute is |
FILE_ATTRIBUTE_THUMBNAIL_IS_VALID | A key in the “thumbnail” namespace for checking whether the thumbnail is outdated.
This attribute is |
FILE_ATTRIBUTE_THUMBNAIL_PATH | A key in the “thumbnail” namespace for getting the path to the thumbnail
image. Corresponding |
FILE_ATTRIBUTE_TIME_ACCESS | A key in the “time” namespace for getting the time the file was last
accessed. Corresponding |
FILE_ATTRIBUTE_TIME_ACCESS_USEC | A key in the “time” namespace for getting the microseconds of the time
the file was last accessed. This should be used in conjunction with
|
FILE_ATTRIBUTE_TIME_CHANGED | A key in the “time” namespace for getting the time the file was last
changed. Corresponding |
FILE_ATTRIBUTE_TIME_CHANGED_USEC | A key in the “time” namespace for getting the microseconds of the time
the file was last changed. This should be used in conjunction with
|
FILE_ATTRIBUTE_TIME_CREATED | A key in the “time” namespace for getting the time the file was created.
Corresponding |
FILE_ATTRIBUTE_TIME_CREATED_USEC | A key in the “time” namespace for getting the microseconds of the time
the file was created. This should be used in conjunction with
|
FILE_ATTRIBUTE_TIME_MODIFIED | A key in the “time” namespace for getting the time the file was last
modified. Corresponding |
FILE_ATTRIBUTE_TIME_MODIFIED_USEC | A key in the “time” namespace for getting the microseconds of the time
the file was last modified. This should be used in conjunction with
|
FILE_ATTRIBUTE_TRASH_DELETION_DATE | A key in the “trash” namespace. When requested against
items in |
FILE_ATTRIBUTE_TRASH_ITEM_COUNT | A key in the “trash” namespace. When requested against
|
FILE_ATTRIBUTE_TRASH_ORIG_PATH | A key in the “trash” namespace. When requested against
items in |
FILE_ATTRIBUTE_UNIX_BLOCKS | A key in the “unix” namespace for getting the number of blocks allocated
for the file. This attribute is only available for UNIX file systems.
Corresponding |
FILE_ATTRIBUTE_UNIX_BLOCK_SIZE | A key in the “unix” namespace for getting the block size for the file
system. This attribute is only available for UNIX file systems.
Corresponding |
FILE_ATTRIBUTE_UNIX_DEVICE | A key in the “unix” namespace for getting the device id of the device the
file is located on (see |
FILE_ATTRIBUTE_UNIX_GID | A key in the “unix” namespace for getting the group ID for the file.
This attribute is only available for UNIX file systems.
Corresponding |
FILE_ATTRIBUTE_UNIX_INODE | A key in the “unix” namespace for getting the inode of the file.
This attribute is only available for UNIX file systems. Corresponding
|
FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT | A key in the “unix” namespace for checking if the file represents a
UNIX mount point. This attribute is |
FILE_ATTRIBUTE_UNIX_MODE | A key in the “unix” namespace for getting the mode of the file
(e.g. whether the file is a regular file, symlink, etc). See the
documentation for |
FILE_ATTRIBUTE_UNIX_NLINK | A key in the “unix” namespace for getting the number of hard links
for a file. See |
FILE_ATTRIBUTE_UNIX_RDEV | A key in the “unix” namespace for getting the device ID for the file
(if it is a special file). See |
FILE_ATTRIBUTE_UNIX_UID | A key in the “unix” namespace for getting the user ID for the file.
This attribute is only available for UNIX file systems.
Corresponding |
MEMORY_MONITOR_EXTENSION_POINT_NAME | v2_64 Extension point for memory usage monitoring functionality. See [Extending GIO][extending-gio]. |
MENU_ATTRIBUTE_ACTION | The menu item attribute which holds the action name of the item. Action names are namespaced with an identifier for the action group in which the action resides. For example, “win.” for window-specific actions and “app.” for application-wide actions. |
MENU_ATTRIBUTE_ACTION_NAMESPACE | The menu item attribute that holds the namespace for all action names in menus that are linked from this item. |
MENU_ATTRIBUTE_ICON | The menu item attribute which holds the icon of the item. |
MENU_ATTRIBUTE_LABEL | The menu item attribute which holds the label of the item. |
MENU_ATTRIBUTE_TARGET | The menu item attribute which holds the target with which the item’s action will be activated. |
MENU_LINK_SECTION | The name of the link that associates a menu item with a section. The linked menu will usually be shown in place of the menu item, using the item’s label as a header. |
MENU_LINK_SUBMENU | The name of the link that associates a menu item with a submenu. |
NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME | |
NETWORK_MONITOR_EXTENSION_POINT_NAME | Extension point for network status monitoring functionality. See [Extending GIO][extending-gio]. |
PROXY_EXTENSION_POINT_NAME | Extension point for proxy functionality. See [Extending GIO][extending-gio]. |
PROXY_RESOLVER_EXTENSION_POINT_NAME | Extension point for proxy resolving functionality. See [Extending GIO][extending-gio]. |
SETTINGS_BACKEND_EXTENSION_POINT_NAME | Extension point for |
TLS_BACKEND_EXTENSION_POINT_NAME | Extension point for TLS functionality via |
TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT | The purpose used to verify the client certificate in a TLS connection. Used by TLS servers. |
TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER | The purpose used to verify the server certificate in a TLS connection. This is the most common purpose in use. Used by TLS clients. |
VFS_EXTENSION_POINT_NAME | Extension point for |
VOLUME_IDENTIFIER_KIND_CLASS | The string used to obtain the volume class with |
VOLUME_IDENTIFIER_KIND_HAL_UDI | The string used to obtain a Hal UDI with |
VOLUME_IDENTIFIER_KIND_LABEL | The string used to obtain a filesystem label with |
VOLUME_IDENTIFIER_KIND_NFS_MOUNT | The string used to obtain a NFS mount with |
VOLUME_IDENTIFIER_KIND_UNIX_DEVICE | The string used to obtain a Unix device path with |
VOLUME_IDENTIFIER_KIND_UUID | The string used to obtain a UUID with |
VOLUME_MONITOR_EXTENSION_POINT_NAME | Extension point for volume monitor functionality. See [Extending GIO][extending-gio]. |
Functions
bus_get | Asynchronously connects to the message bus specified by |
bus_get_future | |
bus_get_sync | Synchronously connects to the message bus specified by |
bus_own_name | Starts acquiring |
bus_own_name_on_connection | Like |
bus_unown_name | Stops owning a name. |
bus_unwatch_name | Stops watching a name. |
bus_watch_name | Starts watching |
bus_watch_name_on_connection | Like |
compile_resources | Call from build script to run |
content_type_can_be_executable | 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). |
content_type_equals | Compares two content types for equality. |
content_type_from_mime_type | Tries to find a content type based on the mime type name. |
content_type_get_description | Gets the human readable description of the content type. |
content_type_get_generic_icon_name | Gets the generic icon name for a content type. |
content_type_get_icon | Gets the icon for a content type. |
content_type_get_mime_dirs | v2_60 Get the list of directories which MIME data is loaded from. See
|
content_type_get_mime_type | Gets the mime type for the content type, if one is registered. |
content_type_get_symbolic_icon | Gets the symbolic icon for a content type. |
content_type_guess | Guesses the content type based on example data. If the function is
uncertain, |
content_type_guess_for_tree | Tries to guess the type of the tree with root |
content_type_is_a | Determines if |
content_type_is_mime_type | v2_52 Determines if |
content_type_is_unknown | Checks if the content type is the generic “unknown” type. On UNIX this is the “application/octet-stream” mimetype, while on win32 it is “*” and on OSX it is a dynamic type or octet-stream. |
content_type_set_mime_dirs | v2_60 Set the list of directories used by GIO to load the MIME database.
If |
content_types_get_registered | Gets a list of strings containing all the registered content types
known to the system. The list and its data should be freed using
|
dbus_address_escape_value | Escape |
dbus_address_get_for_bus_sync | Synchronously looks up the D-Bus address for the well-known message
bus instance specified by |
dbus_address_get_stream | Asynchronously connects to an endpoint specified by |
dbus_address_get_stream_future | |
dbus_address_get_stream_sync | Synchronously connects to an endpoint specified by |
dbus_generate_guid | Generate a D-Bus GUID that can be used with
e.g. |
dbus_gvalue_to_gvariant | Converts a |
dbus_gvariant_to_gvalue | Converts a |
dbus_is_address | Checks if |
dbus_is_guid | Checks if |
dbus_is_interface_name | Checks if |
dbus_is_member_name | Checks if |
dbus_is_name | Checks if |
dbus_is_supported_address | Like |
dbus_is_unique_name | Checks if |
io_error_from_errno | Converts errno.h error codes into GIO error codes. The fallback
value |
io_modules_scan_all_in_directory | Scans all the modules in the specified directory, ensuring that any extension point implemented by a module is registered. |
io_scheduler_cancel_all_jobs | Cancels all cancellable I/O jobs. |
keyfile_settings_backend_new | Creates a keyfile-backed |
memory_settings_backend_new | Creates a memory-backed |
networking_init | Initializes the platform networking libraries (eg, on Windows, this calls WSAStartup()). GLib will call this itself if it is needed, so you only need to call it if you directly call system networking functions (without calling any GLib networking functions first). |
null_settings_backend_new | Creates a readonly |
resources_enumerate_children | Returns all the names of children at the specified |
resources_get_info | Looks for a file at the specified |
resources_lookup_data | Looks for a file at the specified |
resources_open_stream | Looks for a file at the specified |
resources_register | Registers the resource with the process-global set of resources.
Once a resource is registered the files in it can be accessed
with the global resource lookup functions like |
resources_unregister | Unregisters the resource from the process-global set of resources. |
unix_is_mount_path_system_internal | Unix Determines if |
unix_is_system_device_path | Unix and v2_56 Determines if |
unix_is_system_fs_type | Unix and v2_56 Determines if |