gtkc.glibtypes

Undocumented in source.

Members

Aliases

AsciiType
alias AsciiType = GAsciiType
Undocumented in source.
BookmarkFileError
alias BookmarkFileError = GBookmarkFileError
Undocumented in source.
ChecksumType
alias ChecksumType = GChecksumType
Undocumented in source.
ConvertError
alias ConvertError = GConvertError
Undocumented in source.
DateDMY
alias DateDMY = GDateDMY
Undocumented in source.
DateMonth
alias DateMonth = GDateMonth
Undocumented in source.
DateWeekday
alias DateWeekday = GDateWeekday
Undocumented in source.
ErrorType
alias ErrorType = GErrorType
Undocumented in source.
FileError
alias FileError = GFileError
Undocumented in source.
FileTest
alias FileTest = GFileTest
Undocumented in source.
FormatSizeFlags
alias FormatSizeFlags = GFormatSizeFlags
Undocumented in source.
GArrayAutoptr
alias GArrayAutoptr = void*
Undocumented in source.
GAsyncQueueAutoptr
alias GAsyncQueueAutoptr = void*
Undocumented in source.
GBookmarkFileAutoptr
alias GBookmarkFileAutoptr = void*
Undocumented in source.
GByteArrayAutoptr
alias GByteArrayAutoptr = void*
Undocumented in source.
GBytesAutoptr
alias GBytesAutoptr = void*
Undocumented in source.
GChecksumAutoptr
alias GChecksumAutoptr = void*
Undocumented in source.
GChildWatchFunc
alias GChildWatchFunc = void function(GPid pid, int status, void* userData)

Prototype of a #GChildWatchSource callback, called when a child process has exited. To interpret @status, see the documentation for g_spawn_check_exit_status().

GCompareDataFunc
alias GCompareDataFunc = int function(void* a, void* b, void* userData)

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.

GCompareFunc
alias GCompareFunc = int function(void* a, void* b)

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.

GCopyFunc
alias GCopyFunc = void* function(void* src, void* data)

A function of this signature is used to copy the node data when doing a deep-copy of a tree.

GDataForeachFunc
alias GDataForeachFunc = void function(GQuark keyId, void* data, void* userData)

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

GDateDay
alias GDateDay = ubyte

Integer representing a day of the month; between 1 and 31. #G_DATE_BAD_DAY represents an invalid day of the month.

GDateTimeAutoptr
alias GDateTimeAutoptr = void*
Undocumented in source.
GDateYear
alias GDateYear = ushort

Integer representing a year; #G_DATE_BAD_YEAR is the invalid value. The year must be 1 or higher; negative (BC) years are not allowed. The year is represented with four digits.

GDestroyNotify
alias GDestroyNotify = void function(void* data)

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.

GDirAutoptr
alias GDirAutoptr = void*
Undocumented in source.
GDuplicateFunc
alias GDuplicateFunc = void* function(void* data, void* userData)

The type of functions that are used to 'duplicate' an object. What this means depends on the context, it could just be incrementing the reference count, if @data is a ref-counted object.

GEqualFunc
alias GEqualFunc = int function(void* a, void* b)

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.

GErrorAutoptr
alias GErrorAutoptr = void*
Undocumented in source.
GFreeFunc
alias GFreeFunc = void function(void* data)

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

GFunc
alias GFunc = void function(void* data, void* userData)

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

GHFunc
alias GHFunc = void function(void* key, void* value, void* userData)

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

GHRFunc
alias GHRFunc = int function(void* key, void* value, void* userData)

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.

GHashFunc
alias GHashFunc = uint function(void* key)

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

GHashTableAutoptr
alias GHashTableAutoptr = void*
Undocumented in source.
GHmacAutoptr
alias GHmacAutoptr = void*
Undocumented in source.
GHookCheckFunc
alias GHookCheckFunc = int function(void* data)

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

GHookCheckMarshaller
alias GHookCheckMarshaller = int function(GHook* hook, void* marshalData)

Defines the type of function used by g_hook_list_marshal_check().

GHookCompareFunc
alias GHookCompareFunc = int function(GHook* newHook, GHook* sibling)

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

GHookFinalizeFunc
alias GHookFinalizeFunc = void function(GHookList* hookList, GHook* hook)

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

