Package-level declarations

Types

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

Contains the public fields of a GArray.

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

Error codes returned by bookmark file parsing.

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

Contains the public fields of a GByteArray.

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

A simple refcounted data type representing an immutable sequence of zero or more bytes from an unspecified origin.

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

An opaque structure representing a checksumming operation.

Link copied to clipboard

The hashing algorithm to be used by #GChecksum when performing the digest of some data.

Link copied to clipboard
typealias ChildWatchFunc = (waitStatus: Int) -> Unit

Prototype of a #GChildWatchSource callback, called when a child process has exited.

Link copied to clipboard
typealias ClearHandleFunc = (<Error class: unknown class>) -> Unit

Specifies the type of function passed to g_clear_handle_id(). The implementation is expected to free the resource identified by @handle_id; for instance, if @handle_id is a #GSource ID, g_source_remove() can be used.

Link copied to clipboard
typealias CompareDataFunc = () -> Int

Specifies the type of a comparison function used to compare two values. The function should return a negative integer if the first value comes before the second, 0 if they are equal, or a positive integer if the first value comes after the second.

Link copied to clipboard
typealias CompareFunc = () -> Int

Specifies the type of a comparison function used to compare two values. The function should return a negative integer if the first value comes before the second, 0 if they are equal, or a positive integer if the first value comes after the second.

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

The #GCond struct is an opaque data structure that represents a condition. Threads can block on a #GCond if they find a certain condition to be false. If other threads change the state of this condition they signal the #GCond, and that causes the waiting threads to be woken up.

Link copied to clipboard

Error codes returned by character set conversion routines.

Link copied to clipboard
class ConvertErrorException(val error: Error, val code: ConvertError) : GlibException
Link copied to clipboard
typealias DataForeachFunc = (<Error class: unknown class>) -> Unit

Specifies the type of function passed to g_dataset_foreach(). It is called with each #GQuark id and associated data element, together with the @user_data parameter supplied to g_dataset_foreach().

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

Represents a day between January 1, Year 1 and a few thousand years in the future. None of its members should be accessed directly.

Link copied to clipboard

This enumeration isn't used in the API, but may be useful if you need to mark a number as a day, month, or year.

Link copied to clipboard

Enumeration representing a month; values are %G_DATE_JANUARY, %G_DATE_FEBRUARY, etc. %G_DATE_BAD_MONTH is the invalid value.

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

An opaque structure that represents a date and time, including a time zone.

Link copied to clipboard

Enumeration representing a day of the week; %G_DATE_MONDAY, %G_DATE_TUESDAY, etc. %G_DATE_BAD_WEEKDAY is an invalid weekday.

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

Associates a string with a bit flag. Used in g_parse_debug_string().

Link copied to clipboard
typealias DestroyNotify = () -> Unit

Specifies the type of function which is called when a data element is destroyed. It is passed the pointer to the data element and should free any memory and resources allocated for it.

Link copied to clipboard
typealias EqualFunc = () -> Boolean

Specifies the type of a function used to test two values for equality. The function should return true if both values are equal and false otherwise.

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

The GError structure contains information about an error that has occurred.

Link copied to clipboard
typealias ErrorClearFunc = (error: Error) -> Unit

Specifies the type of function which is called when an extended error instance is freed. It is passed the error pointer about to be freed, and should free the error's private data fields.

Link copied to clipboard
typealias ErrorCopyFunc = (srcError: Error, destError: Error) -> Unit

Specifies the type of function which is called when an extended error instance is copied. It is passed the pointer to the destination error and source error, and should copy only the fields of the private data from @src_error to @dest_error.

Link copied to clipboard
typealias ErrorInitFunc = (error: Error) -> Unit

Specifies the type of function which is called just after an extended error instance is created and its fields filled. It should only initialize the fields in the private data, which can be received with the generated *_get_private() function.

Link copied to clipboard

The possible errors, used in the @v_error field of #GTokenValue, when the token is a %G_TOKEN_ERROR.

Link copied to clipboard

