Gio

object Gio

Skipped during bindings generation

  • parameter action_name: action_name: Out parameter is not supported

  • parameter data: guint8

  • parameter out_guid: out_guid: Out parameter is not supported

  • parameter out_guid: out_guid: Out parameter is not supported

  • parameter annotations: Array parameter of type DBusAnnotationInfo is not supported

  • parameter quark_volatile: Unsupported pointer to primitive type

  • parameter bytes: guint8

  • function dbus_unescape_object_path: guint8

  • parameter iostream: iostream: Out parameter is not supported

  • parameter icon: gpointer

  • parameter parameters: GObject.Parameter

  • function io_extension_point_implement: Return type IOExtension is unsupported

  • function io_extension_point_lookup: Return type IOExtensionPoint is unsupported

  • function io_extension_point_register: Return type IOExtensionPoint is unsupported

  • parameter scope: IOModuleScope

  • parameter scope: IOModuleScope

  • function networking_init: C function g_networking_init is ignored

  • parameter buffer: guint8

  • parameter buffer: guint8

  • parameter buffer: guint8

  • parameter size: size: Out parameter is not supported

  • parameter time_read: time_read: Out parameter is not supported

  • parameter time_read: time_read: Out parameter is not supported

  • parameter time_read: time_read: Out parameter is not supported

  • parameter time_read: time_read: Out parameter is not supported

  • parameter time_read: time_read: Out parameter is not supported

  • callback DBusSubtreeIntrospectFunc: Array parameter of type DBusInterfaceInfo is not supported

  • callback ReallocFunc: Return type gpointer is unsupported

  • record ActionGroupInterface: glib type struct are ignored

  • record ActionInterface: glib type struct are ignored

  • record ActionMapInterface: glib type struct are ignored

  • record AppInfoIface: glib type struct are ignored

  • record AppLaunchContextClass: glib type struct are ignored

  • record AppLaunchContextPrivate: Disguised records are ignored

  • record ApplicationClass: glib type struct are ignored

  • record ApplicationCommandLineClass: glib type struct are ignored

  • record ApplicationCommandLinePrivate: Disguised records are ignored

  • record ApplicationPrivate: Disguised records are ignored

  • record AsyncInitableIface: glib type struct are ignored

  • record AsyncResultIface: glib type struct are ignored

  • record BufferedInputStreamClass: glib type struct are ignored

  • record BufferedInputStreamPrivate: Disguised records are ignored

  • record BufferedOutputStreamClass: glib type struct are ignored

  • record BufferedOutputStreamPrivate: Disguised records are ignored

  • record CancellableClass: glib type struct are ignored

  • record CancellablePrivate: Disguised records are ignored

  • record CharsetConverterClass: glib type struct are ignored

  • record ConverterIface: glib type struct are ignored

  • record ConverterInputStreamClass: glib type struct are ignored

  • record ConverterInputStreamPrivate: Disguised records are ignored

  • record ConverterOutputStreamClass: glib type struct are ignored

  • record ConverterOutputStreamPrivate: Disguised records are ignored

  • record CredentialsClass: glib type struct are ignored

  • record DBusInterfaceIface: glib type struct are ignored

  • record DBusInterfaceSkeletonClass: glib type struct are ignored

  • record DBusInterfaceSkeletonPrivate: Disguised records are ignored

  • record DBusObjectIface: glib type struct are ignored

  • record DBusObjectManagerClientClass: glib type struct are ignored

  • record DBusObjectManagerClientPrivate: Disguised records are ignored

  • record DBusObjectManagerIface: glib type struct are ignored

  • record DBusObjectManagerServerClass: glib type struct are ignored

  • record DBusObjectManagerServerPrivate: Disguised records are ignored

  • record DBusObjectProxyClass: glib type struct are ignored

  • record DBusObjectProxyPrivate: Disguised records are ignored

  • record DBusObjectSkeletonClass: glib type struct are ignored

  • record DBusObjectSkeletonPrivate: Disguised records are ignored

  • record DBusProxyClass: glib type struct are ignored

  • record DBusProxyPrivate: Disguised records are ignored

  • record DataInputStreamClass: glib type struct are ignored

  • record DataInputStreamPrivate: Disguised records are ignored

  • record DataOutputStreamClass: glib type struct are ignored

  • record DataOutputStreamPrivate: Disguised records are ignored

  • record DatagramBasedInterface: glib type struct are ignored

  • record DebugControllerDBusClass: glib type struct are ignored

  • record DebugControllerInterface: glib type struct are ignored

  • record DesktopAppInfoClass: glib type struct are ignored

  • record DesktopAppInfoLookupIface: glib type struct are ignored

  • record DriveIface: glib type struct are ignored

  • record DtlsClientConnectionInterface: glib type struct are ignored

  • record DtlsConnectionInterface: glib type struct are ignored

  • record DtlsServerConnectionInterface: glib type struct are ignored

  • record EmblemClass: glib type struct are ignored

  • record EmblemedIconClass: glib type struct are ignored

  • record EmblemedIconPrivate: Disguised records are ignored

  • record FileDescriptorBasedIface: glib type struct are ignored

  • record FileEnumeratorClass: glib type struct are ignored

  • record FileEnumeratorPrivate: Disguised records are ignored

  • record FileIOStreamClass: glib type struct are ignored

  • record FileIOStreamPrivate: Disguised records are ignored

  • record FileIconClass: glib type struct are ignored

  • record FileIface: glib type struct are ignored

  • record FileInfoClass: glib type struct are ignored

  • record FileInputStreamClass: glib type struct are ignored

  • record FileInputStreamPrivate: Disguised records are ignored

  • record FileMonitorClass: glib type struct are ignored

  • record FileMonitorPrivate: Disguised records are ignored

  • record FileOutputStreamClass: glib type struct are ignored

  • record FileOutputStreamPrivate: Disguised records are ignored

  • record FilenameCompleterClass: glib type struct are ignored

  • record FilterInputStreamClass: glib type struct are ignored

  • record FilterOutputStreamClass: glib type struct are ignored

  • record IOExtension: Disguised records are ignored

  • record IOExtensionPoint: Disguised records are ignored

  • record IOModuleClass: glib type struct are ignored

  • record IOModuleScope: Disguised records are ignored

  • record IOSchedulerJob: Disguised records are ignored

  • record IOStreamAdapter: Disguised records are ignored

  • record IOStreamClass: glib type struct are ignored

  • record IOStreamPrivate: Disguised records are ignored

  • record IconIface: glib type struct are ignored

  • record InetAddressClass: glib type struct are ignored

  • record InetAddressMaskClass: glib type struct are ignored

  • record InetAddressMaskPrivate: Disguised records are ignored

  • record InetAddressPrivate: Disguised records are ignored

  • record InetSocketAddressClass: glib type struct are ignored

  • record InetSocketAddressPrivate: Disguised records are ignored

  • record InitableIface: glib type struct are ignored

  • record InputStreamClass: glib type struct are ignored

  • record InputStreamPrivate: Disguised records are ignored

  • record ListModelInterface: glib type struct are ignored

  • record ListStoreClass: glib type struct are ignored

  • record LoadableIconIface: glib type struct are ignored

  • record MemoryInputStreamClass: glib type struct are ignored

  • record MemoryInputStreamPrivate: Disguised records are ignored

  • record MemoryMonitorInterface: glib type struct are ignored

  • record MemoryOutputStreamClass: glib type struct are ignored

  • record MemoryOutputStreamPrivate: Disguised records are ignored

  • record MenuAttributeIterClass: glib type struct are ignored

  • record MenuAttributeIterPrivate: Disguised records are ignored

  • record MenuLinkIterClass: glib type struct are ignored

  • record MenuLinkIterPrivate: Disguised records are ignored

  • record MenuModelClass: glib type struct are ignored

  • record MenuModelPrivate: Disguised records are ignored

  • record MountIface: glib type struct are ignored

  • record MountOperationClass: glib type struct are ignored

  • record MountOperationPrivate: Disguised records are ignored

  • record NativeSocketAddressClass: glib type struct are ignored

  • record NativeSocketAddressPrivate: Disguised records are ignored

  • record NativeVolumeMonitorClass: glib type struct are ignored

  • record NetworkAddressClass: glib type struct are ignored

  • record NetworkAddressPrivate: Disguised records are ignored

  • record NetworkMonitorInterface: glib type struct are ignored

  • record NetworkServiceClass: glib type struct are ignored

  • record NetworkServicePrivate: Disguised records are ignored

  • record OutputStreamClass: glib type struct are ignored

  • record OutputStreamPrivate: Disguised records are ignored

  • record PermissionClass: glib type struct are ignored

  • record PermissionPrivate: Disguised records are ignored

  • record PollableInputStreamInterface: glib type struct are ignored

  • record PollableOutputStreamInterface: glib type struct are ignored

  • record PowerProfileMonitorInterface: glib type struct are ignored

  • record ProxyAddressClass: glib type struct are ignored

  • record ProxyAddressEnumeratorClass: glib type struct are ignored

  • record ProxyAddressEnumeratorPrivate: Disguised records are ignored

  • record ProxyAddressPrivate: Disguised records are ignored

  • record ProxyInterface: glib type struct are ignored

  • record ProxyResolverInterface: glib type struct are ignored

  • record RemoteActionGroupInterface: glib type struct are ignored

  • record ResolverClass: glib type struct are ignored

  • record ResolverPrivate: Disguised records are ignored

  • record SeekableIface: glib type struct are ignored

  • record SettingsBackendClass: glib type struct are ignored

  • record SettingsBackendPrivate: Disguised records are ignored

  • record SettingsClass: glib type struct are ignored

  • record SettingsPrivate: Disguised records are ignored

  • record SimpleActionGroupClass: glib type struct are ignored

  • record SimpleActionGroupPrivate: Disguised records are ignored

  • record SimpleAsyncResultClass: glib type struct are ignored

  • record SimpleProxyResolverClass: glib type struct are ignored

  • record SimpleProxyResolverPrivate: Disguised records are ignored

  • record SocketAddressClass: glib type struct are ignored

  • record SocketAddressEnumeratorClass: glib type struct are ignored

  • record SocketClass: glib type struct are ignored

  • record SocketClientClass: glib type struct are ignored

  • record SocketClientPrivate: Disguised records are ignored

  • record SocketConnectableIface: glib type struct are ignored

  • record SocketConnectionClass: glib type struct are ignored

  • record SocketConnectionPrivate: Disguised records are ignored

  • record SocketControlMessageClass: glib type struct are ignored

  • record SocketControlMessagePrivate: Disguised records are ignored

  • record SocketListenerClass: glib type struct are ignored

  • record SocketListenerPrivate: Disguised records are ignored

  • record SocketPrivate: Disguised records are ignored

  • record SocketServiceClass: glib type struct are ignored

  • record SocketServicePrivate: Disguised records are ignored

  • record TaskClass: glib type struct are ignored

  • record TcpConnectionClass: glib type struct are ignored

  • record TcpConnectionPrivate: Disguised records are ignored

  • record TcpWrapperConnectionClass: glib type struct are ignored

  • record TcpWrapperConnectionPrivate: Disguised records are ignored

  • record ThemedIconClass: glib type struct are ignored

  • record ThreadedSocketServiceClass: glib type struct are ignored

  • record ThreadedSocketServicePrivate: Disguised records are ignored

  • record TlsBackendInterface: glib type struct are ignored

  • record TlsCertificateClass: glib type struct are ignored

  • record TlsCertificatePrivate: Disguised records are ignored

  • record TlsClientConnectionInterface: glib type struct are ignored

  • record TlsConnectionClass: glib type struct are ignored

  • record TlsConnectionPrivate: Disguised records are ignored

  • record TlsDatabaseClass: glib type struct are ignored

  • record TlsDatabasePrivate: Disguised records are ignored

  • record TlsFileDatabaseInterface: glib type struct are ignored

  • record TlsInteractionClass: glib type struct are ignored

  • record TlsInteractionPrivate: Disguised records are ignored

  • record TlsPasswordClass: glib type struct are ignored

  • record TlsPasswordPrivate: Disguised records are ignored

  • record TlsServerConnectionInterface: glib type struct are ignored

  • record UnixConnectionClass: glib type struct are ignored

  • record UnixConnectionPrivate: Disguised records are ignored

  • record UnixCredentialsMessageClass: glib type struct are ignored

  • record UnixCredentialsMessagePrivate: Disguised records are ignored

  • record UnixFDListClass: glib type struct are ignored

  • record UnixFDListPrivate: Disguised records are ignored

  • record UnixFDMessageClass: glib type struct are ignored

  • record UnixFDMessagePrivate: Disguised records are ignored

  • record UnixInputStreamClass: glib type struct are ignored

  • record UnixInputStreamPrivate: Disguised records are ignored

  • record UnixMountMonitorClass: glib type struct are ignored

  • record UnixOutputStreamClass: glib type struct are ignored

  • record UnixOutputStreamPrivate: Disguised records are ignored

  • record UnixSocketAddressClass: glib type struct are ignored

  • record UnixSocketAddressPrivate: Disguised records are ignored

  • record VfsClass: glib type struct are ignored

  • record VolumeIface: glib type struct are ignored

  • record VolumeMonitorClass: glib type struct are ignored

  • record ZlibCompressorClass: glib type struct are ignored

  • record ZlibDecompressorClass: glib type struct are ignored

