glib.c.types

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

GClearHandleFunc
alias GClearHandleFunc = void function(uint handleId)

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.

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.

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.

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.

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.

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

GLIB_MAJOR_VERSION
alias GLIB_MAJOR_VERSION = MAJOR_VERSION
Undocumented in source.
GLIB_MICRO_VERSION
alias GLIB_MICRO_VERSION = MICRO_VERSION
Undocumented in source.
GLIB_MINOR_VERSION
alias GLIB_MINOR_VERSION = MINOR_VERSION
Undocumented in source.
GLIB_SIZEOF_LONG
alias GLIB_SIZEOF_LONG = SIZEOF_LONG
Undocumented in source.
GLIB_SIZEOF_SIZE_T
alias GLIB_SIZEOF_SIZE_T = SIZEOF_SIZE_T
Undocumented in source.
GLIB_SIZEOF_SSIZE_T
alias GLIB_SIZEOF_SSIZE_T = SIZEOF_SSIZE_T
Undocumented in source.
GLIB_SIZEOF_VOID_P
alias GLIB_SIZEOF_VOID_P = SIZEOF_VOID_P
Undocumented in source.
GLIB_SYSDEF_AF_INET
alias GLIB_SYSDEF_AF_INET = SYSDEF_AF_INET
Undocumented in source.
GLIB_SYSDEF_AF_INET6
alias GLIB_SYSDEF_AF_INET6 = SYSDEF_AF_INET6
Undocumented in source.
GLIB_SYSDEF_AF_UNIX
alias GLIB_SYSDEF_AF_UNIX = SYSDEF_AF_UNIX
Undocumented in source.
GLIB_SYSDEF_MSG_DONTROUTE
alias GLIB_SYSDEF_MSG_DONTROUTE = SYSDEF_MSG_DONTROUTE
Undocumented in source.
GLIB_SYSDEF_MSG_OOB
alias GLIB_SYSDEF_MSG_OOB = SYSDEF_MSG_OOB
Undocumented in source.
GLIB_SYSDEF_MSG_PEEK
alias GLIB_SYSDEF_MSG_PEEK = SYSDEF_MSG_PEEK
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.

GLogWriterFunc
alias GLogWriterFunc = GLogWriterOutput function(GLogLevelFlags logLevel, GLogField* fields, size_t nFields, void* userData)

Writer function for log entries. A log entry is a collection of one or more #GLogFields, using the standard [field names from journal specification](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html). See g_log_structured() for more information.

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.

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.

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.

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.

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.

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.

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.

GScannerMsgFunc
alias GScannerMsgFunc = void function(GScanner* scanner, char* message, int error)

Specifies the type of the message handler function.

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.

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.

GStrv
alias GStrv = char**

A typedef alias for gchar**. This is mostly useful when used together with g_auto().

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.

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.

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.

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.

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