GHookFindFunc
alias GHookFindFunc = int function(GHook* hook, void* data)

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

GHookFunc
alias GHookFunc = void function(void* data)

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

GHookMarshaller
alias GHookMarshaller = void function(GHook* hook, void* marshalData)

Defines the type of function used by g_hook_list_marshal().

GIConv
alias GIConv = void*
Undocumented in source.
GIOChannelAutoptr
alias GIOChannelAutoptr = void*
Undocumented in source.
GIOFunc
alias GIOFunc = int function(GIOChannel* source, GIOCondition condition, void* data)

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.

GKeyFileAutoptr
alias GKeyFileAutoptr = void*
Undocumented in source.
GListAutoptr
alias GListAutoptr = void*
Undocumented in source.
GLogFunc
alias GLogFunc = void function(const(char)* logDomain, GLogLevelFlags logLevel, const(char)* message, void* userData)

Specifies the prototype of log handler functions.

GMainContextAutoptr
alias GMainContextAutoptr = void*
Undocumented in source.
GMainLoopAutoptr
alias GMainLoopAutoptr = void*
Undocumented in source.
GMappedFileAutoptr
alias GMappedFileAutoptr = void*
Undocumented in source.
GMarkupParseContextAutoptr
alias GMarkupParseContextAutoptr = void*
Undocumented in source.
GMatchInfoAutoptr
alias GMatchInfoAutoptr = void*
Undocumented in source.
GModuleCheckInit
alias GModuleCheckInit = const(char)* function(GModule* modul)

Specifies the type of the module initialization function. If a module contains a function named g_module_check_init() it is called automatically when the module is loaded. It is passed the #GModule structure and should return %NULL on success or a string describing the initialization error.

GModuleUnload
alias GModuleUnload = void function(GModule* modul)

Specifies the type of the module function called when it is unloaded. If a module contains a function named g_module_unload() it is called automatically when the module is unloaded. It is passed the #GModule structure.

GMutexLocker
alias GMutexLocker = void*

Opaque type. See g_mutex_locker_new() for details.

GMutexLockerAutoptr
alias GMutexLockerAutoptr = void*
Undocumented in source.
GNodeAutoptr
alias GNodeAutoptr = void*
Undocumented in source.
GNodeForeachFunc
alias GNodeForeachFunc = void function(GNode* node, void* data)

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

GNodeTraverseFunc
alias GNodeTraverseFunc = int function(GNode* node, void* data)

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.

GOptionArgFunc
alias GOptionArgFunc = int function(const(char)* optionName, const(char)* value, void* data, GError** err)

The type of function to be passed as callback for %G_OPTION_ARG_CALLBACK options.

GOptionContextAutoptr
alias GOptionContextAutoptr = void*
Undocumented in source.
GOptionErrorFunc
alias GOptionErrorFunc = void function(GOptionContext* context, GOptionGroup* group, void* data, GError** err)

The type of function to be used as callback when a parse error occurs.

GOptionGroupAutoptr
alias GOptionGroupAutoptr = void*
Undocumented in source.
GOptionParseFunc
alias GOptionParseFunc = int function(GOptionContext* context, GOptionGroup* group, void* data, GError** err)

The type of function that can be called before and after parsing.

GPatternSpecAutoptr
alias GPatternSpecAutoptr = void*
Undocumented in source.
GPid
alias GPid = int

A type which is used to hold a process identification.

GPollFunc
alias GPollFunc = int function(GPollFD* ufds, uint nfsd, int timeout)

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.

GPrintFunc
alias GPrintFunc = void function(const(char)* str)

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

GPtrArrayAutoptr
alias GPtrArrayAutoptr = void*
Undocumented in source.
GQuark
alias GQuark = uint

A GQuark is a non-zero integer which uniquely identifies a particular string. A GQuark value of zero is associated to %NULL.

GQueueAutoptr
alias GQueueAutoptr = void*
Undocumented in source.
GRandAutoptr
alias GRandAutoptr = void*
Undocumented in source.
GRegexAutoptr
alias GRegexAutoptr = void*
Undocumented in source.
GRegexEvalCallback
alias GRegexEvalCallback = int function(GMatchInfo* matchInfo, GString* result, void* userData)

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 @result.