Properties

Link copied to clipboard

The value returned by handlers of the signals generated by the gdbus-codegen tool to indicate that a method call has been handled by an implementation. It is equal to true, but using this macro is sometimes more readable.

Link copied to clipboard

The value returned by handlers of the signals generated by the gdbus-codegen tool to indicate that a method call has not been handled by an implementation. It is equal to false, but using this macro is sometimes more readable.

Link copied to clipboard

Extension point for debug control functionality. See extending-gio.

Extension point for default handler to URI association. See extending-gio.

Link copied to clipboard

The string used to obtain a Unix device path with g_drive_get_identifier().

Link copied to clipboard

A key in the "access" namespace for checking deletion privileges.

Link copied to clipboard

A key in the "access" namespace for getting execution privileges.

Link copied to clipboard

A key in the "access" namespace for getting read privileges.

Link copied to clipboard

A key in the "access" namespace for checking renaming privileges.

Link copied to clipboard

A key in the "access" namespace for checking trashing privileges.

Link copied to clipboard

A key in the "access" namespace for getting write privileges.

Link copied to clipboard

A key in the "dos" namespace for checking if the file's archive flag is set.

Link copied to clipboard

A key in the "dos" namespace for checking if the file is a NTFS mount point (a volume mount or a junction point).

Link copied to clipboard