Values corresponding to @errno codes returned from file operations on UNIX. Unlike @errno codes, GFileError values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.

Link copied to clipboard
class FileErrorException(val error: Error, val code: FileError) : GlibException
Link copied to clipboard
class FileSetContentsFlags(val mask: <Error class: unknown class>) : Bitfield<FileSetContentsFlags>

Flags to pass to g_file_set_contents_full() to affect its safety and performance.

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

A test to perform on a file using g_file_test().

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

Flags to modify the format of the string returned by g_format_size_full().

Link copied to clipboard
typealias FreeFunc = () -> Unit

Declares a type of function which takes an arbitrary data pointer argument and has no return value. It is not currently used in GLib or GTK+.

Link copied to clipboard
typealias Func = () -> Unit

Specifies the type of functions passed to g_list_foreach() and g_slist_foreach().

Link copied to clipboard
object Glib
Link copied to clipboard
typealias HashFunc = () -> <Error class: unknown class>

Specifies the type of the hash function which is passed to g_hash_table_new() when a #GHashTable is created.

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

The #GHashTable struct is an opaque data structure to represent a glib-Hash-Tables. It should only be accessed via the following functions.

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

A GHashTableIter structure represents an iterator that can be used to iterate over the elements of a #GHashTable. GHashTableIter structures are typically allocated on the stack and then initialized with g_hash_table_iter_init().

Link copied to clipboard
typealias HFunc = () -> Unit

Specifies the type of the function passed to g_hash_table_foreach(). It is called with each key/value pair, together with the @user_data parameter which is passed to g_hash_table_foreach().

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

The #GHook struct represents a single hook function in a #GHookList.

Link copied to clipboard
typealias HookCheckFunc = () -> Boolean

Defines the type of a hook function that can be invoked by g_hook_list_invoke_check().

Link copied to clipboard
typealias HookCheckMarshaller = (hook: Hook) -> Boolean

Defines the type of function used by g_hook_list_marshal_check().

Link copied to clipboard
typealias HookCompareFunc = (newHook: Hook, sibling: Hook) -> Int

Defines the type of function used to compare #GHook elements in g_hook_insert_sorted().

Link copied to clipboard
typealias HookFinalizeFunc = (hookList: HookList, hook: Hook) -> Unit

Defines the type of function to be called when a hook in a list of hooks gets finalized.

Link copied to clipboard
typealias HookFindFunc = (hook: Hook) -> Boolean

Defines the type of the function passed to g_hook_find().

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

Flags used internally in the #GHook implementation.

Link copied to clipboard
typealias HookFunc = () -> Unit

Defines the type of a hook function that can be invoked by g_hook_list_invoke().

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

The #GHookList struct represents a list of hook functions.

Link copied to clipboard
typealias HookMarshaller = (hook: Hook) -> Unit

Defines the type of function used by g_hook_list_marshal().

Link copied to clipboard
typealias HRFunc = () -> Boolean

Specifies the type of the function passed to g_hash_table_foreach_remove(). It is called with each key/value pair, together with the @user_data parameter passed to g_hash_table_foreach_remove(). It should return true if the key/value pair should be removed from the #GHashTable.

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

A data structure representing an IO Channel. The fields should be considered private and should only be accessed with the following functions.

Link copied to clipboard

Error codes returned by #GIOChannel operations.

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

A bitwise combination representing a condition to watch for on an event source.

Link copied to clipboard

#GIOError is only used by the deprecated functions g_io_channel_read(), g_io_channel_write(), and g_io_channel_seek().

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

Specifies properties of a #GIOChannel. Some of the flags can only be read with g_io_channel_get_flags(), but not changed with g_io_channel_set_flags().

Link copied to clipboard
typealias IOFunc = (source: IOChannel, condition: IOCondition) -> Boolean

Specifies the type of function passed to g_io_add_watch() or g_io_add_watch_full(), which is called when the requested condition on a #GIOChannel is satisfied.

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

A table of functions used to handle different types of #GIOChannel in a generic way.

Link copied to clipboard