GSListAutoptr
alias GSListAutoptr = void*
Undocumented in source.
GScannerAutoptr
alias GScannerAutoptr = void*
Undocumented in source.
GScannerMsgFunc
alias GScannerMsgFunc = void function(GScanner* scanner, char* message, int error)

Specifies the type of the message handler function.

GSequenceAutoptr
alias GSequenceAutoptr = void*
Undocumented in source.
GSequenceIterCompareFunc
alias GSequenceIterCompareFunc = int function(GSequenceIter* a, GSequenceIter* b, void* data)

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.

GSourceAutoptr
alias GSourceAutoptr = void*
Undocumented in source.
GSourceDummyMarshal
alias GSourceDummyMarshal = void function()

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

GSourceFunc
alias GSourceFunc = int function(void* userData)

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

GSpawnChildSetupFunc
alias GSpawnChildSetupFunc = void function(void* userData)

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.

GStringChunkAutoptr
alias GStringChunkAutoptr = void*
Undocumented in source.
GStrv
alias GStrv = void*

A C representable type name for #G_TYPE_STRV.

GTestDataFunc
alias GTestDataFunc = void function(void* userData)

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

GTestFixtureFunc
alias GTestFixtureFunc = void function(void* fixture, void* userData)

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.

GTestFunc
alias GTestFunc = void function()

The type used for test case functions.

GTestLogFatalFunc
alias GTestLogFatalFunc = int function(const(char)* logDomain, GLogLevelFlags logLevel, const(char)* message, void* userData)

Specifies the prototype of fatal log handler functions.

GThreadAutoptr
alias GThreadAutoptr = void*
Undocumented in source.
GThreadFunc
alias GThreadFunc = void* function(void* data)

Specifies the type of the @func functions passed to g_thread_new() or g_thread_try_new().

GTime
alias GTime = int

Simply a replacement for time_t. It has been deprecated since it is not equivalent to time_t on 64-bit platforms with a 64-bit time_t. Unrelated to #GTimer.

GTimeSpan
alias GTimeSpan = long

A value representing an interval of time, in microseconds.

GTimeZoneAutoptr
alias GTimeZoneAutoptr = void*
Undocumented in source.
GTimerAutoptr
alias GTimerAutoptr = void*
Undocumented in source.
GTranslateFunc
alias GTranslateFunc = const(char)* function(const(char)* str, void* data)

The type of functions which are used to translate user-visible strings, for <option>--help</option> output.

GTraverseFunc
alias GTraverseFunc = int function(void* key, void* value, void* data)

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.

GTreeAutoptr
alias GTreeAutoptr = void*
Undocumented in source.
GUnixFDSourceFunc
alias GUnixFDSourceFunc = int function(int fd, GIOCondition condition, void* userData)

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

GVariantAutoptr
alias GVariantAutoptr = void*
Undocumented in source.
GVariantBuilderAutoptr
alias GVariantBuilderAutoptr = void*
Undocumented in source.
GVariantDictAutoptr
alias GVariantDictAutoptr = void*
Undocumented in source.
GVariantIterAutoptr
alias GVariantIterAutoptr = void*
Undocumented in source.
GVariantTypeAutoptr
alias GVariantTypeAutoptr = void*
Undocumented in source.
GVoidFunc
alias GVoidFunc = void function()

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