A key in the "dos" namespace for checking if the file's backup flag is set.

Link copied to clipboard

A key in the "dos" namespace for getting the file NTFS reparse tag.

Link copied to clipboard

A key in the "etag" namespace for getting the value of the file's entity tag.

Link copied to clipboard

A key in the "filesystem" namespace for getting the number of bytes of free space left on the file system.

Link copied to clipboard

A key in the "filesystem" namespace for checking if the file system is read only.

Link copied to clipboard

A key in the "filesystem" namespace for checking if the file system is remote.

Link copied to clipboard

A key in the "filesystem" namespace for getting the total size (in bytes) of the file system, used in g_file_query_filesystem_info().

Link copied to clipboard

A key in the "filesystem" namespace for getting the file system's type.

Link copied to clipboard

A key in the "filesystem" namespace for hinting a file manager application whether it should preview (e.g. thumbnail) files on the file system.

Link copied to clipboard

A key in the "filesystem" namespace for getting the number of bytes used by data on the file system.

Link copied to clipboard

A key in the "gvfs" namespace that gets the name of the current GVFS backend in use.

Link copied to clipboard

A key in the "id" namespace for getting a file identifier.

Link copied to clipboard

A key in the "id" namespace for getting the file system identifier.

Link copied to clipboard

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be ejected.

Link copied to clipboard

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is mountable.

Link copied to clipboard

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be polled.