Statuses returned by most of the #GIOFuncs functions.

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

The GKeyFile struct contains only private data and should not be accessed directly.

Link copied to clipboard

Error codes returned by key file parsing.

Link copied to clipboard
class KeyFileErrorException(val error: Error, val code: KeyFileError) : GlibException
Link copied to clipboard
class KeyFileFlags(val mask: <Error class: unknown class>) : Bitfield<KeyFileFlags>

Flags which influence the parsing.

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

The #GList struct is used for each element in a doubly-linked list.

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

Structure representing a single field in a structured log entry. See g_log_structured() for details.

Link copied to clipboard
typealias LogFunc = (logDomain: String, logLevel: LogLevelFlags, message: String) -> Unit

Specifies the prototype of log handler functions.

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

Flags specifying the level of log messages.

Link copied to clipboard
typealias LogWriterFunc = (logLevel: LogLevelFlags, <Error class: unknown class>) -> LogWriterOutput

Writer function for log entries. A log entry is a collection of one or more #GLogFields, using the standard [field names from journal

Link copied to clipboard

Return values from #GLogWriterFuncs to indicate whether the given log entry was successfully handled by the writer, or whether there was an error in handling it (and hence a fallback writer should be used).

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

The GMainContext struct is an opaque data type representing a set of sources to be handled in a main loop.

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

Flags to pass to g_main_context_new_with_flags() which affect the behaviour of a #GMainContext.

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

The GMainLoop struct is an opaque data type representing the main event loop of a GLib or GTK+ application.

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

The #GMappedFile represents a file mapping created with g_mapped_file_new(). It has only private members and should not be accessed directly.

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

A mixed enumerated type and flags field. You must specify one type (string, strdup, boolean, tristate). Additionally, you may optionally bitwise OR the type with the flag %G_MARKUP_COLLECT_OPTIONAL.

Link copied to clipboard

Error codes returned by markup parsing.