HookFlagMask
alias HookFlagMask = GHookFlagMask
Undocumented in source.
IOChannelError
alias IOChannelError = GIOChannelError
Undocumented in source.
IOCondition
alias IOCondition = GIOCondition
Undocumented in source.
IOError
alias IOError = GIOError
Undocumented in source.
IOFlags
alias IOFlags = GIOFlags
Undocumented in source.
IOStatus
alias IOStatus = GIOStatus
Undocumented in source.
KeyFileError
alias KeyFileError = GKeyFileError
Undocumented in source.
KeyFileFlags
alias KeyFileFlags = GKeyFileFlags
Undocumented in source.
LogLevelFlags
alias LogLevelFlags = GLogLevelFlags
Undocumented in source.
MarkupCollectType
alias MarkupCollectType = GMarkupCollectType
Undocumented in source.
MarkupError
alias MarkupError = GMarkupError
Undocumented in source.
MarkupParseFlags
alias MarkupParseFlags = GMarkupParseFlags
Undocumented in source.
ModuleFlags
alias ModuleFlags = GModuleFlags
Undocumented in source.
NormalizeMode
alias NormalizeMode = GNormalizeMode
Undocumented in source.
OnceStatus
alias OnceStatus = GOnceStatus
Undocumented in source.
OptionArg
alias OptionArg = GOptionArg
Undocumented in source.
OptionError
alias OptionError = GOptionError
Undocumented in source.
OptionFlags
alias OptionFlags = GOptionFlags
Undocumented in source.
RegexCompileFlags
alias RegexCompileFlags = GRegexCompileFlags
Undocumented in source.
RegexError
alias RegexError = GRegexError
Undocumented in source.
RegexMatchFlags
alias RegexMatchFlags = GRegexMatchFlags
Undocumented in source.
SeekType
alias SeekType = GSeekType
Undocumented in source.
ShellError
alias ShellError = GShellError
Undocumented in source.
SliceConfig
alias SliceConfig = GSliceConfig
Undocumented in source.
SpawnError
alias SpawnError = GSpawnError
Undocumented in source.
SpawnFlags
alias SpawnFlags = GSpawnFlags
Undocumented in source.
TestFileType
alias TestFileType = GTestFileType
Undocumented in source.
TestLogType
alias TestLogType = GTestLogType
Undocumented in source.
TestSubprocessFlags
alias TestSubprocessFlags = GTestSubprocessFlags
Undocumented in source.
TestTrapFlags
alias TestTrapFlags = GTestTrapFlags
Undocumented in source.
ThreadError
alias ThreadError = GThreadError
Undocumented in source.
TimeType
alias TimeType = GTimeType
Undocumented in source.
TokenType
alias TokenType = GTokenType
Undocumented in source.
TraverseFlags
alias TraverseFlags = GTraverseFlags
Undocumented in source.
TraverseType
alias TraverseType = GTraverseType
Undocumented in source.
UnicodeBreakType
alias UnicodeBreakType = GUnicodeBreakType
Undocumented in source.
UnicodeScript
alias UnicodeScript = GUnicodeScript
Undocumented in source.
UnicodeType
alias UnicodeType = GUnicodeType
Undocumented in source.
UserDirectory
alias UserDirectory = GUserDirectory
Undocumented in source.
VariantClass
alias VariantClass = GVariantClass
Undocumented in source.
VariantParseError
alias VariantParseError = GVariantParseError
Undocumented in source.
glong
alias glong = int
Undocumented in source.
glong
alias glong = long
Undocumented in source.
glong
alias glong = int
Undocumented in source.
gulong
alias gulong = uint
Undocumented in source.
gulong
alias gulong = ulong
Undocumented in source.
gulong
alias gulong = uint
Undocumented in source.
pid_t
alias pid_t = int
Undocumented in source.
uid_t
alias uid_t = uint
Undocumented in source.

Enums

GAsciiType
enum GAsciiType
Undocumented in source.
GBookmarkFileError
enum GBookmarkFileError

Error codes returned by bookmark file parsing.

GChecksumType
enum GChecksumType

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

GConvertError
enum GConvertError

Error codes returned by character set conversion routines.

GDateDMY
enum GDateDMY

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.

GDateMonth
enum GDateMonth

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

GDateWeekday
enum GDateWeekday

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

GErrorType
enum GErrorType

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

GFileError
enum GFileError

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.

GFileTest
enum GFileTest

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

GFormatSizeFlags
enum GFormatSizeFlags

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

GHookFlagMask
enum GHookFlagMask

Flags used internally in the #GHook implementation.

GIOChannelError
enum GIOChannelError

Error codes returned by #GIOChannel operations.

GIOCondition
enum GIOCondition

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

GIOError
enum GIOError

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

GIOFlags
enum GIOFlags

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

GIOStatus
enum GIOStatus

Stati returned by most of the #GIOFuncs functions.

GKeyFileError
enum GKeyFileError

Error codes returned by key file parsing.

GKeyFileFlags
enum GKeyFileFlags

Flags which influence the parsing.

GLogLevelFlags
enum GLogLevelFlags

Flags specifying the level of log messages.

GMarkupCollectType
enum GMarkupCollectType

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.