Link copied to clipboard

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started.

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be started degraded.

Link copied to clipboard

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be stopped.

Link copied to clipboard

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is unmountable.

Link copied to clipboard

A key in the "mountable" namespace for getting the HAL UDI for the mountable file.

A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is automatically polled for media.

Link copied to clipboard

A key in the "mountable" namespace for getting the #GDriveStartStopType.

Link copied to clipboard

A key in the "mountable" namespace for getting the unix device.

A key in the "mountable" namespace for getting the unix device file.

Link copied to clipboard

A key in the "owner" namespace for getting the file owner's group.

Link copied to clipboard

A key in the "owner" namespace for getting the user name of the file's owner.

Link copied to clipboard

A key in the "owner" namespace for getting the real name of the user that owns the file.

Link copied to clipboard

A key in the "preview" namespace for getting a #GIcon that can be used to get preview of the file.

Link copied to clipboard

A key in the "recent" namespace for getting time, when the metadata for the file in recent:/// was last changed.

Link copied to clipboard

A key in the "selinux" namespace for getting the file's SELinux context.

Link copied to clipboard

A key in the "standard" namespace for getting the amount of disk space that is consumed by the file (in bytes).

Link copied to clipboard

A key in the "standard" namespace for getting the content type of the file.

Link copied to clipboard

A key in the "standard" namespace for getting the copy name of the file.

Link copied to clipboard

A key in the "standard" namespace for getting the description of the file.

Link copied to clipboard

A key in the "standard" namespace for getting the display name of the file.

Link copied to clipboard

A key in the "standard" namespace for edit name of the file.

A key in the "standard" namespace for getting the fast content type.

Link copied to clipboard

A key in the "standard" namespace for getting the icon for the file.

Link copied to clipboard

A key in the "standard" namespace for checking if a file is a backup file.

Link copied to clipboard

A key in the "standard" namespace for checking if a file is hidden.

Link copied to clipboard

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.

Link copied to clipboard

A key in the "standard" namespace for checking if a file is virtual.

Link copied to clipboard

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 %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET for the persistent URI.

Link copied to clipboard

A key in the "standard" namespace for getting the name of the file.

Link copied to clipboard

A key in the "standard" namespace for getting the file's size (in bytes).

Link copied to clipboard

A key in the "standard" namespace for setting the sort order of a file.

Link copied to clipboard

A key in the "standard" namespace for getting the symbolic icon for the file.

Link copied to clipboard

A key in the "standard" namespace for getting the symlink target, if the file is a symlink.

Link copied to clipboard

A key in the "standard" namespace for getting the target URI for the file, in the case of %G_FILE_TYPE_SHORTCUT or %G_FILE_TYPE_MOUNTABLE files.

Link copied to clipboard

A key in the "standard" namespace for storing file types.

Link copied to clipboard

A key in the "thumbnail" namespace for checking whether the thumbnail is outdated.

Link copied to clipboard

A key in the "thumbnail" namespace for getting the path to the thumbnail image.

Link copied to clipboard

A key in the "thumbnail" namespace for checking if thumbnailing failed.

Link copied to clipboard

A key in the "time" namespace for getting the time the file was last accessed.

Link copied to clipboard

A key in the "time" namespace for getting the microseconds of the time the file was last accessed.

Link copied to clipboard

A key in the "time" namespace for getting the time the file was last changed.

Link copied to clipboard

A key in the "time" namespace for getting the microseconds of the time the file was last changed.

Link copied to clipboard

A key in the "time" namespace for getting the time the file was created.

Link copied to clipboard

A key in the "time" namespace for getting the microseconds of the time the file was created.

Link copied to clipboard

A key in the "time" namespace for getting the time the file was last modified.

Link copied to clipboard

A key in the "time" namespace for getting the microseconds of the time the file was last modified.

Link copied to clipboard

A key in the "trash" namespace for getting the deletion date and time of a file inside the trash:/// folder.

Link copied to clipboard

A key in the "trash" namespace for getting the number of (toplevel) items that are present in the trash:/// folder.

Link copied to clipboard

A key in the "trash" namespace for getting the original path of a file inside the trash:/// folder before it was trashed.

Link copied to clipboard

A key in the "unix" namespace for getting the block size for the file system.

Link copied to clipboard

A key in the "unix" namespace for getting the number of blocks allocated for the file.

Link copied to clipboard

A key in the "unix" namespace for getting the device id of the device the file is located on (see stat() documentation).

Link copied to clipboard

A key in the "unix" namespace for getting the group ID for the file.

Link copied to clipboard

A key in the "unix" namespace for getting the inode of the file.

Link copied to clipboard

A key in the "unix" namespace for checking if the file represents a UNIX mount point.

Link copied to clipboard

A key in the "unix" namespace for getting the mode of the file (e.g. whether the file is a regular file, symlink, etc).

Link copied to clipboard

A key in the "unix" namespace for getting the number of hard links for a file.

Link copied to clipboard

A key in the "unix" namespace for getting the device ID for the file (if it is a special file).

Link copied to clipboard

A key in the "unix" namespace for getting the user ID for the file.

Link copied to clipboard

Extension point for memory usage monitoring functionality. See extending-gio.

Link copied to clipboard

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.

Link copied to clipboard

The menu item attribute that holds the namespace for all action names in menus that are linked from this item.

Link copied to clipboard

The menu item attribute which holds the icon of the item.

Link copied to clipboard