G_ANALYZER_ANALYZING
alias G_ANALYZER_ANALYZING = ANALYZER_ANALYZING
Undocumented in source.
G_ASCII_DTOSTR_BUF_SIZE
alias G_ASCII_DTOSTR_BUF_SIZE = ASCII_DTOSTR_BUF_SIZE
Undocumented in source.
G_BIG_ENDIAN
alias G_BIG_ENDIAN = BIG_ENDIAN
Undocumented in source.
G_CSET_A_2_Z
alias G_CSET_A_2_Z = CSET_A_2_Z
Undocumented in source.
G_CSET_DIGITS
alias G_CSET_DIGITS = CSET_DIGITS
Undocumented in source.
G_CSET_a_2_z
alias G_CSET_a_2_z = CSET_a_2_z
Undocumented in source.
G_DATALIST_FLAGS_MASK
alias G_DATALIST_FLAGS_MASK = DATALIST_FLAGS_MASK
Undocumented in source.
G_DATE_BAD_DAY
alias G_DATE_BAD_DAY = DATE_BAD_DAY
Undocumented in source.
G_DATE_BAD_JULIAN
alias G_DATE_BAD_JULIAN = DATE_BAD_JULIAN
Undocumented in source.
G_DATE_BAD_YEAR
alias G_DATE_BAD_YEAR = DATE_BAD_YEAR
Undocumented in source.
G_GINT16_FORMAT
alias G_GINT16_FORMAT = GINT16_FORMAT
Undocumented in source.
G_GINT16_MODIFIER
alias G_GINT16_MODIFIER = GINT16_MODIFIER
Undocumented in source.
G_GINT32_FORMAT
alias G_GINT32_FORMAT = GINT32_FORMAT
Undocumented in source.
G_GINT32_MODIFIER
alias G_GINT32_MODIFIER = GINT32_MODIFIER
Undocumented in source.
G_GINT64_FORMAT
alias G_GINT64_FORMAT = GINT64_FORMAT
Undocumented in source.
G_GINT64_MODIFIER
alias G_GINT64_MODIFIER = GINT64_MODIFIER
Undocumented in source.
G_GINTPTR_FORMAT
alias G_GINTPTR_FORMAT = GINTPTR_FORMAT
Undocumented in source.
G_GINTPTR_MODIFIER
alias G_GINTPTR_MODIFIER = GINTPTR_MODIFIER
Undocumented in source.
G_GNUC_FUNCTION
alias G_GNUC_FUNCTION = GNUC_FUNCTION
Undocumented in source.
G_GNUC_PRETTY_FUNCTION
alias G_GNUC_PRETTY_FUNCTION = GNUC_PRETTY_FUNCTION
Undocumented in source.
G_GSIZE_FORMAT
alias G_GSIZE_FORMAT = GSIZE_FORMAT
Undocumented in source.
G_GSIZE_MODIFIER
alias G_GSIZE_MODIFIER = GSIZE_MODIFIER
Undocumented in source.
G_GSSIZE_FORMAT
alias G_GSSIZE_FORMAT = GSSIZE_FORMAT
Undocumented in source.
G_GSSIZE_MODIFIER
alias G_GSSIZE_MODIFIER = GSSIZE_MODIFIER
Undocumented in source.
G_GUINT16_FORMAT
alias G_GUINT16_FORMAT = GUINT16_FORMAT
Undocumented in source.
G_GUINT32_FORMAT
alias G_GUINT32_FORMAT = GUINT32_FORMAT
Undocumented in source.
G_GUINT64_FORMAT
alias G_GUINT64_FORMAT = GUINT64_FORMAT
Undocumented in source.
G_GUINTPTR_FORMAT
alias G_GUINTPTR_FORMAT = GUINTPTR_FORMAT
Undocumented in source.
G_HAVE_GINT64
alias G_HAVE_GINT64 = HAVE_GINT64
Undocumented in source.
G_HAVE_GNUC_VARARGS
alias G_HAVE_GNUC_VARARGS = HAVE_GNUC_VARARGS
Undocumented in source.
G_HAVE_GNUC_VISIBILITY
alias G_HAVE_GNUC_VISIBILITY = HAVE_GNUC_VISIBILITY
Undocumented in source.
G_HAVE_GROWING_STACK
alias G_HAVE_GROWING_STACK = HAVE_GROWING_STACK
Undocumented in source.
G_HAVE_ISO_VARARGS
alias G_HAVE_ISO_VARARGS = HAVE_ISO_VARARGS
Undocumented in source.
G_HOOK_FLAG_USER_SHIFT
alias G_HOOK_FLAG_USER_SHIFT = HOOK_FLAG_USER_SHIFT
Undocumented in source.
G_IEEE754_DOUBLE_BIAS
alias G_IEEE754_DOUBLE_BIAS = IEEE754_DOUBLE_BIAS
Undocumented in source.
G_IEEE754_FLOAT_BIAS
alias G_IEEE754_FLOAT_BIAS = IEEE754_FLOAT_BIAS
Undocumented in source.
G_KEY_FILE_DESKTOP_GROUP
alias G_KEY_FILE_DESKTOP_GROUP = KEY_FILE_DESKTOP_GROUP
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_ACTIONS
alias G_KEY_FILE_DESKTOP_KEY_ACTIONS = KEY_FILE_DESKTOP_KEY_ACTIONS
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_CATEGORIES
alias G_KEY_FILE_DESKTOP_KEY_CATEGORIES = KEY_FILE_DESKTOP_KEY_CATEGORIES
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_COMMENT
alias G_KEY_FILE_DESKTOP_KEY_COMMENT = KEY_FILE_DESKTOP_KEY_COMMENT
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE
alias G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE = KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_EXEC
alias G_KEY_FILE_DESKTOP_KEY_EXEC = KEY_FILE_DESKTOP_KEY_EXEC
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME
alias G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME = KEY_FILE_DESKTOP_KEY_GENERIC_NAME
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_HIDDEN
alias G_KEY_FILE_DESKTOP_KEY_HIDDEN = KEY_FILE_DESKTOP_KEY_HIDDEN
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_ICON
alias G_KEY_FILE_DESKTOP_KEY_ICON = KEY_FILE_DESKTOP_KEY_ICON
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_MIME_TYPE
alias G_KEY_FILE_DESKTOP_KEY_MIME_TYPE = KEY_FILE_DESKTOP_KEY_MIME_TYPE
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_NAME
alias G_KEY_FILE_DESKTOP_KEY_NAME = KEY_FILE_DESKTOP_KEY_NAME
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN
alias G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN = KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY
alias G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY = KEY_FILE_DESKTOP_KEY_NO_DISPLAY
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN
alias G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN = KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_PATH
alias G_KEY_FILE_DESKTOP_KEY_PATH = KEY_FILE_DESKTOP_KEY_PATH
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY
alias G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY = KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS
alias G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS = KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_TERMINAL
alias G_KEY_FILE_DESKTOP_KEY_TERMINAL = KEY_FILE_DESKTOP_KEY_TERMINAL
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_TRY_EXEC
alias G_KEY_FILE_DESKTOP_KEY_TRY_EXEC = KEY_FILE_DESKTOP_KEY_TRY_EXEC
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_TYPE
alias G_KEY_FILE_DESKTOP_KEY_TYPE = KEY_FILE_DESKTOP_KEY_TYPE
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_URL
alias G_KEY_FILE_DESKTOP_KEY_URL = KEY_FILE_DESKTOP_KEY_URL
Undocumented in source.
G_KEY_FILE_DESKTOP_KEY_VERSION
alias G_KEY_FILE_DESKTOP_KEY_VERSION = KEY_FILE_DESKTOP_KEY_VERSION
Undocumented in source.
G_KEY_FILE_DESKTOP_TYPE_APPLICATION
alias G_KEY_FILE_DESKTOP_TYPE_APPLICATION = KEY_FILE_DESKTOP_TYPE_APPLICATION
Undocumented in source.
G_KEY_FILE_DESKTOP_TYPE_DIRECTORY
alias G_KEY_FILE_DESKTOP_TYPE_DIRECTORY = KEY_FILE_DESKTOP_TYPE_DIRECTORY
Undocumented in source.
G_KEY_FILE_DESKTOP_TYPE_LINK
alias G_KEY_FILE_DESKTOP_TYPE_LINK = KEY_FILE_DESKTOP_TYPE_LINK
Undocumented in source.
G_LITTLE_ENDIAN
alias G_LITTLE_ENDIAN = LITTLE_ENDIAN
Undocumented in source.
G_LOG_DOMAIN
alias G_LOG_DOMAIN = LOG_DOMAIN
Undocumented in source.
G_LOG_FATAL_MASK
alias G_LOG_FATAL_MASK = LOG_FATAL_MASK
Undocumented in source.
G_LOG_LEVEL_USER_SHIFT
alias G_LOG_LEVEL_USER_SHIFT = LOG_LEVEL_USER_SHIFT
Undocumented in source.
G_MAXINT16
alias G_MAXINT16 = MAXINT16
Undocumented in source.
G_MAXINT32
alias G_MAXINT32 = MAXINT32
Undocumented in source.
G_MAXINT64
alias G_MAXINT64 = MAXINT64
Undocumented in source.
G_MAXINT8
alias G_MAXINT8 = MAXINT8
Undocumented in source.
G_MAXUINT16
alias G_MAXUINT16 = MAXUINT16
Undocumented in source.
G_MAXUINT32
alias G_MAXUINT32 = MAXUINT32
Undocumented in source.
G_MAXUINT64
alias G_MAXUINT64 = MAXUINT64
Undocumented in source.
G_MAXUINT8
alias G_MAXUINT8 = MAXUINT8
Undocumented in source.
G_MININT16
alias G_MININT16 = MININT16
Undocumented in source.
G_MININT32
alias G_MININT32 = MININT32
Undocumented in source.
G_MININT64
alias G_MININT64 = MININT64
Undocumented in source.
G_MININT8
alias G_MININT8 = MININT8
Undocumented in source.
G_MODULE_SUFFIX
alias G_MODULE_SUFFIX = MODULE_SUFFIX
Undocumented in source.
G_OPTION_REMAINING
alias G_OPTION_REMAINING = OPTION_REMAINING
Undocumented in source.
G_PDP_ENDIAN
alias G_PDP_ENDIAN = PDP_ENDIAN
Undocumented in source.
G_PID_FORMAT
alias G_PID_FORMAT = PID_FORMAT
Undocumented in source.
G_POLLFD_FORMAT
alias G_POLLFD_FORMAT = POLLFD_FORMAT
Undocumented in source.
G_PRIORITY_DEFAULT
alias G_PRIORITY_DEFAULT = PRIORITY_DEFAULT
Undocumented in source.
G_PRIORITY_DEFAULT_IDLE
alias G_PRIORITY_DEFAULT_IDLE = PRIORITY_DEFAULT_IDLE
Undocumented in source.
G_PRIORITY_HIGH
alias G_PRIORITY_HIGH = PRIORITY_HIGH
Undocumented in source.
G_PRIORITY_HIGH_IDLE
alias G_PRIORITY_HIGH_IDLE = PRIORITY_HIGH_IDLE
Undocumented in source.
G_PRIORITY_LOW
alias G_PRIORITY_LOW = PRIORITY_LOW
Undocumented in source.
G_SOURCE_CONTINUE
alias G_SOURCE_CONTINUE = SOURCE_CONTINUE
Undocumented in source.
G_SOURCE_REMOVE
alias G_SOURCE_REMOVE = SOURCE_REMOVE
Undocumented in source.
G_STR_DELIMITERS
alias G_STR_DELIMITERS = STR_DELIMITERS
Undocumented in source.
G_TIME_SPAN_DAY
alias G_TIME_SPAN_DAY = TIME_SPAN_DAY
Undocumented in source.
G_TIME_SPAN_HOUR
alias G_TIME_SPAN_HOUR = TIME_SPAN_HOUR
Undocumented in source.
G_TIME_SPAN_MILLISECOND
alias G_TIME_SPAN_MILLISECOND = TIME_SPAN_MILLISECOND
Undocumented in source.
G_TIME_SPAN_MINUTE
alias G_TIME_SPAN_MINUTE = TIME_SPAN_MINUTE
Undocumented in source.
G_TIME_SPAN_SECOND
alias G_TIME_SPAN_SECOND = TIME_SPAN_SECOND
Undocumented in source.
G_UNICHAR_MAX_DECOMPOSITION_LENGTH
alias G_UNICHAR_MAX_DECOMPOSITION_LENGTH = UNICHAR_MAX_DECOMPOSITION_LENGTH
Undocumented in source.
G_URI_RESERVED_CHARS_GENERIC_DELIMITERS
alias G_URI_RESERVED_CHARS_GENERIC_DELIMITERS = URI_RESERVED_CHARS_GENERIC_DELIMITERS
Undocumented in source.
G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
alias G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS = URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
Undocumented in source.
G_USEC_PER_SEC
alias G_USEC_PER_SEC = USEC_PER_SEC
Undocumented in source.
G_VA_COPY_AS_ARRAY
alias G_VA_COPY_AS_ARRAY = VA_COPY_AS_ARRAY
Undocumented in source.
G_WIN32_MSG_HANDLE
alias G_WIN32_MSG_HANDLE = WIN32_MSG_HANDLE
Undocumented in source.
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.
LogWriterOutput
alias LogWriterOutput = GLogWriterOutput
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.
NumberParserError
alias NumberParserError = GNumberParserError
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.
TestResult
alias TestResult = GTestResult
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.