GMarkupError
enum GMarkupError

Error codes returned by markup parsing.

GMarkupParseFlags
enum GMarkupParseFlags

Flags that affect the behaviour of the parser.

GModuleFlags
enum GModuleFlags

Flags passed to g_module_open(). Note that these flags are not supported on all platforms.

GNormalizeMode
enum GNormalizeMode

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.

GOnceStatus
enum GOnceStatus

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

GOptionArg
enum GOptionArg

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.

GOptionError
enum GOptionError

Error codes returned by option parsing.

GOptionFlags
enum GOptionFlags

Flags which modify individual options.

GPriority
enum GPriority
Undocumented in source.
GRegexCompileFlags
enum GRegexCompileFlags

Flags specifying compile-time options.

GRegexError
enum GRegexError

Error codes returned by regular expressions functions.

GRegexMatchFlags
enum GRegexMatchFlags

Flags specifying match-time options.

GSeekType
enum GSeekType

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

GShellError
enum GShellError

Error codes returned by shell functions.

GSliceConfig
enum GSliceConfig
Undocumented in source.
GSpawnError
enum GSpawnError

Error codes returned by spawning processes.

GSpawnFlags
enum GSpawnFlags

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

GTestFileType
enum GTestFileType

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

GTestLogType
enum GTestLogType
Undocumented in source.
GTestSubprocessFlags
enum GTestSubprocessFlags

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

GTestTrapFlags
enum GTestTrapFlags

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

GThreadError
enum GThreadError

Possible errors of thread related functions.

GTimeType
enum GTimeType

Disambiguates a given time in two ways.

GTokenType
enum GTokenType

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

GTraverseFlags
enum GTraverseFlags

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

GTraverseType
enum GTraverseType

Specifies the type of traveral performed by g_tree_traverse(), g_node_traverse() and g_node_find(). The different orders are illustrated here: - In order: A, B, C, D, E, F, G, H, I

- Pre order: F, B, A, D, C, E, G, I, H

- Post order: A, C, E, D, B, H, I, G, F

- Level order: F, B, G, A, D, I, C, E, H

GUnicodeBreakType
enum GUnicodeBreakType

These are the possible line break classifications.

GUnicodeScript
enum GUnicodeScript

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.

GUnicodeType
enum GUnicodeType

These are the possible character classifications from the Unicode specification. See <ulink url="http://www.unicode.org/Public/UNIDATA/UnicodeData.html">http://www.unicode.org/Public/UNIDATA/UnicodeData.html</ulink>.

GUserDirectory
enum GUserDirectory

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.

GVariantClass
enum GVariantClass

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

GVariantParseError
enum GVariantParseError

Error codes returned by parsing text-format GVariants.

Functions