The menu item attribute which holds the label of the item.

Link copied to clipboard

The menu item attribute which holds the target with which the item's action will be activated.

Link copied to clipboard

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.

Link copied to clipboard

The name of the link that associates a menu item with a submenu.

Link copied to clipboard

Extension point for network status monitoring functionality. See extending-gio.

Extension point for power profile usage monitoring functionality. See extending-gio.

Link copied to clipboard

Extension point for proxy functionality. See extending-gio.

Link copied to clipboard

Extension point for proxy resolving functionality. See extending-gio.

Link copied to clipboard

Extension point for #GSettingsBackend functionality.

Link copied to clipboard

Extension point for TLS functionality via #GTlsBackend. See extending-gio.

Link copied to clipboard

The purpose used to verify the client certificate in a TLS connection. Used by TLS servers.

Link copied to clipboard

The purpose used to verify the server certificate in a TLS connection. This is the most common purpose in use. Used by TLS clients.

Link copied to clipboard

Extension point for #GVfs functionality. See extending-gio.

Link copied to clipboard

The string used to obtain the volume class with g_volume_get_identifier().

Link copied to clipboard

The string used to obtain a Hal UDI with g_volume_get_identifier().

Link copied to clipboard

The string used to obtain a filesystem label with g_volume_get_identifier().

Link copied to clipboard

The string used to obtain a NFS mount with g_volume_get_identifier().

Link copied to clipboard

The string used to obtain a Unix device path with g_volume_get_identifier().

Link copied to clipboard

The string used to obtain a UUID with g_volume_get_identifier().

Link copied to clipboard

Extension point for volume monitor functionality. See extending-gio.

Functions

Link copied to clipboard
fun actionNameIsValid(actionName: String): Boolean

Checks if @action_name is valid.

Link copied to clipboard
fun actionPrintDetailedName(actionName: String, targetValue: <Error class: unknown class>? = null): String

Formats a detailed action name from @action_name and @target_value.

Link copied to clipboard
fun appInfoCreateFromCommandline(commandline: String, applicationName: String? = null, flags: AppInfoCreateFlags): <Error class: unknown class><AppInfo>

Creates a new #GAppInfo from the given information.

Link copied to clipboard
fun appInfoGetAll(): <Error class: unknown class>

Gets a list of all of the applications currently registered on this system.

Link copied to clipboard
fun appInfoGetAllForType(contentType: String): <Error class: unknown class>

Gets a list of all #GAppInfos for a given content type, including the recommended and fallback #GAppInfos. See g_app_info_get_recommended_for_type() and g_app_info_get_fallback_for_type().

Link copied to clipboard
fun appInfoGetDefaultForType(contentType: String, mustSupportUris: Boolean): AppInfo?

Gets the default #GAppInfo for a given content type.

Link copied to clipboard

Gets the default application for handling URIs with the given URI scheme. A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip".

Link copied to clipboard
fun appInfoGetFallbackForType(contentType: String): <Error class: unknown class>

Gets a list of fallback #GAppInfos for a given content type, i.e. those applications which claim to support the given content type by MIME type subclassing and not directly.

Link copied to clipboard
fun appInfoGetRecommendedForType(contentType: String): <Error class: unknown class>

Gets a list of recommended #GAppInfos for a given content type, i.e. those applications which claim to support the given content type exactly, and not by MIME type subclassing. Note that the first application of the list is the last used one, i.e. the last one for which g_app_info_set_as_last_used_for_type() has been called.

Link copied to clipboard
fun appInfoLaunchDefaultForUri(uri: String, context: AppLaunchContext? = null): <Error class: unknown class><Boolean>

Utility function that launches the default application registered to handle the specified uri. Synchronous I/O is done on the uri to detect the type of the file if required.

