glib.types

Undocumented in source.

Members

Aliases

Allocator
alias Allocator = GAllocator*
AsciiType
alias AsciiType = GAsciiType
BookmarkFileError
alias BookmarkFileError = GBookmarkFileError
CacheDestroyFunc
alias CacheDestroyFunc = void delegate(void* value)

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.

CacheDupFunc
alias CacheDupFunc = void* delegate(void* value)

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.

CacheNewFunc
alias CacheNewFunc = void* delegate(void* 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.

ChecksumType
alias ChecksumType = GChecksumType
ChildWatchFunc
alias ChildWatchFunc = void delegate(glib.types.Pid pid, int waitStatus)

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

ClearHandleFunc
alias ClearHandleFunc = void delegate(uint handleId)

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.

CompareDataFunc
alias CompareDataFunc = int delegate(const(void)* a, const(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.

CompareFunc
alias CompareFunc = int delegate(const(void)* a, const(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.

CompletionFunc
alias CompletionFunc = string delegate(void* item)

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.

CompletionStrncmpFunc
alias CompletionStrncmpFunc = int delegate(string s1, string s2, size_t n)

Specifies the type of the function passed to glib.completion.Completion.setCompare. This is used when you use strings as #GCompletion items.

ConvertError
alias ConvertError = GConvertError
CopyFunc
alias CopyFunc = void* delegate(const(void)* src)

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

Data
alias Data = GData*
DataForeachFunc
alias DataForeachFunc = void delegate(glib.types.Quark keyId, void* data)

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.

DateDMY
alias DateDMY = GDateDMY
DateDay
alias DateDay = GDateDay
DateMonth
alias DateMonth = GDateMonth
DateWeekday
alias DateWeekday = GDateWeekday
DateYear
alias DateYear = GDateYear
DestroyNotify
alias DestroyNotify = void delegate()

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.

DuplicateFunc
alias DuplicateFunc = void* delegate(void* data)

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.

EqualFunc
alias EqualFunc = bool delegate(const(void)* a, const(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.

EqualFuncFull
alias EqualFuncFull = bool delegate(const(void)* a, const(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.

ErrorClearFunc
alias ErrorClearFunc = void delegate(glib.error.ErrorG error)

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.

ErrorCopyFunc
alias ErrorCopyFunc = void delegate(glib.error.ErrorG srcError, glib.error.ErrorG destError)

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.

ErrorInitFunc
alias ErrorInitFunc = void delegate(glib.error.ErrorG 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.

ErrorType
alias ErrorType = GErrorType
FileError
alias FileError = GFileError
FileSetContentsFlags
alias FileSetContentsFlags = GFileSetContentsFlags
FileTest
alias FileTest = GFileTest
FormatSizeFlags
alias FormatSizeFlags = GFormatSizeFlags
FreeFunc
alias FreeFunc = void delegate()

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.

Func
alias Func = void delegate(void* data)

Specifies the type of functions passed to glib.list.List.foreach_ and glib.slist.SList.foreach_.

HFunc
alias HFunc = void delegate(void* key, void* value)

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

HRFunc
alias HRFunc = bool delegate(void* key, void* value)

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.

HashFunc
alias HashFunc = uint delegate(const(void)* key)

Specifies the type of the hash function which is passed to glib.hash_table.HashTable.new_ when a #GHashTable is created.

HookCheckFunc
alias HookCheckFunc = bool delegate()

Defines the type of a hook function that can be invoked by glib.hook_list.HookList.invokeCheck.

HookCheckMarshaller
alias HookCheckMarshaller = bool delegate(glib.hook.Hook hook)

Defines the type of function used by glib.hook_list.HookList.marshalCheck.

HookCompareFunc
alias HookCompareFunc = int delegate(glib.hook.Hook newHook, glib.hook.Hook sibling)

Defines the type of function used to compare #GHook elements in glib.hook.Hook.insertSorted.

HookFinalizeFunc
alias HookFinalizeFunc = void delegate(glib.hook_list.HookList hookList, glib.hook.Hook hook)

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

HookFindFunc
alias HookFindFunc = bool delegate(glib.hook.Hook hook)

Defines the type of the function passed to glib.hook.Hook.find.

HookFlagMask
alias HookFlagMask = GHookFlagMask
HookFunc
alias HookFunc = void delegate()

Defines the type of a hook function that can be invoked by glib.hook_list.HookList.invoke.

HookMarshaller
alias HookMarshaller = void delegate(glib.hook.Hook hook)

Defines the type of function used by glib.hook_list.HookList.marshal.

IConv
alias IConv = GIConv
IOChannelError
alias IOChannelError = GIOChannelError
IOCondition
alias IOCondition = GIOCondition
IOError
alias IOError = GIOError
IOFlags
alias IOFlags = GIOFlags
IOFunc
alias IOFunc = bool delegate(glib.iochannel.IOChannel source, glib.types.IOCondition condition)

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.

IOFuncs
alias IOFuncs = GIOFuncs
IOStatus
alias IOStatus = GIOStatus
KeyFileError
alias KeyFileError = GKeyFileError
KeyFileFlags
alias KeyFileFlags = GKeyFileFlags
LogFunc
alias LogFunc = void delegate(string logDomain, glib.types.LogLevelFlags logLevel, string message)

Specifies the prototype of log handler functions.

LogLevelFlags
alias LogLevelFlags = GLogLevelFlags
LogWriterOutput
alias LogWriterOutput = GLogWriterOutput
MainContextFlags
alias MainContextFlags = GMainContextFlags
MainContextPusher
alias MainContextPusher = GMainContextPusher
MarkupCollectType
alias MarkupCollectType = GMarkupCollectType
MarkupError
alias MarkupError = GMarkupError
MarkupParseFlags
alias MarkupParseFlags = GMarkupParseFlags
MarkupParser
alias MarkupParser = GMarkupParser
MemVTable
alias MemVTable = GMemVTable
MutexLocker
alias MutexLocker = GMutexLocker
NodeForeachFunc
alias NodeForeachFunc = void delegate(glib.node.Node node)

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.

NodeTraverseFunc
alias NodeTraverseFunc = bool delegate(glib.node.Node node)

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.

NormalizeMode
alias NormalizeMode = GNormalizeMode
NumberParserError
alias NumberParserError = GNumberParserError
OnceStatus
alias OnceStatus = GOnceStatus
OptionArg
alias OptionArg = GOptionArg
OptionArgFunc
alias OptionArgFunc = bool delegate(string optionName, string value, GError** _err)

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

OptionEntry
alias OptionEntry = GOptionEntry
OptionError
alias OptionError = GOptionError
OptionErrorFunc
alias OptionErrorFunc = void delegate(glib.option_context.OptionContext context, glib.option_group.OptionGroup group, GError** _err)

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

OptionFlags
alias OptionFlags = GOptionFlags
OptionParseFunc
alias OptionParseFunc = bool delegate(glib.option_context.OptionContext context, glib.option_group.OptionGroup group, GError** _err)

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

Pid
alias Pid = GPid
PollFD
alias PollFD = GPollFD
PollFunc
alias PollFunc = int delegate(glib.types.PollFD ufds, uint nfsd, int timeout)

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.

PrintFunc
alias PrintFunc = void delegate(string string_)

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

Quark
alias Quark = GQuark
RWLockReaderLocker
alias RWLockReaderLocker = GRWLockReaderLocker
RWLockWriterLocker
alias RWLockWriterLocker = GRWLockWriterLocker
RecMutexLocker
alias RecMutexLocker = GRecMutexLocker
RefString
alias RefString = GRefString
RegexCompileFlags
alias RegexCompileFlags = GRegexCompileFlags
RegexError
alias RegexError = GRegexError
RegexEvalCallback
alias RegexEvalCallback = bool delegate(glib.match_info.MatchInfo matchInfo, glib.string_.String result)

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.

RegexMatchFlags
alias RegexMatchFlags = GRegexMatchFlags
ScannerMsgFunc
alias ScannerMsgFunc = void delegate(glib.scanner.Scanner scanner, string message, bool error)

Specifies the type of the message handler function.

SeekType
alias SeekType = GSeekType
SequenceIterCompareFunc
alias SequenceIterCompareFunc = int delegate(glib.sequence_iter.SequenceIter a, glib.sequence_iter.SequenceIter b)

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.

ShellError
alias ShellError = GShellError
SliceConfig
alias SliceConfig = GSliceConfig
SourceCallbackFuncs
alias SourceCallbackFuncs = GSourceCallbackFuncs
SourceDisposeFunc
alias SourceDisposeFunc = void delegate(glib.source.Source source)

Dispose function for source. See glib.source.Source.setDisposeFunction for details.

SourceDummyMarshal
alias SourceDummyMarshal = void delegate()

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

SourceFunc
alias SourceFunc = bool delegate()

Specifies the type of function passed to glib.global.timeoutAdd, glib.global.timeoutAddFull, glib.global.idleAdd, and glib.global.idleAddFull.

SourceFuncs
alias SourceFuncs = GSourceFuncs
SourceOnceFunc
alias SourceOnceFunc = void delegate()

A source function that is only called once before being removed from the main context automatically.

SpawnChildSetupFunc
alias SpawnChildSetupFunc = void delegate()

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.

SpawnError
alias SpawnError = GSpawnError
SpawnFlags
alias SpawnFlags = GSpawnFlags
StatBuf
alias StatBuf = GStatBuf*
Strv
alias Strv = GStrv
TestCase
alias TestCase = GTestCase*
TestConfig
alias TestConfig = GTestConfig
TestDataFunc
alias TestDataFunc = void delegate()

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

TestFileType
alias TestFileType = GTestFileType
TestFixtureFunc
alias TestFixtureFunc = void delegate(void* fixture)

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.

TestFunc
alias TestFunc = void delegate()

The type used for test case functions.

TestLogFatalFunc
alias TestLogFatalFunc = bool delegate(string logDomain, glib.types.LogLevelFlags logLevel, string message)

Specifies the prototype of fatal log handler functions.

TestLogType
alias TestLogType = GTestLogType
TestResult
alias TestResult = GTestResult
TestSubprocessFlags
alias TestSubprocessFlags = GTestSubprocessFlags
TestTrapFlags
alias TestTrapFlags = GTestTrapFlags
ThreadError
alias ThreadError = GThreadError
ThreadFunc
alias ThreadFunc = void* delegate()

Specifies the type of the func functions passed to glib.thread.Thread.new_ or glib.thread.Thread.tryNew.

ThreadFunctions
alias ThreadFunctions = GThreadFunctions
ThreadPriority
alias ThreadPriority = GThreadPriority
Time
alias Time = GTime
TimeSpan
alias TimeSpan = GTimeSpan
TimeType
alias TimeType = GTimeType
TokenType
alias TokenType = GTokenType
TranslateFunc
alias TranslateFunc = string delegate(string str)

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

TraverseFlags
alias TraverseFlags = GTraverseFlags
TraverseFunc
alias TraverseFunc = bool delegate(void* key, void* value)

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.

TraverseNodeFunc
alias TraverseNodeFunc = bool delegate(glib.tree_node.TreeNode node)

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.

TraverseType
alias TraverseType = GTraverseType
UnicodeBreakType
alias UnicodeBreakType = GUnicodeBreakType
UnicodeScript
alias UnicodeScript = GUnicodeScript
UnicodeType
alias UnicodeType = GUnicodeType
UnixFDSourceFunc
alias UnixFDSourceFunc = bool delegate(int fd, glib.types.IOCondition condition)

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

UnixPipe
alias UnixPipe = GUnixPipe
UnixPipeEnd
alias UnixPipeEnd = GUnixPipeEnd
UriError
alias UriError = GUriError
UriFlags
alias UriFlags = GUriFlags
UriHideFlags
alias UriHideFlags = GUriHideFlags
UriParamsFlags
alias UriParamsFlags = GUriParamsFlags
UserDirectory
alias UserDirectory = GUserDirectory
VariantClass
alias VariantClass = GVariantClass
VariantParseError
alias VariantParseError = GVariantParseError
VoidFunc
alias VoidFunc = void delegate()

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.

Manifest constants

ALLOCATOR_LIST
enum ALLOCATOR_LIST;
ALLOCATOR_NODE
enum ALLOCATOR_NODE;
ALLOCATOR_SLIST
enum ALLOCATOR_SLIST;
ALLOC_AND_FREE
enum ALLOC_AND_FREE;
ALLOC_ONLY
enum ALLOC_ONLY;
ANALYZER_ANALYZING
enum ANALYZER_ANALYZING;
ASCII_DTOSTR_BUF_SIZE
enum ASCII_DTOSTR_BUF_SIZE;

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.

ATOMIC_REF_COUNT_INIT
enum ATOMIC_REF_COUNT_INIT;

Evaluates to the initial reference count for gatomicrefcount.

BIG_ENDIAN
enum BIG_ENDIAN;
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.

C_STD_VERSION
enum C_STD_VERSION;
DATALIST_FLAGS_MASK
enum DATALIST_FLAGS_MASK;

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.

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.

DIR_SEPARATOR
enum DIR_SEPARATOR;
DIR_SEPARATOR_S
enum DIR_SEPARATOR_S;
E
enum E;
GINT16_FORMAT
enum GINT16_FORMAT;
GINT16_MODIFIER
enum GINT16_MODIFIER;
GINT32_FORMAT
enum GINT32_FORMAT;
GINT32_MODIFIER
enum GINT32_MODIFIER;
GINT64_FORMAT
enum GINT64_FORMAT;
GINT64_MODIFIER
enum GINT64_MODIFIER;
GINTPTR_FORMAT
enum GINTPTR_FORMAT;
GINTPTR_MODIFIER
enum GINTPTR_MODIFIER;
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;
GSIZE_MODIFIER
enum GSIZE_MODIFIER;
GSSIZE_FORMAT
enum GSSIZE_FORMAT;
GSSIZE_MODIFIER
enum GSSIZE_MODIFIER;
GUINT16_FORMAT
enum GUINT16_FORMAT;
GUINT32_FORMAT
enum GUINT32_FORMAT;
GUINT64_FORMAT
enum GUINT64_FORMAT;
GUINTPTR_FORMAT
enum GUINTPTR_FORMAT;
HAVE_GINT64
enum HAVE_GINT64;
HAVE_GNUC_VARARGS
enum HAVE_GNUC_VARARGS;
HAVE_GNUC_VISIBILITY
enum HAVE_GNUC_VISIBILITY;
HAVE_GROWING_STACK
enum HAVE_GROWING_STACK;
HAVE_ISO_VARARGS
enum HAVE_ISO_VARARGS;
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;
IEEE754_FLOAT_BIAS
enum IEEE754_FLOAT_BIAS;
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.

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.

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;
LN10
enum LN10;
LN2
enum LN2;
LOG_2_BASE_10
enum LOG_2_BASE_10;
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;
MAXINT32
enum MAXINT32;
MAXINT64
enum MAXINT64;
MAXINT8
enum MAXINT8;
MAXUINT16
enum MAXUINT16;
MAXUINT32
enum MAXUINT32;
MAXUINT64
enum MAXUINT64;
MAXUINT8
enum MAXUINT8;
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;
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;
PI
enum PI;
PID_FORMAT
enum PID_FORMAT;

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

PI_2
enum PI_2;
PI_4
enum PI_4;
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.

REF_COUNT_INIT
enum REF_COUNT_INIT;

Evaluates to the initial reference count for grefcount.

SEARCHPATH_SEPARATOR
enum SEARCHPATH_SEPARATOR;
SEARCHPATH_SEPARATOR_S
enum SEARCHPATH_SEPARATOR_S;
SIZEOF_LONG
enum SIZEOF_LONG;
SIZEOF_SIZE_T
enum SIZEOF_SIZE_T;
SIZEOF_SSIZE_T
enum SIZEOF_SSIZE_T;
SIZEOF_VOID_P
enum SIZEOF_VOID_P;
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.

SQRT2
enum SQRT2;
STR_DELIMITERS
enum STR_DELIMITERS;

The standard delimiters, used in func@GLib.strdelimit.

SYSDEF_AF_INET
enum SYSDEF_AF_INET;
SYSDEF_AF_INET6
enum SYSDEF_AF_INET6;
SYSDEF_AF_UNIX
enum SYSDEF_AF_UNIX;
SYSDEF_MSG_DONTROUTE
enum SYSDEF_MSG_DONTROUTE;
SYSDEF_MSG_OOB
enum SYSDEF_MSG_OOB;
SYSDEF_MSG_PEEK
enum SYSDEF_MSG_PEEK;
TEST_OPTION_ISOLATE_DIRS
enum TEST_OPTION_ISOLATE_DIRS;

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.

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;
VERSION_MIN_REQUIRED
enum VERSION_MIN_REQUIRED;

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

WIN32_MSG_HANDLE
enum WIN32_MSG_HANDLE;
macro__has_attribute___noreturn__
enum macro__has_attribute___noreturn__;