GLogWriterOutput
enum GLogWriterOutput

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

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.

GNumberParserError
enum GNumberParserError

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

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.
GTestResult
enum GTestResult
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 Unicode Character Database.

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.
gMalloc
Type* gMalloc()
Undocumented in source. Be warned that the author may not have intended to support it.
getArrayLength
size_t getArrayLength(T* arr)

Get the length of a zero terminated array.

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

Manifest constants

ANALYZER_ANALYZING
enum ANALYZER_ANALYZING;
Undocumented in source.
ASCII_DTOSTR_BUF_SIZE
enum ASCII_DTOSTR_BUF_SIZE;

A good size for a buffer to be passed into g_ascii_dtostr(). It is guaranteed to be enough for all output of that function on systems with 64bit IEEE-compatible doubles.

BIG_ENDIAN
enum BIG_ENDIAN;

Specifies one of the possible types of byte order. See #G_BYTE_ORDER.

CSET_A_2_Z
enum CSET_A_2_Z;

The set of uppercase ASCII alphabet characters. Used for specifying valid identifier characters in #GScannerConfig.

CSET_DIGITS
enum CSET_DIGITS;

The set of ASCII digits. Used for specifying valid identifier characters in #GScannerConfig.

CSET_a_2_z
enum CSET_a_2_z;

