Specifies the type of the value_destroy_func and key_destroy_func functions passed to glib.cache.Cache.new_. The functions are passed a pointer to the #GCache key or #GCache value and should free any memory and other resources associated with it.
Specifies the type of the key_dup_func function passed to glib.cache.Cache.new_. The function is passed a key (__not__ a value as the prototype implies) and should return a duplicate of the key.
Specifies the type of the value_new_func function passed to glib.cache.Cache.new_. It is passed a #GCache key and should create the value corresponding to the key.
Prototype of a #GChildWatchSource callback, called when a child process has exited.
Specifies the type of function passed to glib.global.clearHandleId. The implementation is expected to free the resource identified by handle_id; for instance, if handle_id is a #GSource ID, glib.source.Source.remove can be used.
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.
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.
Specifies the type of the function passed to glib.completion.Completion.new_. It should return the string corresponding to the given target item. This is used when you use data structures as #GCompletion items.
Specifies the type of the function passed to glib.completion.Completion.setCompare. This is used when you use strings as #GCompletion items.
A function of this signature is used to copy the node data when doing a deep-copy of a tree.
Specifies the type of function passed to glib.global.datasetForeach. It is called with each #GQuark id and associated data element, together with the user_data parameter supplied to glib.global.datasetForeach.
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.
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.
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.
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.
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.
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.
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.
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.
Specifies the type of functions passed to glib.list.List.foreach_ and glib.slist.SList.foreach_.
Specifies the type of the function passed to glib.hash_table.HashTable.foreach_. It is called with each key/value pair, together with the user_data parameter which is passed to glib.hash_table.HashTable.foreach_.
Specifies the type of the function passed to glib.hash_table.HashTable.foreachRemove. It is called with each key/value pair, together with the user_data parameter passed to glib.hash_table.HashTable.foreachRemove. It should return true if the key/value pair should be removed from the #GHashTable.
Specifies the type of the hash function which is passed to glib.hash_table.HashTable.new_ when a #GHashTable is created.
Defines the type of a hook function that can be invoked by glib.hook_list.HookList.invokeCheck.
Defines the type of function used by glib.hook_list.HookList.marshalCheck.
Defines the type of function used to compare #GHook elements in glib.hook.Hook.insertSorted.
Defines the type of function to be called when a hook in a list of hooks gets finalized.
Defines the type of the function passed to glib.hook.Hook.find.
Defines the type of a hook function that can be invoked by glib.hook_list.HookList.invoke.
Defines the type of function used by glib.hook_list.HookList.marshal.
Specifies the type of function passed to glib.global.ioAddWatch or glib.global.ioAddWatchFull, which is called when the requested condition on a #GIOChannel is satisfied.
Specifies the prototype of log handler functions.
Specifies the type of function passed to glib.node.Node.childrenForeach. The function is called with each child node, together with the user data passed to glib.node.Node.childrenForeach.
Specifies the type of function passed to glib.node.Node.traverse. The function is called with each of the nodes visited, together with the user data passed to glib.node.Node.traverse. If the function returns true, then the traversal is stopped.
The type of function to be passed as callback for G_OPTION_ARG_CALLBACK options.
The type of function to be used as callback when a parse error occurs.
The type of function that can be called before and after parsing.
Specifies the type of function passed to glib.main_context.MainContext.setPollFunc. The semantics of the function should match those of the poll() system call.
Specifies the type of the print handler functions. These are called with the complete formatted string to output.
Specifies the type of the function passed to glib.regex.Regex.replaceEval. It is called for each occurrence of the pattern in the string passed to glib.regex.Regex.replaceEval, and it should append the replacement to result.
Specifies the type of the message handler function.
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.
Dispose function for source. See glib.source.Source.setDisposeFunction for details.
This is just a placeholder for #GClosureMarshal, which cannot be used here for dependency reasons.
Specifies the type of function passed to glib.global.timeoutAdd, glib.global.timeoutAddFull, glib.global.idleAdd, and glib.global.idleAddFull.
A source function that is only called once before being removed from the main context automatically.
Specifies the type of the setup function passed to glib.global.spawnAsync, glib.global.spawnSync and glib.global.spawnAsyncWithPipes, which can, in very limited ways, be used to affect the child's execution.
The type used for test case functions that take an extra pointer argument.
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.
The type used for test case functions.
Specifies the prototype of fatal log handler functions.
Specifies the type of the func functions passed to glib.thread.Thread.new_ or glib.thread.Thread.tryNew.
The type of functions which are used to translate user-visible strings, for <option>--help</option> output.
Specifies the type of function passed to glib.tree.Tree.traverse. It is passed the key and value of each node, together with the user_data parameter passed to glib.tree.Tree.traverse. If the function returns true, the traversal is stopped.
Specifies the type of function passed to glib.tree.Tree.foreachNode. It is passed each node, together with the user_data parameter passed to glib.tree.Tree.foreachNode. If the function returns true, the traversal is stopped.
The type of functions to be called when a UNIX fd watch source triggers.
Declares a type of function which takes no arguments and has no return value. It is used to specify the type function passed to glib.global.atexit.
A good size for a buffer to be passed into func@GLib.ascii_dtostr. It is guaranteed to be enough for all output of that function on systems with 64bit IEEE-compatible doubles.
Evaluates to the initial reference count for gatomicrefcount.
The set of uppercase ASCII alphabet characters. Used for specifying valid identifier characters in #GScannerConfig.
The set of ASCII digits. Used for specifying valid identifier characters in #GScannerConfig.
The set of lowercase ASCII alphabet characters. Used for specifying valid identifier characters in #GScannerConfig.
A bitmask that restricts the possible flags passed to glib.global.datalistSetFlags. Passing a flags value where flags & ~G_DATALIST_FLAGS_MASK != 0 is an error.
Represents an invalid #GDateDay.
Represents an invalid Julian day number.
Represents an invalid year.
Expands to "" on all modern compilers, and to __FUNCTION__ on gcc version 2.x. Don't use it.
Expands to "" on all modern compilers, and to __PRETTY_FUNCTION__ on gcc version 2.x. Don't use it.
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.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a string list giving the available application actions.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the tooltip for the desktop entry.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean set to true if the application is D-Bus activatable.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the generic name of the desktop entry.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the desktop entry has been deleted by the user.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a list of strings giving the MIME types supported by this desktop entry.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the specific name of the desktop entry.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the desktop entry should be shown in menus.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a list of strings identifying the environments that should display the desktop entry.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the application supports the Startup Notification Protocol Specification.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the program should be run in a terminal window.
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.
A key under G_KEY_FILE_DESKTOP_GROUP, whose value is a string giving the type of the desktop entry.
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.
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.
The value of the G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing applications.
The value of the G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing directories.
The value of the G_KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing links to documents.
Defines the log domain. See Log Domains.
GLib log levels that are considered fatal by default.
Log levels below 1<<G_LOG_LEVEL_USER_SHIFT are used by GLib. Higher bits can be used for user-defined log levels.
The major version number of the GLib library.
The micro version number of the GLib library.
The minimum value which can be held in a #gint16.
The minimum value which can be held in a #gint32.
The minimum value which can be held in a #gint64.
The minimum value which can be held in a #gint8.
The minor version number of the GLib library.
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.
A format specifier that can be used in printf()-style format strings when printing a #GPid.
A format specifier that can be used in printf()-style format strings when printing the @fd member of a #GPollFD.
Use this for default priority event sources.
Use this for default priority idle functions.
Use this for high priority event sources.
Use this for high priority idle functions.
Use this for very low priority background tasks.
Evaluates to the initial reference count for grefcount.
Use this macro as the return value of a #GSourceFunc to leave the #GSource in the main loop.
Use this macro as the return value of a #GSourceFunc to remove the #GSource from the main loop.
The standard delimiters, used in func@GLib.strdelimit.
Creates a unique temporary directory for each unit test and uses g_set_user_dirs() to set XDG directories to point into subdirectories of it for the duration of the unit test. The directory tree is cleaned up after the test finishes successfully. Note that this doesn’t take effect until glib.global.testRun is called, so calls to (for example) g_get_user_home_dir() will return the system-wide value when made in a test program’s main() function.
Evaluates to a time span of one day.
Evaluates to a time span of one hour.
Evaluates to a time span of one millisecond.
Evaluates to a time span of one minute.
Evaluates to a time span of one second.
The maximum length (in codepoints) of a compatibility or canonical decomposition of a single Unicode character.
Generic delimiters characters as defined in RFC 3986. Includes :/?#[]@.
Subcomponent delimiter characters as defined in RFC 3986. Includes !$&'()*+,;=.
Number of microseconds in one second (1 million). This macro is provided for code readability.
A macro that should be defined by the user prior to including the glib.h header. The definition should be one of the predefined GLib version