Link copied to clipboard
fun appInfoLaunchDefaultForUriAsync(uri: String, context: AppLaunchContext? = null, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Async version of g_app_info_launch_default_for_uri().

Link copied to clipboard
fun appInfoLaunchDefaultForUriFinish(result: AsyncResult): <Error class: unknown class><Boolean>

Finishes an asynchronous launch-default-for-uri operation.

Link copied to clipboard

Removes all changes to the type associations done by g_app_info_set_as_default_for_type(), g_app_info_set_as_default_for_extension(), g_app_info_add_supports_type() or g_app_info_remove_supports_type().

Link copied to clipboard
fun asyncInitableNewvAsync(objectType: <Error class: unknown class>, nParameters: <Error class: unknown class>, parameters: <Error class: unknown class>, ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Helper function for constructing #GAsyncInitable object. This is similar to g_object_newv() but also initializes the object asynchronously.

Link copied to clipboard
fun busGet(busType: BusType, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously connects to the message bus specified by @bus_type.

Link copied to clipboard
fun busGetFinish(res: AsyncResult): <Error class: unknown class><DBusConnection>

Finishes an operation started with g_bus_get().

Link copied to clipboard
fun busGetSync(busType: BusType, cancellable: Cancellable? = null): <Error class: unknown class><DBusConnection>

Synchronously connects to the message bus specified by @bus_type. Note that the returned object may shared with other callers, e.g. if two separate parts of a process calls this function with the same @bus_type, they will share the same object.

Link copied to clipboard
fun busOwnName(busType: BusType, name: String, flags: BusNameOwnerFlags, busAcquiredClosure: <Error class: unknown class>? = null, nameAcquiredClosure: <Error class: unknown class>? = null, nameLostClosure: <Error class: unknown class>? = null): <Error class: unknown class>

Version of g_bus_own_name() using closures instead of callbacks for easier binding in other languages.

Link copied to clipboard
fun busOwnNameOnConnection(connection: DBusConnection, name: String, flags: BusNameOwnerFlags, nameAcquiredClosure: <Error class: unknown class>? = null, nameLostClosure: <Error class: unknown class>? = null): <Error class: unknown class>

Version of g_bus_own_name_on_connection() using closures instead of callbacks for easier binding in other languages.

Link copied to clipboard
fun busUnownName(ownerId: <Error class: unknown class>)

Stops owning a name.

Link copied to clipboard
fun busUnwatchName(watcherId: <Error class: unknown class>)

Stops watching a name.

Link copied to clipboard
fun busWatchName(busType: BusType, name: String, flags: BusNameWatcherFlags, nameAppearedClosure: <Error class: unknown class>? = null, nameVanishedClosure: <Error class: unknown class>? = null): <Error class: unknown class>

Version of g_bus_watch_name() using closures instead of callbacks for easier binding in other languages.

Link copied to clipboard
fun busWatchNameOnConnection(connection: DBusConnection, name: String, flags: BusNameWatcherFlags, nameAppearedClosure: <Error class: unknown class>? = null, nameVanishedClosure: <Error class: unknown class>? = null): <Error class: unknown class>

Version of g_bus_watch_name_on_connection() using closures instead of callbacks for easier binding in other languages.

Link copied to clipboard

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).

Link copied to clipboard
fun contentTypeEquals(type1: String, type2: String): Boolean

Compares two content types for equality.

Link copied to clipboard

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

Link copied to clipboard

Gets the human readable description of the content type.

Link copied to clipboard

Gets the generic icon name for a content type.

Link copied to clipboard

Gets the icon for a content type.

Link copied to clipboard

Get the list of directories which MIME data is loaded from. See g_content_type_set_mime_dirs() for details.

Link copied to clipboard

Gets the mime type for the content type, if one is registered.

Link copied to clipboard

Gets the symbolic icon for a content type.

Link copied to clipboard

Tries to guess the type of the tree with root @root, by looking at the files it contains. The result is an array of content types, with the best guess coming first.

Link copied to clipboard
fun contentTypeIsA(type: String, supertype: String): Boolean

Determines if @type is a subset of @supertype.

Link copied to clipboard

Determines if @type is a subset of @mime_type. Convenience wrapper around g_content_type_is_a().

Link copied to clipboard

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.

Link copied to clipboard
fun contentTypeSetMimeDirs(dirs: List<String>? = null)

Set the list of directories used by GIO to load the MIME database. If @dirs is null, the directories used are the default:

Link copied to clipboard
fun contentTypesGetRegistered(): <Error class: unknown class>

Gets a list of strings containing all the registered content types known to the system. The list and its data should be freed using g_list_free_full (list, g_free).

Link copied to clipboard

Escape @string so it can appear in a D-Bus address as the value part of a key-value pair.

Link copied to clipboard
fun dbusAddressGetForBusSync(busType: BusType, cancellable: Cancellable? = null): <Error class: unknown class><String>

Synchronously looks up the D-Bus address for the well-known message bus instance specified by @bus_type. This may involve using various platform specific mechanisms.

Link copied to clipboard
fun dbusAddressGetStream(address: String, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

Asynchronously connects to an endpoint specified by @address and sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. @address must be in the D-Bus address format.

Link copied to clipboard
fun dbusErrorEncodeGerror(error: <Error class: unknown class>): String

Creates a D-Bus error name to use for @error. If @error matches a registered error (cf. g_dbus_error_register_error()), the corresponding D-Bus error name will be returned.

Link copied to clipboard
fun dbusErrorGetRemoteError(error: <Error class: unknown class>): String

Gets the D-Bus error name used for @error, if any.

Link copied to clipboard
fun dbusErrorIsRemoteError(error: <Error class: unknown class>): Boolean

Checks if @error represents an error received via D-Bus from a remote peer. If so, use g_dbus_error_get_remote_error() to get the name of the error.

Link copied to clipboard
fun dbusErrorNewForDbusError(dbusErrorName: String, dbusErrorMessage: String): <Error class: unknown class>

Creates a #GError based on the contents of @dbus_error_name and

Link copied to clipboard
fun dbusErrorQuark(): <Error class: unknown class>
Link copied to clipboard
fun dbusErrorRegisterError(errorDomain: <Error class: unknown class>, errorCode: Int, dbusErrorName: String): Boolean

Creates an association to map between @dbus_error_name and #GErrors specified by @error_domain and @error_code.

Link copied to clipboard
fun dbusErrorStripRemoteError(error: <Error class: unknown class>): Boolean

Looks for extra information in the error message used to recover the D-Bus error name and strips it if found. If stripped, the message field in @error will correspond exactly to what was received on the wire.

Link copied to clipboard
fun dbusErrorUnregisterError(errorDomain: <Error class: unknown class>, errorCode: Int, dbusErrorName: String): Boolean

Destroys an association previously set up with g_dbus_error_register_error().

Link copied to clipboard

This is a language binding friendly version of g_dbus_escape_object_path_bytestring().

Link copied to clipboard

Generate a D-Bus GUID that can be used with e.g. g_dbus_connection_new().

Link copied to clipboard
fun dbusGvalueToGvariant(gvalue: <Error class: unknown class>, type: <Error class: unknown class>): <Error class: unknown class>

Converts a #GValue to a #GVariant of the type indicated by the @type parameter.

Link copied to clipboard
fun dbusGvariantToGvalue(value: <Error class: unknown class>, outGvalue: <Error class: unknown class>)

Converts a #GVariant to a #GValue. If @value is floating, it is consumed.

Link copied to clipboard

Checks if @string is a D-Bus address.

Link copied to clipboard

Check whether @string is a valid D-Bus error name.

Link copied to clipboard
fun dbusIsGuid(string: String): Boolean

Checks if @string is a D-Bus GUID.

Link copied to clipboard

Checks if @string is a valid D-Bus interface name.

Link copied to clipboard

Checks if @string is a valid D-Bus member (e.g. signal or method) name.

Link copied to clipboard
fun dbusIsName(string: String): Boolean

Checks if @string is a valid D-Bus bus name (either unique or well-known).

Link copied to clipboard
fun dbusIsSupportedAddress(string: String): <Error class: unknown class><Boolean>

Like g_dbus_is_address() but also checks if the library supports the transports in @string and that key/value pairs for each transport are valid. See the specification of the D-Bus address format.

Link copied to clipboard

Checks if @string is a valid D-Bus unique bus name.

Link copied to clipboard
fun dtlsClientConnectionNew(baseSocket: DatagramBased, serverIdentity: SocketConnectable? = null): <Error class: unknown class><DtlsClientConnection>

Creates a new #GDtlsClientConnection wrapping @base_socket which is assumed to communicate with the server identified by @server_identity.

Link copied to clipboard
fun dtlsServerConnectionNew(baseSocket: DatagramBased, certificate: TlsCertificate? = null): <Error class: unknown class><DtlsServerConnection>

Creates a new #GDtlsServerConnection wrapping @base_socket.

Link copied to clipboard

Creates a #GFile with the given argument from the command line. The value of @arg can be either a URI, an absolute path or a relative path resolved relative to the current working directory. This operation never fails, but the returned object might not support any I/O operation if @arg points to a malformed path.

Link copied to clipboard

Creates a #GFile with the given argument from the command line.

Link copied to clipboard

Constructs a #GFile for a given path. This operation never fails, but the returned object might not support any I/O operation if @path is malformed.

Link copied to clipboard

Constructs a #GFile for a given URI. This operation never fails, but the returned object might not support any I/O operation if @uri is malformed or if the uri type is not supported.

Link copied to clipboard
fun fileParseName(parseName: String): File

Constructs a #GFile with the given @parse_name (i.e. something given by g_file_get_parse_name()). This operation never fails, but the returned object might not support any I/O operation if the @parse_name cannot be parsed.

Link copied to clipboard
fun iconDeserialize(value: <Error class: unknown class>): Icon?

Deserializes a #GIcon previously serialized using g_icon_serialize().

Link copied to clipboard
fun iconNewForString(str: String): <Error class: unknown class><Icon>

Generate a #GIcon instance from @str. This function can fail if

Link copied to clipboard

Converts errno.h error codes into GIO error codes. The fallback value %G_IO_ERROR_FAILED is returned for error codes not currently handled (but note that future GLib releases may return a more specific value instead).

Link copied to clipboard
fun ioErrorQuark(): <Error class: unknown class>

Gets the GIO Error Quark.

Link copied to clipboard
fun ioModulesLoadAllInDirectory(dirname: String): <Error class: unknown class>

Loads all the modules in the specified directory.

Link copied to clipboard

Scans all the modules in the specified directory, ensuring that any extension point implemented by a module is registered.

Link copied to clipboard

Cancels all cancellable I/O jobs.

Link copied to clipboard
fun ioSchedulerPushJob(jobFunc: IOSchedulerJobFunc, ioPriority: Int, cancellable: Cancellable? = null)

Schedules the I/O job to run in another thread.

Link copied to clipboard
fun keyfileSettingsBackendNew(filename: String, rootPath: String, rootGroup: String? = null): SettingsBackend

Creates a keyfile-backed #GSettingsBackend.

Link copied to clipboard

Gets a reference to the default #GMemoryMonitor for the system.

Link copied to clipboard

Creates a memory-backed #GSettingsBackend.

Link copied to clipboard

Gets the default #GNetworkMonitor for the system.

Link copied to clipboard

Creates a readonly #GSettingsBackend.

Link copied to clipboard
fun pollableSourceNew(pollableStream: <Error class: unknown class>): <Error class: unknown class>

Utility method for #GPollableInputStream and #GPollableOutputStream implementations. Creates a new #GSource that expects a callback of type #GPollableSourceFunc. The new source does not actually do anything on its own; use g_source_add_child_source() to add other sources to it to cause it to trigger.

Link copied to clipboard
fun pollableSourceNewFull(pollableStream: <Error class: unknown class>, childSource: <Error class: unknown class>? = null, cancellable: Cancellable? = null): <Error class: unknown class>

Utility method for #GPollableInputStream and #GPollableOutputStream implementations. Creates a new #GSource, as with g_pollable_source_new(), but also attaching @child_source (with a dummy callback), and @cancellable, if they are non-null.

Link copied to clipboard

Gets a reference to the default #GPowerProfileMonitor for the system.

Link copied to clipboard

Find the gio-proxy extension point for a proxy implementation that supports the specified protocol.

Link copied to clipboard

Gets the default #GProxyResolver for the system.

Link copied to clipboard
fun resolveException(error: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
fun resolverErrorQuark(): <Error class: unknown class>

Gets the #GResolver Error Quark.

Link copied to clipboard
fun resourceErrorQuark(): <Error class: unknown class>

Gets the #GResource Error Quark.

Link copied to clipboard
fun resourceLoad(filename: String): <Error class: unknown class><Resource>

Loads a binary resource bundle and creates a #GResource representation of it, allowing you to query it for data.

Link copied to clipboard
fun resourcesEnumerateChildren(path: String, lookupFlags: ResourceLookupFlags): <Error class: unknown class><List<String>>

Returns all the names of children at the specified @path in the set of globally registered resources. The return result is a null terminated list of strings which should be released with g_strfreev().

Link copied to clipboard
fun resourcesLookupData(path: String, lookupFlags: ResourceLookupFlags): <Error class: unknown class><<Error class: unknown class>>

Looks for a file at the specified @path in the set of globally registered resources and returns a #GBytes that lets you directly access the data in memory.

Link copied to clipboard
fun resourcesOpenStream(path: String, lookupFlags: ResourceLookupFlags): <Error class: unknown class><InputStream>

Looks for a file at the specified @path in the set of globally registered resources and returns a #GInputStream that lets you read the data.

Link copied to clipboard

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 g_resources_lookup_data().

Link copied to clipboard

Unregisters the resource from the process-global set of resources.

Link copied to clipboard

Gets the default system schema source.

Link copied to clipboard
fun simpleAsyncReportGerrorInIdle(object: <Error class: unknown class>? = null, callback: AsyncReadyCallback, error: <Error class: unknown class>)

Reports an error in an idle function. Similar to g_simple_async_report_error_in_idle(), but takes a #GError rather than building a new one.

Link copied to clipboard

Gets the default #GTlsBackend for the system.

Link copied to clipboard
fun tlsChannelBindingErrorQuark(): <Error class: unknown class>

Gets the TLS channel binding error quark.

Link copied to clipboard
fun tlsClientConnectionNew(baseIoStream: IOStream, serverIdentity: SocketConnectable? = null): <Error class: unknown class><TlsClientConnection>

Creates a new #GTlsClientConnection wrapping @base_io_stream (which must have pollable input and output streams) which is assumed to communicate with the server identified by @server_identity.

Link copied to clipboard
fun tlsErrorQuark(): <Error class: unknown class>

Gets the TLS error quark.

Link copied to clipboard
fun tlsFileDatabaseNew(anchors: String): <Error class: unknown class><TlsFileDatabase>

Creates a new #GTlsFileDatabase which uses anchor certificate authorities in @anchors to verify certificate chains.

Link copied to clipboard
fun tlsServerConnectionNew(baseIoStream: IOStream, certificate: TlsCertificate? = null): <Error class: unknown class><TlsServerConnection>

Creates a new #GTlsServerConnection wrapping @base_io_stream (which must have pollable input and output streams).

Link copied to clipboard

Determines if @mount_path is considered an implementation of the OS. This is primarily used for hiding mountable and mounted volumes that only are used in the OS and has little to no relevance to the casual user.

Link copied to clipboard

Determines if @device_path is considered a block device path which is only used in implementation of the OS. This is primarily used for hiding mounted volumes that are intended as APIs for programs to read, and system administrators at a shell; rather than something that should, for example, appear in a GUI. For example, the Linux /proc filesystem.

Link copied to clipboard

Determines if @fs_type is considered a type of file system which is only used in implementation of the OS. This is primarily used for hiding mounted volumes that are intended as APIs for programs to read, and system administrators at a shell; rather than something that should, for example, appear in a GUI. For example, the Linux /proc filesystem.

Link copied to clipboard

Compares two unix mounts.

Link copied to clipboard

Makes a copy of @mount_entry.

Link copied to clipboard
fun unixMountFree(mountEntry: UnixMountEntry)

Frees a unix mount.

Link copied to clipboard

Gets the device path for a unix mount.

Link copied to clipboard

Gets the filesystem type for the unix mount.

Link copied to clipboard

Gets the mount path for a unix mount.

Link copied to clipboard

Gets a comma-separated list of mount options for the unix mount. For example, rw,relatime,seclabel,data=ordered.

Link copied to clipboard

Gets the root of the mount within the filesystem. This is useful e.g. for mounts created by bind operation, or btrfs subvolumes.

Link copied to clipboard

Guesses whether a Unix mount can be ejected.

Link copied to clipboard

Guesses the icon of a Unix mount.

Link copied to clipboard

Guesses the name of a Unix mount. The result is a translated string.

Link copied to clipboard

Guesses whether a Unix mount should be displayed in the UI.

Link copied to clipboard

Guesses the symbolic icon of a Unix mount.

Link copied to clipboard

Checks if a unix mount is mounted read only.

Link copied to clipboard

Checks if a Unix mount is a system mount. This is the Boolean OR of g_unix_is_system_fs_type(), g_unix_is_system_device_path() and g_unix_is_mount_path_system_internal() on @mount_entry’s properties.

Link copied to clipboard
fun unixMountPointsChangedSince(time: <Error class: unknown class>): Boolean

Checks if the unix mount points have changed since a given unix time.

Link copied to clipboard
fun unixMountsChangedSince(time: <Error class: unknown class>): Boolean

Checks if the unix mounts have changed since a given unix time.