Package-level declarations

Types

Link copied to clipboard
interface Action

#GAction represents a single named action.

Link copied to clipboard
class ActionEntry(pointer: <Error class: unknown class><<Error class: unknown class>>)

This struct defines a single action. It is for use with g_action_map_add_action_entries().

Link copied to clipboard
interface ActionGroup

#GActionGroup represents a group of actions. Actions can be used to expose functionality in a structured way, either from one part of a program to another, or to the outside world. Action groups are often used together with a #GMenuModel that provides additional representation data for displaying the actions to the user, e.g. in a menu.

Link copied to clipboard
interface ActionMap

The GActionMap interface is implemented by #GActionGroup implementations that operate by containing a number of named #GAction instances, such as #GSimpleActionGroup.

Link copied to clipboard
interface AppInfo

#GAppInfo and #GAppLaunchContext are used for describing and launching applications installed on the system.

Link copied to clipboard
class AppInfoCreateFlags(val mask: <Error class: unknown class>)

Flags used when creating a #GAppInfo.

Link copied to clipboard
open class AppInfoMonitor(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GAppInfoMonitor is a very simple object used for monitoring the app info database for changes (ie: newly installed or removed applications).

Link copied to clipboard
open class AppLaunchContext(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Link copied to clipboard
open class Application(pointer: <Error class: unknown class><<Error class: unknown class>>) : ActionGroup, ActionMap

A #GApplication is the foundation of an application. It wraps some low-level platform-specific services and is intended to act as the foundation for higher-level application classes such as #GtkApplication or #MxApplication. In general, you should not use this class outside of a higher level framework.

Link copied to clipboard
open class ApplicationCommandLine(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GApplicationCommandLine represents a command-line invocation of an application. It is created by #GApplication and emitted in the #GApplication::command-line signal and virtual function.

Link copied to clipboard
class ApplicationFlags(val mask: <Error class: unknown class>)

Flags used to define the behaviour of a #GApplication.

Link copied to clipboard
class AskPasswordFlags(val mask: <Error class: unknown class>)

#GAskPasswordFlags are used to request specific information from the user, or to notify the user of their choices in an authentication situation.

Link copied to clipboard
interface AsyncInitable

This is the asynchronous version of #GInitable; it behaves the same in all ways except that initialization is asynchronous. For more details see the descriptions on #GInitable.

Link copied to clipboard
typealias AsyncReadyCallback = (<Error class: unknown class>?, res: AsyncResult) -> Unit

Type definition for a function that will be called back when an asynchronous operation within GIO has been completed. #GAsyncReadyCallback callbacks from #GTask are guaranteed to be invoked in a later iteration of the g-main-context-push-thread-default where the #GTask was created. All other users of #GAsyncReadyCallback must likewise call it asynchronously in a later iteration of the main context.

Link copied to clipboard
interface AsyncResult

Provides a base class for implementing asynchronous function results.

Link copied to clipboard
open class BufferedInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : FilterInputStream, Seekable

Buffered input stream implements #GFilterInputStream and provides for buffered reads.

Link copied to clipboard
open class BufferedOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : FilterOutputStream, Seekable

Buffered output stream implements #GFilterOutputStream and provides for buffered writes.

Link copied to clipboard
typealias BusAcquiredCallback = (connection: DBusConnection, name: String) -> Unit

Invoked when a connection to a message bus has been obtained.

Link copied to clipboard
typealias BusNameAcquiredCallback = (connection: DBusConnection, name: String) -> Unit

Invoked when the name is acquired.

Link copied to clipboard
typealias BusNameAppearedCallback = (connection: DBusConnection, name: String, nameOwner: String) -> Unit

Invoked when the name being watched is known to have to have an owner.

Link copied to clipboard
typealias BusNameLostCallback = (connection: DBusConnection, name: String) -> Unit

Invoked when the name is lost or @connection has been closed.

Link copied to clipboard
class BusNameOwnerFlags(val mask: <Error class: unknown class>)

Flags used in g_bus_own_name().

Link copied to clipboard
typealias BusNameVanishedCallback = (connection: DBusConnection, name: String) -> Unit

Invoked when the name being watched is known not to have to have an owner.

Link copied to clipboard
class BusNameWatcherFlags(val mask: <Error class: unknown class>)

Flags used in g_bus_watch_name().

Link copied to clipboard

An enumeration for well-known message buses.

Link copied to clipboard
open class BytesIcon(pointer: <Error class: unknown class><<Error class: unknown class>>) : Icon, LoadableIcon

#GBytesIcon specifies an image held in memory in a common format (usually png) to be used as icon.

Link copied to clipboard
open class Cancellable(pointer: <Error class: unknown class><<Error class: unknown class>>)

GCancellable is a thread-safe operation cancellation stack used throughout GIO to allow for cancellation of synchronous and asynchronous operations.

Link copied to clipboard
typealias CancellableSourceFunc = (cancellable: Cancellable?) -> Boolean

This is the function type of the callback used for the #GSource returned by g_cancellable_source_new().

Link copied to clipboard
open class CharsetConverter(pointer: <Error class: unknown class><<Error class: unknown class>>) : Converter, Initable

#GCharsetConverter is an implementation of #GConverter based on GIConv.

Link copied to clipboard
interface Converter

#GConverter is implemented by objects that convert binary data in various ways. The conversion can be stateful and may fail at any place.

Link copied to clipboard
class ConverterFlags(val mask: <Error class: unknown class>)

Flags used when calling a g_converter_convert().

Link copied to clipboard
open class ConverterInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : FilterInputStream, PollableInputStream

Converter input stream implements #GInputStream and allows conversion of data of various types during reading.

Link copied to clipboard
open class ConverterOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : FilterOutputStream, PollableOutputStream

Converter output stream implements #GOutputStream and allows conversion of data of various types during reading.

Link copied to clipboard

Results returned from g_converter_convert().

Link copied to clipboard
open class Credentials(pointer: <Error class: unknown class><<Error class: unknown class>>)

The #GCredentials type is a reference-counted wrapper for native credentials. This information is typically used for identifying, authenticating and authorizing other processes.

Link copied to clipboard

Enumeration describing different kinds of native credential types.

Link copied to clipboard
interface DatagramBased

A #GDatagramBased is a networking interface for representing datagram-based communications. It is a more or less direct mapping of the core parts of the BSD socket API in a portable GObject interface. It is implemented by #GSocket, which wraps the UNIX socket API on UNIX and winsock2 on Windows.

Link copied to clipboard
typealias DatagramBasedSourceFunc = (datagramBased: DatagramBased, <Error class: unknown class>) -> Boolean

This is the function type of the callback used for the #GSource returned by g_datagram_based_create_source().

Link copied to clipboard
open class DataInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : BufferedInputStream

Data input stream implements #GInputStream and includes functions for reading structured data directly from a binary input stream.

Link copied to clipboard
open class DataOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : FilterOutputStream, Seekable

Data output stream implements #GOutputStream and includes functions for writing data directly to an output stream.

Link copied to clipboard

#GDataStreamByteOrder is used to ensure proper endianness of streaming data sources across various machine architectures.

Link copied to clipboard

#GDataStreamNewlineType is used when checking for or setting the line endings for a given file.

Link copied to clipboard
open class DBusActionGroup(pointer: <Error class: unknown class><<Error class: unknown class>>) : ActionGroup, RemoteActionGroup

#GDBusActionGroup is an implementation of the #GActionGroup interface that can be used as a proxy for an action group that is exported over D-Bus with g_dbus_connection_export_action_group().

Link copied to clipboard
class DBusAnnotationInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about an annotation.

Link copied to clipboard
class DBusArgInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about an argument for a method or a signal.

Link copied to clipboard
open class DBusAuthObserver(pointer: <Error class: unknown class><<Error class: unknown class>>)

The #GDBusAuthObserver type provides a mechanism for participating in how a #GDBusServer (or a #GDBusConnection) authenticates remote peers. Simply instantiate a #GDBusAuthObserver and connect to the signals you are interested in. Note that new signals may be added in the future

Link copied to clipboard
class DBusCallFlags(val mask: <Error class: unknown class>)

Flags used in g_dbus_connection_call() and similar APIs.

Link copied to clipboard
class DBusCapabilityFlags(val mask: <Error class: unknown class>)

Capabilities negotiated with the remote peer.

Link copied to clipboard
open class DBusConnection(pointer: <Error class: unknown class><<Error class: unknown class>>) : AsyncInitable, Initable

The #GDBusConnection type is used for D-Bus connections to remote peers such as a message buses. It is a low-level API that offers a lot of flexibility. For instance, it lets you establish a connection over any transport that can by represented as a #GIOStream.

Link copied to clipboard
class DBusConnectionFlags(val mask: <Error class: unknown class>)

Flags used when creating a new #GDBusConnection.

Link copied to clipboard

Error codes for the %G_DBUS_ERROR error domain.

Link copied to clipboard
class DBusErrorEntry(pointer: <Error class: unknown class><<Error class: unknown class>>)

Struct used in g_dbus_error_register_error_domain().

Link copied to clipboard
class DBusErrorException(error: <Error class: unknown class>, val code: DBusError)
Link copied to clipboard
interface DBusInterface

The #GDBusInterface type is the base type for D-Bus interfaces both on the service side (see #GDBusInterfaceSkeleton) and client side (see #GDBusProxy).

Link copied to clipboard
typealias DBusInterfaceGetPropertyFunc = (connection: DBusConnection, sender: String, objectPath: String, interfaceName: String, propertyName: String, <Error class: unknown class>) -> <Error class: unknown class>

The type of the @get_property function in #GDBusInterfaceVTable.

Link copied to clipboard
class DBusInterfaceInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about a D-Bus interface.

Link copied to clipboard
typealias DBusInterfaceMethodCallFunc = (connection: DBusConnection, sender: String, objectPath: String, interfaceName: String, methodName: String, <Error class: unknown class>, invocation: DBusMethodInvocation) -> Unit

The type of the @method_call function in #GDBusInterfaceVTable.

Link copied to clipboard
typealias DBusInterfaceSetPropertyFunc = (connection: DBusConnection, sender: String, objectPath: String, interfaceName: String, propertyName: String, <Error class: unknown class>, <Error class: unknown class>) -> Boolean

The type of the @set_property function in #GDBusInterfaceVTable.

Link copied to clipboard
open class DBusInterfaceSkeleton(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusInterface

Abstract base class for D-Bus interfaces on the service side.

Link copied to clipboard
class DBusInterfaceSkeletonFlags(val mask: <Error class: unknown class>)

Flags describing the behavior of a #GDBusInterfaceSkeleton instance.

Link copied to clipboard
class DBusInterfaceVTable(pointer: <Error class: unknown class><<Error class: unknown class>>)

Virtual table for handling properties and method calls for a D-Bus interface.

Link copied to clipboard
open class DBusMenuModel(pointer: <Error class: unknown class><<Error class: unknown class>>) : MenuModel

#GDBusMenuModel is an implementation of #GMenuModel that can be used as a proxy for a menu model that is exported over D-Bus with g_dbus_connection_export_menu_model().

Link copied to clipboard
open class DBusMessage(pointer: <Error class: unknown class><<Error class: unknown class>>)

A type for representing D-Bus messages that can be sent or received on a #GDBusConnection.

Link copied to clipboard

Enumeration used to describe the byte order of a D-Bus message.

Link copied to clipboard
typealias DBusMessageFilterFunction = (connection: DBusConnection, message: DBusMessage, incoming: Boolean) -> DBusMessage?

Signature for function used in g_dbus_connection_add_filter().

Link copied to clipboard
class DBusMessageFlags(val mask: <Error class: unknown class>)

Message flags used in #GDBusMessage.

Link copied to clipboard

Header fields used in #GDBusMessage.

Link copied to clipboard

Message types used in #GDBusMessage.

Link copied to clipboard
class DBusMethodInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about a method on an D-Bus interface.

Link copied to clipboard
open class DBusMethodInvocation(pointer: <Error class: unknown class><<Error class: unknown class>>)

Instances of the #GDBusMethodInvocation class are used when handling D-Bus method calls. It provides a way to asynchronously return results and errors.

Link copied to clipboard
class DBusNodeInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about nodes in a remote object hierarchy.

Link copied to clipboard
interface DBusObject

The #GDBusObject type is the base type for D-Bus objects on both the service side (see #GDBusObjectSkeleton) and the client side (see #GDBusObjectProxy). It is essentially just a container of interfaces.

Link copied to clipboard

The #GDBusObjectManager type is the base type for service- and client-side implementations of the standardized org.freedesktop.DBus.ObjectManager interface.

Link copied to clipboard
open class DBusObjectManagerClient(pointer: <Error class: unknown class><<Error class: unknown class>>) : AsyncInitable, DBusObjectManager, Initable

#GDBusObjectManagerClient is used to create, monitor and delete object proxies for remote objects exported by a #GDBusObjectManagerServer (or any code implementing the org.freedesktop.DBus.ObjectManager interface).

Link copied to clipboard
class DBusObjectManagerClientFlags(val mask: <Error class: unknown class>)

Flags used when constructing a #GDBusObjectManagerClient.

Link copied to clipboard
open class DBusObjectManagerServer(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusObjectManager

#GDBusObjectManagerServer is used to export #GDBusObject instances using the standardized org.freedesktop.DBus.ObjectManager interface. For example, remote D-Bus clients can get all objects and properties in a single call. Additionally, any change in the object hierarchy is broadcast using signals. This means that D-Bus clients can keep caches up to date by only listening to D-Bus signals.

Link copied to clipboard
open class DBusObjectProxy(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusObject

A #GDBusObjectProxy is an object used to represent a remote object with one or more D-Bus interfaces. Normally, you don't instantiate a #GDBusObjectProxy yourself - typically #GDBusObjectManagerClient is used to obtain it.

Link copied to clipboard
open class DBusObjectSkeleton(pointer: <Error class: unknown class><<Error class: unknown class>>) : DBusObject

A #GDBusObjectSkeleton instance is essentially a group of D-Bus interfaces. The set of exported interfaces on the object may be dynamic and change at runtime.

Link copied to clipboard
class DBusPropertyInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about a D-Bus property on a D-Bus interface.

Link copied to clipboard
class DBusPropertyInfoFlags(val mask: <Error class: unknown class>)

Flags describing the access control of a D-Bus property.

Link copied to clipboard
open class DBusProxy(pointer: <Error class: unknown class><<Error class: unknown class>>) : AsyncInitable, DBusInterface, Initable

#GDBusProxy is a base class used for proxies to access a D-Bus interface on a remote object. A #GDBusProxy can be constructed for both well-known and unique names.

Link copied to clipboard
class DBusProxyFlags(val mask: <Error class: unknown class>)

Flags used when constructing an instance of a #GDBusProxy derived class.

Link copied to clipboard
typealias DBusProxyTypeFunc = (manager: DBusObjectManagerClient, objectPath: String, interfaceName: String?) -> <Error class: unknown class>

Function signature for a function used to determine the #GType to use for an interface proxy (if @interface_name is not null) or object proxy (if @interface_name is null).

Link copied to clipboard
class DBusSendMessageFlags(val mask: <Error class: unknown class>)

Flags used when sending #GDBusMessages on a #GDBusConnection.

Link copied to clipboard
open class DBusServer(pointer: <Error class: unknown class><<Error class: unknown class>>) : Initable

#GDBusServer is a helper for listening to and accepting D-Bus connections. This can be used to create a new D-Bus server, allowing two peers to use the D-Bus protocol for their own specialized communication. A server instance provided in this way will not perform message routing or implement the org.freedesktop.DBus interface.

Link copied to clipboard
class DBusServerFlags(val mask: <Error class: unknown class>)

Flags used when creating a #GDBusServer.

Link copied to clipboard
typealias DBusSignalCallback = (connection: DBusConnection, senderName: String?, objectPath: String, interfaceName: String, signalName: String, <Error class: unknown class>) -> Unit

Signature for callback function used in g_dbus_connection_signal_subscribe().

Link copied to clipboard
class DBusSignalFlags(val mask: <Error class: unknown class>)

Flags used when subscribing to signals via g_dbus_connection_signal_subscribe().

Link copied to clipboard
class DBusSignalInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about a signal on a D-Bus interface.

Link copied to clipboard
typealias DBusSubtreeDispatchFunc = (connection: DBusConnection, sender: String, objectPath: String, interfaceName: String, node: String) -> DBusInterfaceVTable?

The type of the @dispatch function in #GDBusSubtreeVTable.

Link copied to clipboard
typealias DBusSubtreeEnumerateFunc = (connection: DBusConnection, sender: String, objectPath: String) -> List<String>

The type of the @enumerate function in #GDBusSubtreeVTable.

Link copied to clipboard
class DBusSubtreeFlags(val mask: <Error class: unknown class>)

Flags passed to g_dbus_connection_register_subtree().

Link copied to clipboard
class DBusSubtreeVTable(pointer: <Error class: unknown class><<Error class: unknown class>>)

Virtual table for handling subtrees registered with g_dbus_connection_register_subtree().

Link copied to clipboard

#GDebugController is an interface to expose control of debugging features and debug output.

Link copied to clipboard
open class DebugControllerDBus(pointer: <Error class: unknown class><<Error class: unknown class>>) : DebugController, Initable

#GDebugControllerDBus is an implementation of #GDebugController which exposes debug settings as a D-Bus object.

Link copied to clipboard
open class DesktopAppInfo(pointer: <Error class: unknown class><<Error class: unknown class>>) : AppInfo

#GDesktopAppInfo is an implementation of #GAppInfo based on desktop files.

Link copied to clipboard

#GDesktopAppInfoLookup is an opaque data structure and can only be accessed using the following functions.

Link copied to clipboard
typealias DesktopAppLaunchCallback = (appinfo: DesktopAppInfo) -> Unit

During invocation, g_desktop_app_info_launch_uris_as_manager() may create one or more child processes. This callback is invoked once for each, providing the process ID.

Link copied to clipboard
interface Drive

#GDrive - this represent a piece of hardware connected to the machine. It's generally only created for removable hardware or hardware with removable media.

Link copied to clipboard
class DriveStartFlags(val mask: <Error class: unknown class>)

Flags used when starting a drive.

Link copied to clipboard

Enumeration describing how a drive can be started/stopped.

Link copied to clipboard

#GDtlsClientConnection is the client-side subclass of #GDtlsConnection, representing a client-side DTLS connection.

Link copied to clipboard

#GDtlsConnection is the base DTLS connection class type, which wraps a #GDatagramBased and provides DTLS encryption on top of it. Its subclasses, #GDtlsClientConnection and #GDtlsServerConnection, implement client-side and server-side DTLS, respectively.

Link copied to clipboard

#GDtlsServerConnection is the server-side subclass of #GDtlsConnection, representing a server-side DTLS connection.

Link copied to clipboard
open class Emblem(pointer: <Error class: unknown class><<Error class: unknown class>>) : Icon

#GEmblem is an implementation of #GIcon that supports having an emblem, which is an icon with additional properties. It can than be added to a #GEmblemedIcon.

Link copied to clipboard
open class EmblemedIcon(pointer: <Error class: unknown class><<Error class: unknown class>>) : Icon

#GEmblemedIcon is an implementation of #GIcon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via g_emblemed_icon_add_emblem().

Link copied to clipboard

GEmblemOrigin is used to add information about the origin of the emblem to #GEmblem.

Link copied to clipboard
interface File

#GFile is a high level abstraction for manipulating files on a virtual file system. #GFiles are lightweight, immutable objects that do no I/O upon creation. It is necessary to understand that #GFile objects do not represent files, merely an identifier for a file. All file content I/O is implemented as streaming operations (see #GInputStream and #GOutputStream).

Link copied to clipboard
class FileAttributeInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Information about a specific attribute.

Link copied to clipboard
class FileAttributeInfoFlags(val mask: <Error class: unknown class>)

Flags specifying the behaviour of an attribute.

Link copied to clipboard
class FileAttributeInfoList(pointer: <Error class: unknown class><<Error class: unknown class>>)

Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as #GFileAttributeInfos.

Link copied to clipboard
class FileAttributeMatcher(pointer: <Error class: unknown class><<Error class: unknown class>>)

Determines if a string matches a file attribute.

Link copied to clipboard

Used by g_file_set_attributes_from_info() when setting file attributes.

Link copied to clipboard

The data types for file attributes.

Link copied to clipboard
class FileCopyFlags(val mask: <Error class: unknown class>)

Flags used when copying or moving files.

Link copied to clipboard
class FileCreateFlags(val mask: <Error class: unknown class>)

Flags used when an operation may create a file.

Link copied to clipboard

#GFileDescriptorBased is implemented by streams (implementations of #GInputStream or #GOutputStream) that are based on file descriptors.

Link copied to clipboard
open class FileEnumerator(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GFileEnumerator allows you to operate on a set of #GFiles, returning a #GFileInfo structure for each file enumerated (e.g. g_file_enumerate_children() will return a #GFileEnumerator for each of the children within a directory).

Link copied to clipboard
open class FileIcon(pointer: <Error class: unknown class><<Error class: unknown class>>) : Icon, LoadableIcon

#GFileIcon specifies an icon by pointing to an image file to be used as icon.

Link copied to clipboard
open class FileInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

Functionality for manipulating basic metadata for files. #GFileInfo implements methods for getting information that all files should contain, and allows for manipulation of extended attributes.

Link copied to clipboard
open class FileInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : InputStream, Seekable

GFileInputStream provides input streams that take their content from a file.

Link copied to clipboard
open class FileIOStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : IOStream, Seekable

GFileIOStream provides io streams that both read and write to the same file handle.

Link copied to clipboard
class FileMeasureFlags(val mask: <Error class: unknown class>)

Flags that can be used with g_file_measure_disk_usage().

Link copied to clipboard
typealias FileMeasureProgressCallback = (reporting: Boolean, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>) -> Unit

This callback type is used by g_file_measure_disk_usage() to make periodic progress reports when measuring the amount of disk spaced used by a directory.

Link copied to clipboard
open class FileMonitor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Monitors a file or directory for changes.

Link copied to clipboard

Specifies what type of event a monitor event is.

Link copied to clipboard
class FileMonitorFlags(val mask: <Error class: unknown class>)

Flags used to set what a #GFileMonitor will watch for.

Link copied to clipboard
open class FilenameCompleter(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Link copied to clipboard
open class FileOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : OutputStream, Seekable

GFileOutputStream provides output streams that write their content to a file.

Link copied to clipboard
typealias FileProgressCallback = (currentNumBytes: Long, totalNumBytes: Long) -> Unit

When doing file operations that may take a while, such as moving a file or copying a file, a progress callback is used to pass how far along that operation is to the application.

Link copied to clipboard
class FileQueryInfoFlags(val mask: <Error class: unknown class>)

Flags used when querying a #GFileInfo.

Link copied to clipboard
typealias FileReadMoreCallback = (fileContents: String, fileSize: Long) -> Boolean

When loading the partial contents of a file with g_file_load_partial_contents_async(), it may become necessary to determine if any more data from the file should be loaded. A #GFileReadMoreCallback function facilitates this by returning true if more data should be read, or false otherwise.

Link copied to clipboard

Indicates a hint from the file system whether files should be previewed in a file manager. Returned as the value of the key %G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW.

Link copied to clipboard

Indicates the file's on-disk type.

Link copied to clipboard
open class FilterInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : InputStream

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.

Link copied to clipboard
open class FilterOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : OutputStream

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.

Link copied to clipboard
object Gio
Link copied to clipboard
Link copied to clipboard
interface Icon

#GIcon is a very minimal interface for icons. It provides functions for checking the equality of two icons, hashing of icons and serializing an icon to and from strings.

Link copied to clipboard
open class InetAddress(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GInetAddress represents an IPv4 or IPv6 internet address. Use g_resolver_lookup_by_name() or g_resolver_lookup_by_name_async() to look up the #GInetAddress for a hostname. Use g_resolver_lookup_by_address() or g_resolver_lookup_by_address_async() to look up the hostname for a #GInetAddress.

Link copied to clipboard
open class InetAddressMask(pointer: <Error class: unknown class><<Error class: unknown class>>) : Initable

#GInetAddressMask represents a range of IPv4 or IPv6 addresses described by a base address and a length indicating how many bits of the base address are relevant for matching purposes. These are often given in string form. Eg, "10.0.0.0/8", or "fe80::/10".

Link copied to clipboard
open class InetSocketAddress(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketAddress

An IPv4 or IPv6 socket address; that is, the combination of a #GInetAddress and a port number.

Link copied to clipboard
interface Initable

#GInitable is implemented by objects that can fail during initialization. If an object implements this interface then it must be initialized as the first thing after construction, either via g_initable_init() or g_async_initable_init_async() (the latter is only available if it also implements #GAsyncInitable).

Link copied to clipboard
class InputMessage(pointer: <Error class: unknown class><<Error class: unknown class>>)

Structure used for scatter/gather data input when receiving multiple messages or packets in one go. You generally pass in an array of empty #GInputVectors and the operation will use all the buffers as if they were one buffer, and will set @bytes_received to the total number of bytes received across all #GInputVectors.

Link copied to clipboard
open class InputStream(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GInputStream has functions to read from a stream (g_input_stream_read()), to close a stream (g_input_stream_close()) and to skip some content (g_input_stream_skip()).

Link copied to clipboard
class InputVector(pointer: <Error class: unknown class><<Error class: unknown class>>)

Structure used for scatter/gather data input. You generally pass in an array of #GInputVectors and the operation will store the read data starting in the first buffer, switching to the next as needed.

Link copied to clipboard

Error codes returned by GIO functions.

Link copied to clipboard
class IOErrorEnumException(error: <Error class: unknown class>, val code: IOErrorEnum)
Link copied to clipboard
open class IOModule(pointer: <Error class: unknown class><<Error class: unknown class>>)

Provides an interface and default functions for loading and unloading modules. This is used internally to make GIO extensible, but can also be used by others to implement module loading.

Link copied to clipboard

Flags for use with g_io_module_scope_new().

Link copied to clipboard
typealias IOSchedulerJobFunc = (cancellable: Cancellable?) -> Boolean

I/O Job function.

Link copied to clipboard
open class IOStream(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Link copied to clipboard
class IOStreamSpliceFlags(val mask: <Error class: unknown class>)

GIOStreamSpliceFlags determine how streams should be spliced.

Link copied to clipboard
interface ListModel

#GListModel is an interface that represents a mutable list of #GObjects. Its main intention is as a model for various widgets in user interfaces, such as list views, but it can also be used as a convenient method of returning lists of data, with support for updates.

Link copied to clipboard
open class ListStore(pointer: <Error class: unknown class><<Error class: unknown class>>) : ListModel

#GListStore is a simple implementation of #GListModel that stores all items in memory.

Link copied to clipboard
interface LoadableIcon : Icon

Extends the #GIcon interface and adds the ability to load icons from streams.

Link copied to clipboard
open class MemoryInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : InputStream, PollableInputStream, Seekable

#GMemoryInputStream is a class for using arbitrary memory chunks as input for GIO streaming input operations.

Link copied to clipboard

#GMemoryMonitor will monitor system memory and suggest to the application when to free memory so as to leave more room for other applications. It is implemented on Linux using the [Low Memory

Link copied to clipboard

Memory availability warning levels.

Link copied to clipboard
open class MemoryOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : OutputStream, PollableOutputStream, Seekable

#GMemoryOutputStream is a class for using arbitrary memory chunks as output for GIO streaming output operations.

Link copied to clipboard
open class Menu(pointer: <Error class: unknown class><<Error class: unknown class>>) : MenuModel

#GMenu is a simple implementation of #GMenuModel. You populate a #GMenu by adding #GMenuItem instances to it.

Link copied to clipboard
open class MenuAttributeIter(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GMenuAttributeIter is an opaque structure type. You must access it using the functions below.

Link copied to clipboard
open class MenuItem(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GMenuItem is an opaque structure type. You must access it using the functions below.

Link copied to clipboard
open class MenuLinkIter(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GMenuLinkIter is an opaque structure type. You must access it using the functions below.

Link copied to clipboard
open class MenuModel(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GMenuModel represents the contents of a menu -- an ordered list of menu items. The items are associated with actions, which can be activated through them. Items can be grouped in sections, and may have submenus associated with them. Both items and sections usually have some representation data, such as labels or icons. The type of the associated action (ie whether it is stateful, and what kind of state it has) can influence the representation of the item.

Link copied to clipboard
interface Mount

The #GMount interface represents user-visible mounts. Note, when porting from GnomeVFS, #GMount is the moral equivalent of #GnomeVFSVolume.

Link copied to clipboard
class MountMountFlags(val mask: <Error class: unknown class>)

Flags used when mounting a mount.

Link copied to clipboard
open class MountOperation(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GMountOperation provides a mechanism for interacting with the user. It can be used for authenticating mountable operations, such as loop mounting files, hard drive partitions or server locations. It can also be used to ask the user questions or show a list of applications preventing unmount or eject operations from completing.

Link copied to clipboard

#GMountOperationResult is returned as a result when a request for information is send by the mounting operation.

Link copied to clipboard
class MountUnmountFlags(val mask: <Error class: unknown class>)

Flags used when an unmounting a mount.

Link copied to clipboard
open class NativeSocketAddress(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketAddress

A socket address of some unknown native type.

Link copied to clipboard
open class NativeVolumeMonitor(pointer: <Error class: unknown class><<Error class: unknown class>>) : VolumeMonitor
Link copied to clipboard
open class NetworkAddress(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketConnectable

#GNetworkAddress provides an easy way to resolve a hostname and then attempt to connect to that host, handling the possibility of multiple IP addresses and multiple address families.

Link copied to clipboard

The host's network connectivity state, as reported by #GNetworkMonitor.

Link copied to clipboard

#GNetworkMonitor provides an easy-to-use cross-platform API for monitoring network connectivity. On Linux, the available implementations are based on the kernel's netlink interface and on NetworkManager.

Link copied to clipboard
open class NetworkService(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketConnectable

Like #GNetworkAddress does with hostnames, #GNetworkService provides an easy way to resolve a SRV record, and then attempt to connect to one of the hosts that implements that service, handling service priority/weighting, multiple IP addresses, and multiple address families.

Link copied to clipboard
open class Notification(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GNotification is a mechanism for creating a notification to be shown to the user -- typically as a pop-up notification presented by the desktop environment shell.

Link copied to clipboard

Priority levels for #GNotifications.

Link copied to clipboard
class OutputMessage(pointer: <Error class: unknown class><<Error class: unknown class>>)

Structure used for scatter/gather data output when sending multiple messages or packets in one go. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.

Link copied to clipboard
open class OutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GOutputStream has functions to write to a stream (g_output_stream_write()), to close a stream (g_output_stream_close()) and to flush pending writes (g_output_stream_flush()).

Link copied to clipboard
class OutputStreamSpliceFlags(val mask: <Error class: unknown class>)

GOutputStreamSpliceFlags determine how streams should be spliced.

Link copied to clipboard
class OutputVector(pointer: <Error class: unknown class><<Error class: unknown class>>)

Structure used for scatter/gather data output. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.

Link copied to clipboard

#GPasswordSave is used to indicate the lifespan of a saved password.

Link copied to clipboard
open class Permission(pointer: <Error class: unknown class><<Error class: unknown class>>)

A #GPermission represents the status of the caller's permission to perform a certain action.

Link copied to clipboard

#GPollableInputStream is implemented by #GInputStreams that can be polled for readiness to read. This can be used when interfacing with a non-GIO API that expects UNIX-file-descriptor-style asynchronous I/O rather than GIO-style.

Link copied to clipboard

#GPollableOutputStream is implemented by #GOutputStreams that can be polled for readiness to write. This can be used when interfacing with a non-GIO API that expects UNIX-file-descriptor-style asynchronous I/O rather than GIO-style.

Link copied to clipboard

Return value for various IO operations that signal errors via the return value and not necessarily via a #GError.

Link copied to clipboard
typealias PollableSourceFunc = (<Error class: unknown class>) -> Boolean

This is the function type of the callback used for the #GSource returned by g_pollable_input_stream_create_source() and g_pollable_output_stream_create_source().

Link copied to clipboard

#GPowerProfileMonitor makes it possible for applications as well as OS components to monitor system power profiles and act upon them. It currently only exports whether the system is in “Power Saver” mode (known as “Low Power” mode on some systems).

Link copied to clipboard
open class PropertyAction(pointer: <Error class: unknown class><<Error class: unknown class>>) : Action

A #GPropertyAction is a way to get a #GAction with a state value reflecting and controlling the value of a #GObject property.

Link copied to clipboard
interface Proxy

A #GProxy handles connecting to a remote host via a given type of proxy server. It is implemented by the 'gio-proxy' extension point. The extensions are named after their proxy protocol name. As an example, a SOCKS5 proxy implementation can be retrieved with the name 'socks5' using the function g_io_extension_point_get_extension_by_name().

Link copied to clipboard
open class ProxyAddress(pointer: <Error class: unknown class><<Error class: unknown class>>) : InetSocketAddress

Support for proxied #GInetSocketAddress.

Link copied to clipboard
open class ProxyAddressEnumerator(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketAddressEnumerator

#GProxyAddressEnumerator is a wrapper around #GSocketAddressEnumerator which takes the #GSocketAddress instances returned by the #GSocketAddressEnumerator and wraps them in #GProxyAddress instances, using the given #GProxyAddressEnumerator:proxy-resolver.

Link copied to clipboard
interface ProxyResolver

#GProxyResolver provides synchronous and asynchronous network proxy resolution. #GProxyResolver is used within #GSocketClient through the method g_socket_connectable_proxy_enumerate().

Link copied to clipboard

The GRemoteActionGroup interface is implemented by #GActionGroup instances that either transmit action invocations to other processes or receive action invocations in the local process from other processes.

Link copied to clipboard
open class Resolver(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GResolver provides cancellable synchronous and asynchronous DNS resolution, for hostnames (g_resolver_lookup_by_address(), g_resolver_lookup_by_name() and their async variants) and SRV (service) records (g_resolver_lookup_service()).

Link copied to clipboard

An error code used with %G_RESOLVER_ERROR in a #GError returned from a #GResolver routine.

Link copied to clipboard
class ResolverErrorException(error: <Error class: unknown class>, val code: ResolverError)
Link copied to clipboard
class ResolverNameLookupFlags(val mask: <Error class: unknown class>)

Flags to modify lookup behavior.

Link copied to clipboard

The type of record that g_resolver_lookup_records() or g_resolver_lookup_records_async() should retrieve. The records are returned as lists of #GVariant tuples. Each record type has different values in the variant tuples returned.

Link copied to clipboard
class Resource(pointer: <Error class: unknown class><<Error class: unknown class>>)

Applications and libraries often contain binary or textual data that is really part of the application, rather than user data. For instance #GtkBuilder .ui files, splashscreen images, GMenu markup XML, CSS files, icons, etc. These are often shipped as files in $datadir/appname, or manually included as literal strings in the code.

Link copied to clipboard

An error code used with %G_RESOURCE_ERROR in a #GError returned from a #GResource routine.

Link copied to clipboard
class ResourceErrorException(error: <Error class: unknown class>, val code: ResourceError)
Link copied to clipboard
class ResourceFlags(val mask: <Error class: unknown class>)

GResourceFlags give information about a particular file inside a resource bundle.

Link copied to clipboard
class ResourceLookupFlags(val mask: <Error class: unknown class>)

GResourceLookupFlags determine how resource path lookups are handled.

Link copied to clipboard
interface Seekable

#GSeekable is implemented by streams (implementations of #GInputStream or #GOutputStream) that support seeking.

Link copied to clipboard
open class Settings(pointer: <Error class: unknown class><<Error class: unknown class>>)

The #GSettings class provides a convenient API for storing and retrieving application settings.

Link copied to clipboard
open class SettingsBackend(pointer: <Error class: unknown class><<Error class: unknown class>>)

The #GSettingsBackend interface defines a generic interface for non-strictly-typed data that is stored in a hierarchy. To implement an alternative storage backend for #GSettings, you need to implement the #GSettingsBackend interface and then make it implement the extension point %G_SETTINGS_BACKEND_EXTENSION_POINT_NAME.

Link copied to clipboard
class SettingsBindFlags(val mask: <Error class: unknown class>)

Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions.

Link copied to clipboard
typealias SettingsBindGetMapping = (<Error class: unknown class>, <Error class: unknown class>) -> Boolean

The type for the function that is used to convert from #GSettings to an object property. The @value is already initialized to hold values of the appropriate type.

Link copied to clipboard
typealias SettingsBindSetMapping = (<Error class: unknown class>, <Error class: unknown class>) -> <Error class: unknown class>

The type for the function that is used to convert an object property value to a #GVariant for storing it in #GSettings.

Link copied to clipboard
typealias SettingsGetMapping = (<Error class: unknown class>) -> Boolean

The type of the function that is used to convert from a value stored in a #GSettings to a value that is useful to the application.

Link copied to clipboard
class SettingsSchema(pointer: <Error class: unknown class><<Error class: unknown class>>)

The #GSettingsSchemaSource and #GSettingsSchema APIs provide a mechanism for advanced control over the loading of schemas and a mechanism for introspecting their content.

Link copied to clipboard
class SettingsSchemaKey(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GSettingsSchemaKey is an opaque data structure and can only be accessed using the following functions.

Link copied to clipboard
class SettingsSchemaSource(pointer: <Error class: unknown class><<Error class: unknown class>>)

This is an opaque structure type. You may not access it directly.

Link copied to clipboard
open class SimpleAction(pointer: <Error class: unknown class><<Error class: unknown class>>) : Action

A #GSimpleAction is the obvious simple implementation of the #GAction interface. This is the easiest way to create an action for purposes of adding it to a #GSimpleActionGroup.

Link copied to clipboard
open class SimpleActionGroup(pointer: <Error class: unknown class><<Error class: unknown class>>) : ActionGroup, ActionMap

#GSimpleActionGroup is a hash table filled with #GAction objects, implementing the #GActionGroup and #GActionMap interfaces.

Link copied to clipboard
open class SimpleAsyncResult(pointer: <Error class: unknown class><<Error class: unknown class>>) : AsyncResult

As of GLib 2.46, #GSimpleAsyncResult is deprecated in favor of #GTask, which provides a simpler API.

Link copied to clipboard
typealias SimpleAsyncThreadFunc = (res: SimpleAsyncResult, <Error class: unknown class>, cancellable: Cancellable?) -> Unit

Simple thread function that runs an asynchronous operation and checks for cancellation.

Link copied to clipboard
open class SimpleIOStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : IOStream

GSimpleIOStream creates a #GIOStream from an arbitrary #GInputStream and #GOutputStream. This allows any pair of input and output streams to be used with #GIOStream methods.

Link copied to clipboard
open class SimplePermission(pointer: <Error class: unknown class><<Error class: unknown class>>) : Permission

#GSimplePermission is a trivial implementation of #GPermission that represents a permission that is either always or never allowed. The value is given at construction and doesn't change.

Link copied to clipboard
open class SimpleProxyResolver(pointer: <Error class: unknown class><<Error class: unknown class>>) : ProxyResolver

#GSimpleProxyResolver is a simple #GProxyResolver implementation that handles a single default proxy, multiple URI-scheme-specific proxies, and a list of hosts that proxies should not be used for.

Link copied to clipboard
open class Socket(pointer: <Error class: unknown class><<Error class: unknown class>>) : DatagramBased, Initable

A #GSocket is a low-level networking primitive. It is a more or less direct mapping of the BSD socket API in a portable GObject based API. It supports both the UNIX socket implementations and winsock2 on Windows.

Link copied to clipboard
open class SocketAddress(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketConnectable

#GSocketAddress is the equivalent of struct sockaddr in the BSD sockets API. This is an abstract class; use #GInetSocketAddress for internet sockets, or #GUnixSocketAddress for UNIX domain sockets.

Link copied to clipboard
open class SocketAddressEnumerator(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GSocketAddressEnumerator is an enumerator type for #GSocketAddress instances. It is returned by enumeration functions such as g_socket_connectable_enumerate(), which returns a #GSocketAddressEnumerator to list each #GSocketAddress which could be used to connect to that #GSocketConnectable.

Link copied to clipboard
open class SocketClient(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GSocketClient is a lightweight high-level utility class for connecting to a network host using a connection oriented socket type.

Link copied to clipboard

Describes an event occurring on a #GSocketClient. See the #GSocketClient::event signal for more details.

Link copied to clipboard

Objects that describe one or more potential socket endpoints implement #GSocketConnectable. Callers can then use g_socket_connectable_enumerate() to get a #GSocketAddressEnumerator to try out each socket address in turn until one succeeds, as shown in the sample code below.

Link copied to clipboard
open class SocketConnection(pointer: <Error class: unknown class><<Error class: unknown class>>) : IOStream

#GSocketConnection is a #GIOStream for a connected socket. They can be created either by #GSocketClient when connecting to a host, or by #GSocketListener when accepting a new client.

Link copied to clipboard
open class SocketControlMessage(pointer: <Error class: unknown class><<Error class: unknown class>>)

A #GSocketControlMessage is a special-purpose utility message that can be sent to or received from a #GSocket. These types of messages are often called "ancillary data".

Link copied to clipboard

The protocol family of a #GSocketAddress. (These values are identical to the system defines %AF_INET, %AF_INET6 and %AF_UNIX, if available.)

Link copied to clipboard
open class SocketListener(pointer: <Error class: unknown class><<Error class: unknown class>>)

A #GSocketListener is an object that keeps track of a set of server sockets and helps you accept sockets from any of the socket, either sync or async.

Link copied to clipboard

Describes an event occurring on a #GSocketListener. See the #GSocketListener::event signal for more details.

Link copied to clipboard
class SocketMsgFlags(val mask: <Error class: unknown class>)

Flags used in g_socket_receive_message() and g_socket_send_message(). The flags listed in the enum are some commonly available flags, but the values used for them are the same as on the platform, and any other flags are passed in/out as is. So to use a platform specific flag, just include the right system header and pass in the flag.

Link copied to clipboard

A protocol identifier is specified when creating a #GSocket, which is a family/type specific identifier, where 0 means the default protocol for the particular family/type.

Link copied to clipboard
open class SocketService(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketListener

A #GSocketService is an object that represents a service that is provided to the network or over local sockets. When a new connection is made to the service the #GSocketService::incoming signal is emitted.

Link copied to clipboard
typealias SocketSourceFunc = (socket: Socket, <Error class: unknown class>) -> Boolean

This is the function type of the callback used for the #GSource returned by g_socket_create_source().

Link copied to clipboard

Flags used when creating a #GSocket. Some protocols may not implement all the socket types.

Link copied to clipboard
class SrvTarget(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Link copied to clipboard
class StaticResource(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GStaticResource is an opaque data structure and can only be accessed using the following functions.

Link copied to clipboard
open class Subprocess(pointer: <Error class: unknown class><<Error class: unknown class>>) : Initable

#GSubprocess allows the creation of and interaction with child processes.

Link copied to clipboard
class SubprocessFlags(val mask: <Error class: unknown class>)

Flags to define the behaviour of a #GSubprocess.

Link copied to clipboard
open class SubprocessLauncher(pointer: <Error class: unknown class><<Error class: unknown class>>)

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.

Link copied to clipboard
open class Task(pointer: <Error class: unknown class><<Error class: unknown class>>) : AsyncResult

A #GTask represents and manages a cancellable "task".

Link copied to clipboard
typealias TaskThreadFunc = (task: Task, <Error class: unknown class>, cancellable: Cancellable?) -> Unit

The prototype for a task function to be run in a thread via g_task_run_in_thread() or g_task_run_in_thread_sync().

Link copied to clipboard
open class TcpConnection(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketConnection

This is the subclass of #GSocketConnection that is created for TCP/IP sockets.

Link copied to clipboard
open class TcpWrapperConnection(pointer: <Error class: unknown class><<Error class: unknown class>>) : TcpConnection

A #GTcpWrapperConnection can be used to wrap a #GIOStream that is based on a #GSocket, but which is not actually a #GSocketConnection. This is used by #GSocketClient so that it can always return a #GSocketConnection, even when the connection it has actually created is not directly a #GSocketConnection.

Link copied to clipboard
open class TestDBus(pointer: <Error class: unknown class><<Error class: unknown class>>)

A helper class for testing code which uses D-Bus without touching the user's session bus.

Link copied to clipboard
class TestDBusFlags(val mask: <Error class: unknown class>)

Flags to define future #GTestDBus behaviour.

Link copied to clipboard
open class ThemedIcon(pointer: <Error class: unknown class><<Error class: unknown class>>) : Icon

#GThemedIcon is an implementation of #GIcon that supports icon themes. #GThemedIcon contains a list of all of the icons present in an icon theme, so that icons can be looked up quickly. #GThemedIcon does not provide actual pixmaps for icons, just the icon names. Ideally something like gtk_icon_theme_choose_icon() should be used to resolve the list of names so that fallback icons work nicely with themes that inherit other themes.

Link copied to clipboard
open class ThreadedSocketService(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketService

A #GThreadedSocketService is a simple subclass of #GSocketService that handles incoming connections by creating a worker thread and dispatching the connection to it by emitting the #GThreadedSocketService::run signal in the new thread.

Link copied to clipboard

The client authentication mode for a #GTlsServerConnection.

Link copied to clipboard
interface TlsBackend

TLS (Transport Layer Security, aka SSL) and DTLS backend.

Link copied to clipboard
open class TlsCertificate(pointer: <Error class: unknown class><<Error class: unknown class>>)

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

Link copied to clipboard
class TlsCertificateFlags(val mask: <Error class: unknown class>)

A set of flags describing TLS certification validation. This can be used to describe why a particular certificate was rejected (for example, in #GTlsConnection::accept-certificate).

Link copied to clipboard

Flags for g_tls_interaction_request_certificate(), g_tls_interaction_request_certificate_async(), and g_tls_interaction_invoke_request_certificate().

Link copied to clipboard

An error code used with %G_TLS_CHANNEL_BINDING_ERROR in a #GError to indicate a TLS channel binding retrieval error.

Link copied to clipboard
class TlsChannelBindingErrorException(error: <Error class: unknown class>, val code: TlsChannelBindingError)
Link copied to clipboard

The type of TLS channel binding data to retrieve from #GTlsConnection or #GDtlsConnection, as documented by RFC 5929. The tls-unique-for-telnet binding type is not currently implemented.

Link copied to clipboard

#GTlsClientConnection is the client-side subclass of #GTlsConnection, representing a client-side TLS connection.

Link copied to clipboard
open class TlsConnection(pointer: <Error class: unknown class><<Error class: unknown class>>) : IOStream

#GTlsConnection is the base TLS connection class type, which wraps a #GIOStream and provides TLS encryption on top of it. Its subclasses, #GTlsClientConnection and #GTlsServerConnection, implement client-side and server-side TLS, respectively.

Link copied to clipboard
open class TlsDatabase(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GTlsDatabase is used to look up certificates and other information from a certificate or key store. It is an abstract base class which TLS library specific subtypes override.

Link copied to clipboard

Flags for g_tls_database_lookup_certificate_for_handle(), g_tls_database_lookup_certificate_issuer(), and g_tls_database_lookup_certificates_issued_by().

Link copied to clipboard
class TlsDatabaseVerifyFlags(val mask: <Error class: unknown class>)

Flags for g_tls_database_verify_chain().

Link copied to clipboard

An error code used with %G_TLS_ERROR in a #GError returned from a TLS-related routine.

Link copied to clipboard
class TlsErrorException(error: <Error class: unknown class>, val code: TlsError)
Link copied to clipboard
interface TlsFileDatabase

#GTlsFileDatabase is implemented by #GTlsDatabase objects which load their certificate information from a file. It is an interface which TLS library specific subtypes implement.

Link copied to clipboard
open class TlsInteraction(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GTlsInteraction provides a mechanism for the TLS connection and database code to interact with the user. It can be used to ask the user for passwords.

Link copied to clipboard

#GTlsInteractionResult is returned by various functions in #GTlsInteraction when finishing an interaction request.

Link copied to clipboard
open class TlsPassword(pointer: <Error class: unknown class><<Error class: unknown class>>)

Holds a password used in TLS.

Link copied to clipboard
class TlsPasswordFlags(val mask: <Error class: unknown class>)

Various flags for the password.

Link copied to clipboard

The TLS or DTLS protocol version used by a #GTlsConnection or #GDtlsConnection. The integer values of these versions are sequential to ensure newer known protocol versions compare greater than older known versions. Any known DTLS protocol version will compare greater than any SSL or TLS protocol version. The protocol version may be %G_TLS_PROTOCOL_VERSION_UNKNOWN if the TLS backend supports a newer protocol version that GLib does not yet know about. This means that it's possible for an unknown DTLS protocol version to compare less than the TLS protocol versions.

Link copied to clipboard

When to allow rehandshaking. See g_tls_connection_set_rehandshake_mode().

Link copied to clipboard

#GTlsServerConnection is the server-side subclass of #GTlsConnection, representing a server-side TLS connection.

Link copied to clipboard
open class UnixConnection(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketConnection

This is the subclass of #GSocketConnection that is created for UNIX domain sockets.

Link copied to clipboard
open class UnixCredentialsMessage(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketControlMessage

This #GSocketControlMessage contains a #GCredentials instance. It may be sent using g_socket_send_message() and received using g_socket_receive_message() over UNIX sockets (ie: sockets in the %G_SOCKET_FAMILY_UNIX family).

Link copied to clipboard
open class UnixFDList(pointer: <Error class: unknown class><<Error class: unknown class>>)

A #GUnixFDList contains a list of file descriptors. It owns the file descriptors that it contains, closing them when finalized.

Link copied to clipboard
open class UnixFDMessage(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketControlMessage

This #GSocketControlMessage contains a #GUnixFDList. It may be sent using g_socket_send_message() and received using g_socket_receive_message() over UNIX sockets (ie: sockets in the %G_SOCKET_FAMILY_UNIX family). The file descriptors are copied between processes by the kernel.

Link copied to clipboard
open class UnixInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : InputStream, FileDescriptorBased, PollableInputStream

#GUnixInputStream implements #GInputStream for reading from a UNIX file descriptor, including asynchronous operations. (If the file descriptor refers to a socket or pipe, this will use poll() to do asynchronous I/O. If it refers to a regular file, it will fall back to doing asynchronous I/O in another thread.)

Link copied to clipboard
class UnixMountEntry(pointer: <Error class: unknown class><<Error class: unknown class>>)

Defines a Unix mount entry (e.g. /media/cdrom). This corresponds roughly to a mtab entry.

Link copied to clipboard
open class UnixMountMonitor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Watches #GUnixMounts for changes.

Link copied to clipboard
class UnixMountPoint(pointer: <Error class: unknown class><<Error class: unknown class>>)

Defines a Unix mount point (e.g. /dev). This corresponds roughly to a fstab entry.

Link copied to clipboard
open class UnixOutputStream(pointer: <Error class: unknown class><<Error class: unknown class>>) : OutputStream, FileDescriptorBased, PollableOutputStream

#GUnixOutputStream implements #GOutputStream for writing to a UNIX file descriptor, including asynchronous operations. (If the file descriptor refers to a socket or pipe, this will use poll() to do asynchronous I/O. If it refers to a regular file, it will fall back to doing asynchronous I/O in another thread.)

Link copied to clipboard
open class UnixSocketAddress(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketAddress

Support for UNIX-domain (also known as local) sockets.

Link copied to clipboard

The type of name used by a #GUnixSocketAddress. %G_UNIX_SOCKET_ADDRESS_PATH indicates a traditional unix domain socket bound to a filesystem path. %G_UNIX_SOCKET_ADDRESS_ANONYMOUS indicates a socket not bound to any name (eg, a client-side socket, or a socket created with socketpair()).

Link copied to clipboard
open class Vfs(pointer: <Error class: unknown class><<Error class: unknown class>>)

Entry point for using GIO functionality.

Link copied to clipboard
typealias VfsFileLookupFunc = (vfs: Vfs, identifier: String) -> File

This function type is used by g_vfs_register_uri_scheme() to make it possible for a client to associate an URI scheme to a different #GFile implementation.

Link copied to clipboard
interface Volume

The #GVolume interface represents user-visible objects that can be mounted. Note, when porting from GnomeVFS, #GVolume is the moral equivalent of #GnomeVFSDrive.

Link copied to clipboard
open class VolumeMonitor(pointer: <Error class: unknown class><<Error class: unknown class>>)

#GVolumeMonitor is for listing the user interesting devices and volumes on the computer. In other words, what a file selector or file manager would show in a sidebar.

Link copied to clipboard
open class ZlibCompressor(pointer: <Error class: unknown class><<Error class: unknown class>>) : Converter

#GZlibCompressor is an implementation of #GConverter that compresses data using zlib.

Link copied to clipboard

Used to select the type of data format to use for #GZlibDecompressor and #GZlibCompressor.

Link copied to clipboard
open class ZlibDecompressor(pointer: <Error class: unknown class><<Error class: unknown class>>) : Converter

#GZlibDecompressor is an implementation of #GConverter that decompresses data compressed with zlib.

Properties

Link copied to clipboard
val AsyncReadyCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>?, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val BusAcquiredCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val BusNameAcquiredCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val BusNameAppearedCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val BusNameLostCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val BusNameVanishedCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val CancellableSourceFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>?) -> Int>>
Link copied to clipboard
val DatagramBasedSourceFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class>) -> Int>>
Link copied to clipboard
val DBusInterfaceGetPropertyFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class><<Error class: unknown class>>>>
Link copied to clipboard
val DBusInterfaceMethodCallFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val DBusInterfaceSetPropertyFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val DBusMessageFilterFunctionFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, Int) -> <Error class: unknown class><<Error class: unknown class>>?>>
Link copied to clipboard
val DBusProxyTypeFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>?) -> <Error class: unknown class>>>
Link copied to clipboard
val DBusSignalCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>?, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val DBusSubtreeDispatchFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class><<Error class: unknown class>>?>>
Link copied to clipboard
val DBusSubtreeEnumerateFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class><<Error class: unknown class><<Error class: unknown class><<Error class: unknown class>>>>>>
Link copied to clipboard
val DesktopAppLaunchCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val FileMeasureProgressCallbackFunc: <Error class: unknown class><<Error class: unknown class><(Int, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>) -> Unit>>
Link copied to clipboard
val FileProgressCallbackFunc: <Error class: unknown class><<Error class: unknown class><(Long, Long) -> Unit>>
Link copied to clipboard
val FileReadMoreCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, Long) -> Int>>
Link copied to clipboard
val IOSchedulerJobFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>?) -> Int>>
Link copied to clipboard
val PollableSourceFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val SettingsBindGetMappingFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val SettingsBindSetMappingFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class><<Error class: unknown class>>>>
Link copied to clipboard
val SettingsGetMappingFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val SimpleAsyncThreadFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>?) -> Unit>>
Link copied to clipboard
val SocketSourceFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class>) -> Int>>
Link copied to clipboard
val TaskThreadFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>?) -> Unit>>
Link copied to clipboard
val VfsFileLookupFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class><<Error class: unknown class>>>>