The set of lowercase ASCII alphabet characters. Used for specifying valid identifier characters in #GScannerConfig.

DATALIST_FLAGS_MASK
enum DATALIST_FLAGS_MASK;

A bitmask that restricts the possible flags passed to g_datalist_set_flags(). Passing a flags value where flags & ~G_DATALIST_FLAGS_MASK != 0 is an error.

DATE_BAD_DAY
enum DATE_BAD_DAY;

Represents an invalid #GDateDay.

DATE_BAD_JULIAN
enum DATE_BAD_JULIAN;

Represents an invalid Julian day number.

DATE_BAD_YEAR
enum DATE_BAD_YEAR;

Represents an invalid year.

GINT16_FORMAT
enum GINT16_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #gint16. It is a string literal, but doesn't include the percent-sign, such that you can add precision and length modifiers between percent-sign and conversion specifier.

GINT16_MODIFIER
enum GINT16_MODIFIER;

The platform dependent length modifier for conversion specifiers for scanning and printing values of type #gint16 or #guint16. It is a string literal, but doesn't include the percent-sign, such that you can add precision and length modifiers between percent-sign and conversion specifier and append a conversion specifier.

GINT32_FORMAT
enum GINT32_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #gint32. See also #G_GINT16_FORMAT.

GINT32_MODIFIER
enum GINT32_MODIFIER;