fdopen
FILE* fdopen(int , char* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getArrayLength
size_t getArrayLength(T* arr)

Get the length of a zero terminated array.

scoped
auto scoped(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

scoped (from std.typecons)
public import std.typecons : scoped;
Undocumented in source.

Manifest constants

_utfPostfix
enum _utfPostfix;
Undocumented in source.
_utfPostfix
enum _utfPostfix;
Undocumented in source.

Structs

GArray
struct GArray

Contains the public fields of a GArray.

GAsyncQueue
struct GAsyncQueue
Undocumented in source.
GBookmarkFile
struct GBookmarkFile
Undocumented in source.
GByteArray
struct GByteArray

Contains the public fields of a GByteArray.

GBytes
struct GBytes
Undocumented in source.
GChecksum
struct GChecksum
Undocumented in source.
GCond
struct GCond
Undocumented in source.
GData
struct GData

The #GData struct is an opaque data structure to represent a [Keyed Data List][glib-Keyed-Data-Lists]. It should only be accessed via the following functions.

GDate
struct GDate
Undocumented in source.
GDateTime
struct GDateTime
Undocumented in source.
GDebugKey
struct GDebugKey

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

GDir
struct GDir
Undocumented in source.
GDoubleIEEE754
struct GDoubleIEEE754

The #GFloatIEEE754 and #GDoubleIEEE754 unions are used to access the sign, mantissa and exponent of IEEE floats and doubles. These unions are defined as appropriate for a given platform. IEEE floats and doubles are supported (used for storage) by at least Intel, PPC and Sparc.

GError
struct GError
Undocumented in source.
GFloatIEEE754
struct GFloatIEEE754

The #GFloatIEEE754 and #GDoubleIEEE754 unions are used to access the sign, mantissa and exponent of IEEE floats and doubles. These unions are defined as appropriate for a given platform. IEEE floats and doubles are supported (used for storage) by at least Intel, PPC and Sparc.

GHashTable
struct GHashTable

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

GHashTableIter
struct GHashTableIter
Undocumented in source.
GHmac
struct GHmac
Undocumented in source.
GHook
struct GHook
Undocumented in source.
GHookList
struct GHookList
Undocumented in source.
GIOChannel
struct GIOChannel
Undocumented in source.
GIOFuncs
struct GIOFuncs

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

GKeyFile
struct GKeyFile
Undocumented in source.
GList
struct GList

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

GMainContext
struct GMainContext
Undocumented in source.
GMainLoop
struct GMainLoop
Undocumented in source.
GMappedFile
struct GMappedFile
Undocumented in source.
GMarkupParseContext
struct GMarkupParseContext
Undocumented in source.
GMarkupParser
struct GMarkupParser

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.

GMatchInfo
struct GMatchInfo
Undocumented in source.
GMemVTable
struct GMemVTable

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.

GModule
struct GModule
Undocumented in source.
GMutex
struct GMutex
Undocumented in source.
GNode
struct GNode
Undocumented in source.
GOnce
struct GOnce
Undocumented in source.
GOptionContext
struct GOptionContext
Undocumented in source.
GOptionEntry
struct GOptionEntry

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

GOptionGroup
struct GOptionGroup
Undocumented in source.
GPatternSpec
struct GPatternSpec
Undocumented in source.
GPollFD
struct GPollFD

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

GPrivate
struct GPrivate
Undocumented in source.
GPtrArray
struct GPtrArray

Contains the public fields of a pointer array.

GQueue
struct GQueue
Undocumented in source.
GRWLock
struct GRWLock
Undocumented in source.
GRand
struct GRand
Undocumented in source.
GRecMutex
struct GRecMutex
Undocumented in source.
GRegex
struct GRegex
Undocumented in source.
GSList
struct GSList

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

GScanner
struct GScanner
Undocumented in source.
GScannerConfig
struct GScannerConfig

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.

GSequence
struct GSequence
Undocumented in source.
GSequenceIter
struct GSequenceIter
Undocumented in source.
GSource
struct GSource
Undocumented in source.
GSourceCallbackFuncs
struct GSourceCallbackFuncs

The GSourceCallbackFuncs struct contains functions for managing callback objects.

GSourceFuncs
struct GSourceFuncs

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

GSourcePrivate
struct GSourcePrivate
Undocumented in source.
GStatBuf
struct GStatBuf

A type corresponding to the appropriate struct type for the stat() system call, depending on the platform and/or compiler being used.

GString
struct GString
Undocumented in source.
GStringChunk
struct GStringChunk
Undocumented in source.
GTestCase
struct GTestCase

An opaque structure representing a test case.

GTestConfig
struct GTestConfig
Undocumented in source.
GTestLogBuffer
struct GTestLogBuffer
Undocumented in source.
GTestLogMsg
struct GTestLogMsg
Undocumented in source.
GTestSuite
struct GTestSuite
Undocumented in source.
GThread
struct GThread
Undocumented in source.
GThreadPool
struct GThreadPool
Undocumented in source.
GTimeVal
struct GTimeVal
Undocumented in source.
GTimeZone
struct GTimeZone
Undocumented in source.
GTimer
struct GTimer
Undocumented in source.
GTokenValue
struct GTokenValue

A union holding the value of the token.

GTrashStack
struct GTrashStack

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

GTree
struct GTree
Undocumented in source.
GVariant
struct GVariant
Undocumented in source.
GVariantBuilder
struct GVariantBuilder
Undocumented in source.
GVariantDict
struct GVariantDict
Undocumented in source.
GVariantIter
struct GVariantIter
Undocumented in source.
GVariantType
struct GVariantType
Undocumented in source.
Scoped
struct Scoped(T)
Undocumented in source.

Templates

Scoped
template Scoped(T)
Undocumented in source.

Meta