Link copied to clipboard
class MarkupErrorException(val error: Error, val code: MarkupError) : GlibException
Link copied to clipboard
class MarkupParseContext(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record

A parse context is used to parse a stream of bytes that you expect to contain marked-up text.

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

Flags that affect the behaviour of the parser.

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

Any of the fields in #GMarkupParser can be null, in which case they will be ignored. Except for the @error function, any of these callbacks can set an error; in particular the %G_MARKUP_ERROR_UNKNOWN_ELEMENT, %G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, and %G_MARKUP_ERROR_INVALID_CONTENT errors are intended to be set from these callbacks. If you set an error from a callback, g_markup_parse_context_parse() will report that error back to its caller.

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

A GMatchInfo is an opaque struct used to return information about matches.

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

A set of functions used to perform memory allocation. The same #GMemVTable must be used for all allocations in the same program; a call to g_mem_set_vtable(), if it exists, should be prior to any use of GLib.

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

The #GNode struct represents one node in a glib-N-ary-Trees.

Link copied to clipboard
typealias NodeForeachFunc = (node: Node) -> Unit

Specifies the type of function passed to g_node_children_foreach(). The function is called with each child node, together with the user data passed to g_node_children_foreach().

Link copied to clipboard
typealias NodeTraverseFunc = (node: Node) -> Boolean

Specifies the type of function passed to g_node_traverse(). The function is called with each of the nodes visited, together with the user data passed to g_node_traverse(). If the function returns true, then the traversal is stopped.

Link copied to clipboard

Defines how a Unicode string is transformed in a canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. Unicode strings should generally be normalized before comparing them.

Link copied to clipboard

Error codes returned by functions converting a string to a number.

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

A #GOnce struct controls a one-time initialization function. Any one-time initialization function must have its own unique #GOnce struct.

Link copied to clipboard

The possible statuses of a one-time initialization function controlled by a #GOnce struct.

Link copied to clipboard

The #GOptionArg enum values determine which type of extra argument the options expect to find. If an option expects an extra argument, it can be specified in several ways; with a short option: -x arg, with a long option: --name arg or combined in a single argument: --name=arg.

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

A GOptionEntry struct defines a single option. To have an effect, they must be added to a #GOptionGroup with g_option_context_add_main_entries() or g_option_group_add_entries().

Link copied to clipboard

Error codes returned by option parsing.

Link copied to clipboard
class OptionErrorException(val error: Error, val code: OptionError) : GlibException
Link copied to clipboard
class OptionFlags(val mask: <Error class: unknown class>) : Bitfield<OptionFlags>

Flags which modify individual options.

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

A GOptionGroup struct defines the options in a single group. The struct has only private fields and should not be directly accessed.

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

A GPatternSpec struct is the 'compiled' form of a pattern. This structure is opaque and its fields cannot be accessed directly.

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

Represents a file descriptor, which events to poll for, and which events occurred.

Link copied to clipboard
typealias PollFunc = (ufds: PollFD, <Error class: unknown class>, timeout: Int) -> Int

Specifies the type of function passed to g_main_context_set_poll_func(). The semantics of the function should match those of the poll() system call.

Link copied to clipboard
typealias PrintFunc = (string: String) -> Unit

Specifies the type of the print handler functions. These are called with the complete formatted string to output.

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

The #GPrivate struct is an opaque data structure to represent a thread-local data key. It is approximately equivalent to the pthread_setspecific()/pthread_getspecific() APIs on POSIX and to TlsSetValue()/TlsGetValue() on Windows.

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

Contains the public fields of a pointer array.

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

Contains the public fields of a glib-Double-ended-Queues.

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

The GRecMutex struct is an opaque data structure to represent a recursive mutex. It is similar to a #GMutex with the difference that it is possible to lock a GRecMutex multiple times in the same thread without deadlock. When doing so, care has to be taken to unlock the recursive mutex as often as it has been locked.

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

The g_regex_*() functions implement regular expression pattern matching using syntax and semantics similar to Perl regular expression.

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

Flags specifying compile-time options.

Link copied to clipboard

Error codes returned by regular expressions functions.

Link copied to clipboard
class RegexErrorException(val error: Error, val code: RegexError) : GlibException
Link copied to clipboard
typealias RegexEvalCallback = (matchInfo: MatchInfo, result: String) -> Boolean

Specifies the type of the function passed to g_regex_replace_eval(). It is called for each occurrence of the pattern in the string passed to g_regex_replace_eval(), and it should append the replacement to

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

Flags specifying match-time options.

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

The GRWLock struct is an opaque data structure to represent a reader-writer lock. It is similar to a #GMutex in that it allows multiple threads to coordinate access to a shared resource.

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

The data structure representing a lexical scanner.

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

Specifies the #GScanner parser configuration. Most settings can be changed during the parsing phase and will affect the lexical parsing of the next unpeeked token.

Link copied to clipboard
typealias ScannerMsgFunc = (scanner: Scanner, message: String, error: Boolean) -> Unit

Specifies the type of the message handler function.

Link copied to clipboard

An enumeration specifying the base position for a g_io_channel_seek_position() operation.

Link copied to clipboard
typealias SequenceIterCompareFunc = () -> Int

A #GSequenceIterCompareFunc is a function used to compare iterators. It must return zero if the iterators compare equal, a negative value if @a comes before @b, and a positive value if @b comes before @a.

Link copied to clipboard

Error codes returned by shell functions.

Link copied to clipboard
class ShellErrorException(val error: Error, val code: ShellError) : GlibException
Link copied to clipboard
Link copied to clipboard
class SList(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record

The #GSList struct is used for each element in the singly-linked list.

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

The GSource struct is an opaque data type representing an event source.

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

The GSourceCallbackFuncs struct contains functions for managing callback objects.

Link copied to clipboard
typealias SourceDisposeFunc = (source: Source) -> Unit

Dispose function for @source. See g_source_set_dispose_function() for details.

Link copied to clipboard
typealias SourceDummyMarshal = () -> Unit

This is just a placeholder for #GClosureMarshal, which cannot be used here for dependency reasons.

Link copied to clipboard
typealias SourceFunc = () -> Boolean

Specifies the type of function passed to g_timeout_add(), g_timeout_add_full(), g_idle_add(), and g_idle_add_full().

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

The GSourceFuncs struct contains a table of functions used to handle event sources in a generic manner.

Link copied to clipboard
typealias SpawnChildSetupFunc = () -> Unit

Specifies the type of the setup function passed to g_spawn_async(), g_spawn_sync() and g_spawn_async_with_pipes(), which can, in very limited ways, be used to affect the child's execution.

Link copied to clipboard

Error codes returned by spawning processes.

Link copied to clipboard
class SpawnErrorException(val error: Error, val code: SpawnError) : GlibException
Link copied to clipboard
class SpawnFlags(val mask: <Error class: unknown class>) : Bitfield<SpawnFlags>

Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().

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

The GString struct contains the public fields of a GString.

Link copied to clipboard
class TestConfig(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record
Link copied to clipboard
typealias TestDataFunc = () -> Unit

The type used for test case functions that take an extra pointer argument.

Link copied to clipboard

The type of file to return the filename for, when used with g_test_build_filename().

Link copied to clipboard
typealias TestFixtureFunc = () -> Unit

The type used for functions that operate on test fixtures. This is used for the fixture setup and teardown functions as well as for the testcases themselves.

Link copied to clipboard
typealias TestFunc = () -> Unit

The type used for test case functions.

Link copied to clipboard
class TestLogBuffer(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record
Link copied to clipboard
typealias TestLogFatalFunc = (logDomain: String, logLevel: LogLevelFlags, message: String) -> Boolean

Specifies the prototype of fatal log handler functions.

Link copied to clipboard
class TestLogMsg(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TestSubprocessFlags(val mask: <Error class: unknown class>) : Bitfield<TestSubprocessFlags>

Flags to pass to g_test_trap_subprocess() to control input and output.

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

Test traps are guards around forked tests. These flags determine what traps to set.

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

The #GThread struct represents a running thread. This struct is returned by g_thread_new() or g_thread_try_new(). You can obtain the #GThread struct representing the current thread by calling g_thread_self().

Link copied to clipboard

Possible errors of thread related functions.

Link copied to clipboard
class ThreadErrorException(val error: Error, val code: ThreadError) : GlibException
Link copied to clipboard
class ThreadPool(pointer: <Error class: unknown class><<Error class: unknown class>>) : Record

The #GThreadPool struct represents a thread pool. It has three public read-only members, but the underlying struct is bigger, so you must not copy this struct.

Link copied to clipboard

Disambiguates a given time in two ways.

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

Represents a precise time, with seconds and microseconds.

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

#GTimeZone is an opaque structure whose members cannot be accessed directly.

Link copied to clipboard

The possible types of token returned from each g_scanner_get_next_token() call.

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

Each piece of memory that is pushed onto the stack is cast to a GTrashStack*.

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

Specifies which nodes are visited during several of the tree functions, including g_node_traverse() and g_node_find().

Link copied to clipboard
typealias TraverseFunc = () -> Boolean

Specifies the type of function passed to g_tree_traverse(). It is passed the key and value of each node, together with the @user_data parameter passed to g_tree_traverse(). If the function returns true, the traversal is stopped.

Link copied to clipboard
typealias TraverseNodeFunc = () -> Boolean

Specifies the type of function passed to g_tree_foreach_node(). It is passed each node, together with the @user_data parameter passed to g_tree_foreach_node(). If the function returns true, the traversal is stopped.

Link copied to clipboard

Specifies the type of traversal performed by g_tree_traverse(), g_node_traverse() and g_node_find(). The different orders are illustrated here:

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

The GTree struct is an opaque data structure representing a glib-Balanced-Binary-Trees. It should be accessed only by using the following functions.

Link copied to clipboard

These are the possible line break classifications.

Link copied to clipboard

The #GUnicodeScript enumeration identifies different writing systems. The values correspond to the names as defined in the Unicode standard. The enumeration has been added in GLib 2.14, and is interchangeable with #PangoScript.

Link copied to clipboard

These are the possible character classifications from the Unicode specification. See Unicode Character Database.

Link copied to clipboard
typealias UnixFDSourceFunc = (fd: Int, condition: IOCondition) -> Boolean

The type of functions to be called when a UNIX fd watch source triggers.

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

The #GUri type and related functions can be used to parse URIs into their components, and build valid URIs from individual components.

Link copied to clipboard

Error codes returned by #GUri methods.

Link copied to clipboard
class UriErrorException(val error: Error, val code: UriError) : GlibException
Link copied to clipboard
class UriFlags(val mask: <Error class: unknown class>) : Bitfield<UriFlags>

Flags that describe a URI.

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

Flags describing what parts of the URI to hide in g_uri_to_string_partial(). Note that %G_URI_HIDE_PASSWORD and %G_URI_HIDE_AUTH_PARAMS will only work if the #GUri was parsed with the corresponding flags.

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

Flags modifying the way parameters are handled by g_uri_parse_params() and #GUriParamsIter.

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

Many URI schemes include one or more attribute/value pairs as part of the URI value. For example scheme://server/path?query=string&is=there has two attributes – query=string and is=there – in its query part.

Link copied to clipboard

These are logical ids for special directories which are defined depending on the platform used. You should use g_get_user_special_dir() to retrieve the full path associated to the logical id.

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

#GVariant is a variant datatype; it can contain one or more values along with information about the type of the values.

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

A utility type for constructing container-type #GVariant instances.

Link copied to clipboard

The range of possible top-level types of #GVariant instances.

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

#GVariantDict is a mutable interface to #GVariant dictionaries.

Link copied to clipboard

Error codes returned by parsing text-format GVariants.

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

This section introduces the GVariant type system. It is based, in large part, on the D-Bus type system, with two major changes and some minor lifting of restrictions. The D-Bus specification, therefore, provides a significant amount of information that is useful when working with GVariant.

Link copied to clipboard
typealias VoidFunc = () -> Unit

Declares a type of function which takes no arguments and has no return value. It is used to specify the type function passed to g_atexit().

Properties

Link copied to clipboard
val ChildWatchFuncFunc: <Error class: unknown class><<Error class: unknown class><(Int) -> Unit>>
Link copied to clipboard
val ClearHandleFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class>) -> Unit>>
Link copied to clipboard
val CompareDataFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val CompareFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val DataForeachFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class>) -> Unit>>
Link copied to clipboard
val DestroyNotifyFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val EqualFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val ErrorClearFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val ErrorCopyFuncFunc: <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 ErrorInitFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val FreeFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val FuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val HashFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> <Error class: unknown class>>>
Link copied to clipboard
val HFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val HookCheckFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val HookCheckMarshallerFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val HookCompareFuncFunc: <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 HookFinalizeFuncFunc: <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 HookFindFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val HookFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val HookMarshallerFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val HRFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val IOFuncFunc: <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 LogFuncFunc: <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 LogWriterFuncFunc: <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 NodeForeachFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val NodeTraverseFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Int>>
Link copied to clipboard
val PollFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class>, Int) -> Int>>
Link copied to clipboard
val PrintFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val RegexEvalCallbackFunc: <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 ScannerMsgFuncFunc: <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) -> Unit>>
Link copied to clipboard
val SequenceIterCompareFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val SourceDisposeFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val SourceDummyMarshalFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val SourceFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val SpawnChildSetupFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val TestDataFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val TestFixtureFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val TestFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>
Link copied to clipboard
val TestLogFatalFuncFunc: <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 TraverseFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val TraverseNodeFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Int>>
Link copied to clipboard
val UnixFDSourceFuncFunc: <Error class: unknown class><<Error class: unknown class><(Int, <Error class: unknown class>) -> Int>>
Link copied to clipboard
val VoidFuncFunc: <Error class: unknown class><<Error class: unknown class><() -> Unit>>