The platform dependent length modifier for conversion specifiers for scanning and printing values of type #gint32 or #guint32. It is a string literal. See also #G_GINT16_MODIFIER.

GINT64_FORMAT
enum GINT64_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #gint64. See also #G_GINT16_FORMAT.

GINT64_MODIFIER
enum GINT64_MODIFIER;

The platform dependent length modifier for conversion specifiers for scanning and printing values of type #gint64 or #guint64. It is a string literal.

GINTPTR_FORMAT
enum GINTPTR_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #gintptr.

GINTPTR_MODIFIER
enum GINTPTR_MODIFIER;

The platform dependent length modifier for conversion specifiers for scanning and printing values of type #gintptr or #guintptr. It is a string literal.

GNUC_FUNCTION
enum GNUC_FUNCTION;

Expands to "" on all modern compilers, and to __FUNCTION__ on gcc version 2.x. Don't use it.

GNUC_PRETTY_FUNCTION
enum GNUC_PRETTY_FUNCTION;

Expands to "" on all modern compilers, and to __PRETTY_FUNCTION__ on gcc version 2.x. Don't use it.

GSIZE_FORMAT
enum GSIZE_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #gsize. See also #G_GINT16_FORMAT.

GSIZE_MODIFIER
enum GSIZE_MODIFIER;

The platform dependent length modifier for conversion specifiers for scanning and printing values of type #gsize. It is a string literal.

GSSIZE_FORMAT
enum GSSIZE_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #gssize. See also #G_GINT16_FORMAT.

GSSIZE_MODIFIER
enum GSSIZE_MODIFIER;

The platform dependent length modifier for conversion specifiers for scanning and printing values of type #gssize. It is a string literal.

GUINT16_FORMAT
enum GUINT16_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #guint16. See also #G_GINT16_FORMAT

GUINT32_FORMAT
enum GUINT32_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #guint32. See also #G_GINT16_FORMAT.

GUINT64_FORMAT
enum GUINT64_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #guint64. See also #G_GINT16_FORMAT.

GUINTPTR_FORMAT
enum GUINTPTR_FORMAT;

This is the platform dependent conversion specifier for scanning and printing values of type #guintptr.

HAVE_GINT64
enum HAVE_GINT64;
Undocumented in source.
HAVE_GNUC_VARARGS
enum HAVE_GNUC_VARARGS;
Undocumented in source.
HAVE_GNUC_VISIBILITY
enum HAVE_GNUC_VISIBILITY;

Defined to 1 if gcc-style visibility handling is supported.

HAVE_GROWING_STACK
enum HAVE_GROWING_STACK;
Undocumented in source.
HAVE_ISO_VARARGS
enum HAVE_ISO_VARARGS;
Undocumented in source.
HOOK_FLAG_USER_SHIFT
enum HOOK_FLAG_USER_SHIFT;

The position of the first bit which is not reserved for internal use be the #GHook implementation, i.e. 1 << G_HOOK_FLAG_USER_SHIFT is the first bit which can be used for application-defined flags.

IEEE754_DOUBLE_BIAS
enum IEEE754_DOUBLE_BIAS;

The bias by which exponents in double-precision floats are offset.

IEEE754_FLOAT_BIAS
enum IEEE754_FLOAT_BIAS;

The bias by which exponents in single-precision floats are offset.

KEY_FILE_DESKTOP_GROUP
enum KEY_FILE_DESKTOP_GROUP;

The name of the main group of a desktop entry file, as defined in the Desktop Entry Specification. Consult the specification for more details about the meanings of the keys below.

KEY_FILE_DESKTOP_KEY_ACTIONS
enum KEY_FILE_DESKTOP_KEY_ACTIONS;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string list giving the available application actions.

KEY_FILE_DESKTOP_KEY_CATEGORIES
enum KEY_FILE_DESKTOP_KEY_CATEGORIES;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a list of strings giving the categories in which the desktop entry should be shown in a menu.

KEY_FILE_DESKTOP_KEY_COMMENT
enum KEY_FILE_DESKTOP_KEY_COMMENT;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the tooltip for the desktop entry.

KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE
enum KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean set to true if the application is D-Bus activatable.

KEY_FILE_DESKTOP_KEY_EXEC
enum KEY_FILE_DESKTOP_KEY_EXEC;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string giving the command line to execute. It is only valid for desktop entries with the Application type.

KEY_FILE_DESKTOP_KEY_GENERIC_NAME
enum KEY_FILE_DESKTOP_KEY_GENERIC_NAME;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the generic name of the desktop entry.

KEY_FILE_DESKTOP_KEY_HIDDEN
enum KEY_FILE_DESKTOP_KEY_HIDDEN;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the desktop entry has been deleted by the user.

KEY_FILE_DESKTOP_KEY_ICON
enum KEY_FILE_DESKTOP_KEY_ICON;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the name of the icon to be displayed for the desktop entry.

KEY_FILE_DESKTOP_KEY_MIME_TYPE
enum KEY_FILE_DESKTOP_KEY_MIME_TYPE;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a list of strings giving the MIME types supported by this desktop entry.

KEY_FILE_DESKTOP_KEY_NAME
enum KEY_FILE_DESKTOP_KEY_NAME;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the specific name of the desktop entry.

KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN
enum KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a list of strings identifying the environments that should not display the desktop entry.

KEY_FILE_DESKTOP_KEY_NO_DISPLAY
enum KEY_FILE_DESKTOP_KEY_NO_DISPLAY;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the desktop entry should be shown in menus.

KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN
enum KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a list of strings identifying the environments that should display the desktop entry.

KEY_FILE_DESKTOP_KEY_PATH
enum KEY_FILE_DESKTOP_KEY_PATH;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string containing the working directory to run the program in. It is only valid for desktop entries with the Application type.

KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY
enum KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the application supports the Startup Notification Protocol Specification.

KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS
enum KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is string identifying the WM class or name hint of a window that the application will create, which can be used to emulate Startup Notification with older applications.

KEY_FILE_DESKTOP_KEY_TERMINAL
enum KEY_FILE_DESKTOP_KEY_TERMINAL;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the program should be run in a terminal window. It is only valid for desktop entries with the Application type.

KEY_FILE_DESKTOP_KEY_TRY_EXEC
enum KEY_FILE_DESKTOP_KEY_TRY_EXEC;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string giving the file name of a binary on disk used to determine if the program is actually installed. It is only valid for desktop entries with the Application type.

KEY_FILE_DESKTOP_KEY_TYPE
enum KEY_FILE_DESKTOP_KEY_TYPE;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string giving the type of the desktop entry. Usually #G_KEY_FILE_DESKTOP_TYPE_APPLICATION, #G_KEY_FILE_DESKTOP_TYPE_LINK, or #G_KEY_FILE_DESKTOP_TYPE_DIRECTORY.

KEY_FILE_DESKTOP_KEY_URL
enum KEY_FILE_DESKTOP_KEY_URL;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string giving the URL to access. It is only valid for desktop entries with the Link type.

KEY_FILE_DESKTOP_KEY_VERSION
enum KEY_FILE_DESKTOP_KEY_VERSION;

A key under #G_KEY_FILE_DESKTOP_GROUP, whose value is a string giving the version of the Desktop Entry Specification used for the desktop entry file.

KEY_FILE_DESKTOP_TYPE_APPLICATION
enum KEY_FILE_DESKTOP_TYPE_APPLICATION;

The value of the #G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing applications.

KEY_FILE_DESKTOP_TYPE_DIRECTORY
enum KEY_FILE_DESKTOP_TYPE_DIRECTORY;

The value of the #G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing directories.

KEY_FILE_DESKTOP_TYPE_LINK
enum KEY_FILE_DESKTOP_TYPE_LINK;

The value of the #G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing links to documents.

LITTLE_ENDIAN
enum LITTLE_ENDIAN;

Specifies one of the possible types of byte order. See #G_BYTE_ORDER.

LOG_DOMAIN
enum LOG_DOMAIN;

Defines the log domain. See Log Domains.

LOG_FATAL_MASK
enum LOG_FATAL_MASK;

GLib log levels that are considered fatal by default.

LOG_LEVEL_USER_SHIFT
enum LOG_LEVEL_USER_SHIFT;

Log levels below 1<<G_LOG_LEVEL_USER_SHIFT are used by GLib. Higher bits can be used for user-defined log levels.

MAJOR_VERSION
enum MAJOR_VERSION;

The major version number of the GLib library.

MAXINT16
enum MAXINT16;

The maximum value which can be held in a #gint16.

MAXINT32
enum MAXINT32;

The maximum value which can be held in a #gint32.

MAXINT64
enum MAXINT64;

The maximum value which can be held in a #gint64.

MAXINT8
enum MAXINT8;

The maximum value which can be held in a #gint8.

MAXUINT16
enum MAXUINT16;

The maximum value which can be held in a #guint16.

MAXUINT32
enum MAXUINT32;

The maximum value which can be held in a #guint32.

MAXUINT64
enum MAXUINT64;

The maximum value which can be held in a #guint64.

MAXUINT8
enum MAXUINT8;

The maximum value which can be held in a #guint8.

MICRO_VERSION
enum MICRO_VERSION;

The micro version number of the GLib library.

MININT16
enum MININT16;

The minimum value which can be held in a #gint16.

MININT32
enum MININT32;

The minimum value which can be held in a #gint32.

MININT64
enum MININT64;

The minimum value which can be held in a #gint64.

MININT8
enum MININT8;

The minimum value which can be held in a #gint8.

MINOR_VERSION
enum MINOR_VERSION;

The minor version number of the GLib library.

MODULE_SUFFIX
enum MODULE_SUFFIX;
Undocumented in source.
OPTION_REMAINING
enum OPTION_REMAINING;

If a long option in the main group has this name, it is not treated as a regular option. Instead it collects all non-option arguments which would otherwise be left in argv. The option must be of type %G_OPTION_ARG_CALLBACK, %G_OPTION_ARG_STRING_ARRAY or %G_OPTION_ARG_FILENAME_ARRAY.

PDP_ENDIAN
enum PDP_ENDIAN;

Specifies one of the possible types of byte order (currently unused). See #G_BYTE_ORDER.

PID_FORMAT
enum PID_FORMAT;

A format specifier that can be used in printf()-style format strings when printing a #GPid.

POLLFD_FORMAT
enum POLLFD_FORMAT;

A format specifier that can be used in printf()-style format strings when printing the @fd member of a #GPollFD.

PRIORITY_DEFAULT
enum PRIORITY_DEFAULT;

Use this for default priority event sources.

PRIORITY_DEFAULT_IDLE
enum PRIORITY_DEFAULT_IDLE;

Use this for default priority idle functions.

PRIORITY_HIGH
enum PRIORITY_HIGH;

Use this for high priority event sources.

PRIORITY_HIGH_IDLE
enum PRIORITY_HIGH_IDLE;

Use this for high priority idle functions.

PRIORITY_LOW
enum PRIORITY_LOW;

Use this for very low priority background tasks.

SIZEOF_LONG
enum SIZEOF_LONG;
Undocumented in source.
SIZEOF_SIZE_T
enum SIZEOF_SIZE_T;
Undocumented in source.
SIZEOF_SSIZE_T
enum SIZEOF_SSIZE_T;
Undocumented in source.
SIZEOF_VOID_P
enum SIZEOF_VOID_P;
Undocumented in source.
SOURCE_CONTINUE
enum SOURCE_CONTINUE;

Use this macro as the return value of a #GSourceFunc to leave the #GSource in the main loop.

SOURCE_REMOVE
enum SOURCE_REMOVE;

Use this macro as the return value of a #GSourceFunc to remove the #GSource from the main loop.

STR_DELIMITERS
enum STR_DELIMITERS;

The standard delimiters, used in g_strdelimit().

SYSDEF_AF_INET
enum SYSDEF_AF_INET;
Undocumented in source.
SYSDEF_AF_INET6
enum SYSDEF_AF_INET6;
Undocumented in source.
SYSDEF_AF_UNIX
enum SYSDEF_AF_UNIX;
Undocumented in source.
SYSDEF_MSG_DONTROUTE
enum SYSDEF_MSG_DONTROUTE;
Undocumented in source.
SYSDEF_MSG_OOB
enum SYSDEF_MSG_OOB;
Undocumented in source.
SYSDEF_MSG_PEEK
enum SYSDEF_MSG_PEEK;
Undocumented in source.
TIME_SPAN_DAY
enum TIME_SPAN_DAY;

Evaluates to a time span of one day.

TIME_SPAN_HOUR
enum TIME_SPAN_HOUR;

Evaluates to a time span of one hour.

TIME_SPAN_MILLISECOND
enum TIME_SPAN_MILLISECOND;

Evaluates to a time span of one millisecond.

TIME_SPAN_MINUTE
enum TIME_SPAN_MINUTE;

Evaluates to a time span of one minute.

TIME_SPAN_SECOND
enum TIME_SPAN_SECOND;

Evaluates to a time span of one second.

UNICHAR_MAX_DECOMPOSITION_LENGTH
enum UNICHAR_MAX_DECOMPOSITION_LENGTH;

The maximum length (in codepoints) of a compatibility or canonical decomposition of a single Unicode character.

URI_RESERVED_CHARS_GENERIC_DELIMITERS
enum URI_RESERVED_CHARS_GENERIC_DELIMITERS;

Generic delimiters characters as defined in RFC 3986. Includes ":/?#[]@".

URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
enum URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS;

Subcomponent delimiter characters as defined in RFC 3986. Includes "!$&'()*+,;=".

USEC_PER_SEC
enum USEC_PER_SEC;

Number of microseconds in one second (1 million). This macro is provided for code readability.

VA_COPY_AS_ARRAY
enum VA_COPY_AS_ARRAY;
Undocumented in source.
WIN32_MSG_HANDLE
enum WIN32_MSG_HANDLE;
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.

GLogField
struct GLogField

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

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.

Meta