Schnittstelle GlibConstants


public interface GlibConstants
  • Felddetails

    • ALLOCATOR_LIST

      static final int ALLOCATOR_LIST
      Siehe auch:
    • ALLOCATOR_NODE

      static final int ALLOCATOR_NODE
      Siehe auch:
    • ALLOCATOR_SLIST

      static final int ALLOCATOR_SLIST
      Siehe auch:
    • ALLOC_AND_FREE

      static final int ALLOC_AND_FREE
      Siehe auch:
    • ALLOC_ONLY

      static final int ALLOC_ONLY
      Siehe auch:
    • ANALYZER_ANALYZING

      static final int ANALYZER_ANALYZING
      Siehe auch:
    • ASCII_DTOSTR_BUF_SIZE

      static final int 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.

      The typical usage would be something like:
      ```C
      char buf[G_ASCII_DTOSTR_BUF_SIZE];

      fprintf (out, "value=%s\n", g_ascii_dtostr (buf, sizeof (buf), value));
      ```
      Siehe auch:
    • ATOMIC_REF_COUNT_INIT

      static final int ATOMIC_REF_COUNT_INIT
      Evaluates to the initial reference count for `gatomicrefcount`.

      This macro is useful for initializing `gatomicrefcount` fields inside
      structures, for instance:
      <!-- language="C" -->
       typedef struct {
         gatomicrefcount ref_count;
         char *name;
         char *address;
       } Person;
       
       static const Person default_person = {
         .ref_count = G_ATOMIC_REF_COUNT_INIT,
         .name = "Default name",
         .address = "Default address",
       };
       
      Siehe auch:
    • BIG_ENDIAN

      static final int BIG_ENDIAN
      Specifies one of the possible types of byte order.
      See %G_BYTE_ORDER.
      Siehe auch:
    • CSET_A_2_Z

      static final String CSET_A_2_Z
      The set of uppercase ASCII alphabet characters.
      Used for specifying valid identifier characters
      in #GScannerConfig.
      Siehe auch:
    • CSET_DIGITS

      static final String CSET_DIGITS
      The set of ASCII digits.
      Used for specifying valid identifier characters
      in #GScannerConfig.
      Siehe auch:
    • CSET_a_2_z

      static final String CSET_a_2_z
      The set of lowercase ASCII alphabet characters.
      Used for specifying valid identifier characters
      in #GScannerConfig.
      Siehe auch:
    • C_STD_VERSION

      static final int C_STD_VERSION
      The C standard version the code is compiling against, it's normally
      defined with the same value of `__STDC_VERSION__` for C standard
      compatible compilers, while it uses the lowest standard version
      in pure MSVC, given that in such compiler the definition depends on
      a compilation flag.

      This is granted to be undefined when compiling with a C++ compiler.

      See also: %G_C_STD_CHECK_VERSION and %G_CXX_STD_VERSION
      Siehe auch:
    • DATALIST_FLAGS_MASK

      static final int 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.
      Siehe auch:
    • DATE_BAD_DAY

      static final int DATE_BAD_DAY
      Represents an invalid #GDateDay.
      Siehe auch:
    • DATE_BAD_JULIAN

      static final int DATE_BAD_JULIAN
      Represents an invalid Julian day number.
      Siehe auch:
    • DATE_BAD_YEAR

      static final int DATE_BAD_YEAR
      Represents an invalid year.
      Siehe auch:
    • DIR_SEPARATOR

      static final int DIR_SEPARATOR
      The directory separator character.

      This is `'/'` on UNIX machines and `'\'` under Windows.
      Siehe auch:
    • DIR_SEPARATOR_S

      static final String DIR_SEPARATOR_S
      The directory separator as a string.

      This is `"/"` on UNIX machines and `"\"` under Windows.
      Siehe auch:
    • E

      static final double E
      The base of natural logarithms.
      Siehe auch:
    • GINT16_FORMAT

      static final String GINT16_FORMAT
      Siehe auch:
    • GINT16_MODIFIER

      static final String GINT16_MODIFIER
      Siehe auch:
    • GINT32_FORMAT

      static final String GINT32_FORMAT
      Siehe auch:
    • GINT32_MODIFIER

      static final String GINT32_MODIFIER
      Siehe auch:
    • GINT64_FORMAT

      static final String GINT64_FORMAT
      Siehe auch:
    • GINT64_MODIFIER

      static final String GINT64_MODIFIER
      Siehe auch:
    • GINTPTR_FORMAT

      static final String GINTPTR_FORMAT
      Siehe auch:
    • GINTPTR_MODIFIER

      static final String GINTPTR_MODIFIER
      Siehe auch:
    • GNUC_FUNCTION

      static final String GNUC_FUNCTION
      Expands to "" on all modern compilers, and to __FUNCTION__ on gcc
      version 2.x. Don't use it.
      Siehe auch:
    • GNUC_PRETTY_FUNCTION

      static final String GNUC_PRETTY_FUNCTION
      Expands to "" on all modern compilers, and to __PRETTY_FUNCTION__
      on gcc version 2.x. Don't use it.
      Siehe auch:
    • GSIZE_FORMAT

      static final String GSIZE_FORMAT
      Siehe auch:
    • GSIZE_MODIFIER

      static final String GSIZE_MODIFIER
      Siehe auch:
    • GSSIZE_FORMAT

      static final String GSSIZE_FORMAT
      Siehe auch:
    • GSSIZE_MODIFIER

      static final String GSSIZE_MODIFIER
      Siehe auch:
    • GUINT16_FORMAT

      static final String GUINT16_FORMAT
      Siehe auch:
    • GUINT32_FORMAT

      static final String GUINT32_FORMAT
      Siehe auch:
    • GUINT64_FORMAT

      static final String GUINT64_FORMAT
      Siehe auch:
    • GUINTPTR_FORMAT

      static final String GUINTPTR_FORMAT
      Siehe auch:
    • HAVE_GINT64

      static final int HAVE_GINT64
      Siehe auch:
    • HAVE_GNUC_VARARGS

      static final int HAVE_GNUC_VARARGS
      Siehe auch:
    • HAVE_GNUC_VISIBILITY

      static final int HAVE_GNUC_VISIBILITY
      Defined to 1 if gcc-style visibility handling is supported.
      Siehe auch:
    • HAVE_GROWING_STACK

      static final int HAVE_GROWING_STACK
      Siehe auch:
    • HAVE_ISO_VARARGS

      static final int HAVE_ISO_VARARGS
      Siehe auch:
    • HOOK_FLAG_USER_SHIFT

      static final int 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.
      Siehe auch:
    • IEEE754_DOUBLE_BIAS

      static final int IEEE754_DOUBLE_BIAS
      The bias by which exponents in double-precision floats are offset.
      Siehe auch:
    • IEEE754_FLOAT_BIAS

      static final int IEEE754_FLOAT_BIAS
      The bias by which exponents in single-precision floats are offset.
      Siehe auch:
    • KEY_FILE_DESKTOP_GROUP

      static final String KEY_FILE_DESKTOP_GROUP
      The name of the main group of a desktop entry file, as defined in the
      [Desktop Entry Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/).

      Consult the specification for more
      details about the meanings of the keys below.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_ACTIONS

      static final String KEY_FILE_DESKTOP_KEY_ACTIONS
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a string list
      giving the available application actions.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_CATEGORIES

      static final String KEY_FILE_DESKTOP_KEY_CATEGORIES
      A key under [const@GLib.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.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_COMMENT

      static final String KEY_FILE_DESKTOP_KEY_COMMENT
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a localized
      string giving the tooltip for the desktop entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE

      static final String KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a boolean
      set to true if the application is D-Bus activatable.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_EXEC

      static final String KEY_FILE_DESKTOP_KEY_EXEC
      A key under [const@GLib.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.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_GENERIC_NAME

      static final String KEY_FILE_DESKTOP_KEY_GENERIC_NAME
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a localized
      string giving the generic name of the desktop entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_HIDDEN

      static final String KEY_FILE_DESKTOP_KEY_HIDDEN
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a boolean
      stating whether the desktop entry has been deleted by the user.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_ICON

      static final String KEY_FILE_DESKTOP_KEY_ICON
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a localized
      string giving the name of the icon to be displayed for the desktop
      entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_MIME_TYPE

      static final String KEY_FILE_DESKTOP_KEY_MIME_TYPE
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a list
      of strings giving the MIME types supported by this desktop entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_NAME

      static final String KEY_FILE_DESKTOP_KEY_NAME
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a localized
      string giving the specific name of the desktop entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN

      static final String KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a list of
      strings identifying the environments that should not display the
      desktop entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_NO_DISPLAY

      static final String KEY_FILE_DESKTOP_KEY_NO_DISPLAY
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a boolean
      stating whether the desktop entry should be shown in menus.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN

      static final String KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a list of
      strings identifying the environments that should display the
      desktop entry.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_PATH

      static final String KEY_FILE_DESKTOP_KEY_PATH
      A key under [const@GLib.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.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY

      static final String KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a boolean
      stating whether the application supports the
      [Startup Notification Protocol Specification](https://specifications.freedesktop.org/startup-notification-spec/latest/).
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS

      static final String KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS
      A key under [const@GLib.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](https://specifications.freedesktop.org/startup-notification-spec/latest/)
      with older applications.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_TERMINAL

      static final String KEY_FILE_DESKTOP_KEY_TERMINAL
      A key under [const@GLib.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.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_TRY_EXEC

      static final String KEY_FILE_DESKTOP_KEY_TRY_EXEC
      A key under [const@GLib.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.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_TYPE

      static final String KEY_FILE_DESKTOP_KEY_TYPE
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a string
      giving the type of the desktop entry.

      Usually [const@GLib.KEY_FILE_DESKTOP_TYPE_APPLICATION],
      [const@GLib.KEY_FILE_DESKTOP_TYPE_LINK], or
      [const@GLib.KEY_FILE_DESKTOP_TYPE_DIRECTORY].
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_URL

      static final String KEY_FILE_DESKTOP_KEY_URL
      A key under [const@GLib.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.
      Siehe auch:
    • KEY_FILE_DESKTOP_KEY_VERSION

      static final String KEY_FILE_DESKTOP_KEY_VERSION
      A key under [const@GLib.KEY_FILE_DESKTOP_GROUP], whose value is a string
      giving the version of the Desktop Entry Specification used for
      the desktop entry file.
      Siehe auch:
    • KEY_FILE_DESKTOP_TYPE_APPLICATION

      static final String KEY_FILE_DESKTOP_TYPE_APPLICATION
      The value of the [const@GLib.KEY_FILE_DESKTOP_KEY_TYPE], key for desktop
      entries representing applications.
      Siehe auch:
    • KEY_FILE_DESKTOP_TYPE_DIRECTORY

      static final String KEY_FILE_DESKTOP_TYPE_DIRECTORY
      The value of the [const@GLib.KEY_FILE_DESKTOP_KEY_TYPE], key for desktop
      entries representing directories.
      Siehe auch:
    • LITTLE_ENDIAN

      static final int LITTLE_ENDIAN
      Specifies one of the possible types of byte order.
      See %G_BYTE_ORDER.
      Siehe auch:
    • LN10

      static final double LN10
      The natural logarithm of 10.
      Siehe auch:
    • LN2

      static final double LN2
      The natural logarithm of 2.
      Siehe auch:
    • LOG_2_BASE_10

      static final double LOG_2_BASE_10
      Multiplying the base 2 exponent by this number yields the base 10 exponent.
      Siehe auch:
    • LOG_DOMAIN

      static final byte LOG_DOMAIN
      Defines the log domain. See [Log Domains](#log-domains).

      Libraries should define this so that any messages
      which they log can be differentiated from messages from other
      libraries and application code. But be careful not to define
      it in any public header files.

      Log domains must be unique, and it is recommended that they are the
      application or library name, optionally followed by a hyphen and a sub-domain
      name. For example, `bloatpad` or `bloatpad-io`.

      If undefined, it defaults to the default %NULL (or `""`) log domain; this is
      not advisable, as it cannot be filtered against using the `G_MESSAGES_DEBUG`
      environment variable.

      For example, GTK uses this in its `Makefile.am`:
       AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gtk\"
       


      Applications can choose to leave it as the default %NULL (or `""`)
      domain. However, defining the domain offers the same advantages as
      above.
      Siehe auch:
    • LOG_FATAL_MASK

      static final int LOG_FATAL_MASK
      GLib log levels that are considered fatal by default.

      This is not used if structured logging is enabled; see
      [Using Structured Logging](logging.html#using-structured-logging).
      Siehe auch:
    • LOG_LEVEL_USER_SHIFT

      static final int 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.
      Siehe auch:
    • MAJOR_VERSION

      static final int MAJOR_VERSION
      The major version number of the GLib library.

      Like #glib_major_version, but from the headers used at
      application compile time, rather than from the library
      linked against at application run time.
      Siehe auch:
    • MAXINT16

      static final int MAXINT16
      Siehe auch:
    • MAXINT32

      static final int MAXINT32
      Siehe auch:
    • MAXINT8

      static final int MAXINT8
      Siehe auch:
    • MAXUINT16

      static final int MAXUINT16
      Siehe auch:
    • MAXUINT32

      static final int MAXUINT32
      Siehe auch:
    • MAXUINT64

      static final long MAXUINT64
      Siehe auch:
    • MAXUINT8

      static final int MAXUINT8
      Siehe auch:
    • MICRO_VERSION

      static final int MICRO_VERSION
      The micro version number of the GLib library.

      Like #gtk_micro_version, but from the headers used at
      application compile time, rather than from the library
      linked against at application run time.
      Siehe auch:
    • MININT16

      static final int MININT16
      The minimum value which can be held in a #gint16.
      Siehe auch:
    • MININT32

      static final int MININT32
      The minimum value which can be held in a #gint32.
      Siehe auch:
    • MININT8

      static final int MININT8
      The minimum value which can be held in a #gint8.
      Siehe auch:
    • MINOR_VERSION

      static final int MINOR_VERSION
      The minor version number of the GLib library.

      Like #gtk_minor_version, but from the headers used at
      application compile time, rather than from the library
      linked against at application run time.
      Siehe auch:
    • MODULE_SUFFIX

      static final String MODULE_SUFFIX
      Siehe auch:
    • OPTION_REMAINING

      static final String 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.


      Using %G_OPTION_REMAINING instead of simply scanning `argv`
      for leftover arguments has the advantage that GOption takes care of
      necessary encoding conversions for strings or filenames.
      Siehe auch:
    • PDP_ENDIAN

      static final int PDP_ENDIAN
      Specifies one of the possible types of byte order
      (currently unused). See %G_BYTE_ORDER.
      Siehe auch:
    • PI

      static final double PI
      The value of pi (ratio of circle's circumference to its diameter).
      Siehe auch:
    • PID_FORMAT

      static final String PID_FORMAT
      A format specifier that can be used in printf()-style format strings
      when printing a #GPid.
      Siehe auch:
    • PI_2

      static final double PI_2
      Pi divided by 2.
      Siehe auch:
    • PI_4

      static final double PI_4
      Pi divided by 4.
      Siehe auch:
    • POLLFD_FORMAT

      static final String POLLFD_FORMAT
      A format specifier that can be used in printf()-style format strings
      when printing the @fd member of a #GPollFD.
      Siehe auch:
    • PRIORITY_DEFAULT

      static final int PRIORITY_DEFAULT
      Use this for default priority event sources.

      In GLib this priority is used when adding timeout functions
      with [func@GLib.timeout_add]. In GDK this priority is used for events
      from the X server.
      Siehe auch:
    • PRIORITY_DEFAULT_IDLE

      static final int PRIORITY_DEFAULT_IDLE
      Use this for default priority idle functions.

      In GLib this priority is used when adding idle functions with
      [func@GLib.idle_add].
      Siehe auch:
    • PRIORITY_HIGH

      static final int PRIORITY_HIGH
      Use this for high priority event sources.

      It is not used within GLib or GTK.
      Siehe auch:
    • PRIORITY_HIGH_IDLE

      static final int PRIORITY_HIGH_IDLE
      Use this for high priority idle functions.

      GTK uses %G_PRIORITY_HIGH_IDLE + 10 for resizing operations,
      and %G_PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is
      done to ensure that any pending resizes are processed before any
      pending redraws, so that widgets are not redrawn twice unnecessarily.)
      Siehe auch:
    • PRIORITY_LOW

      static final int PRIORITY_LOW
      Use this for very low priority background tasks.

      It is not used within GLib or GTK.
      Siehe auch:
    • REF_COUNT_INIT

      static final int REF_COUNT_INIT
      Evaluates to the initial reference count for `grefcount`.

      This macro is useful for initializing `grefcount` fields inside
      structures, for instance:
      <!-- language="C" -->
       typedef struct {
         grefcount ref_count;
         char *name;
         char *address;
       } Person;
       
       static const Person default_person = {
         .ref_count = G_REF_COUNT_INIT,
         .name = "Default name",
         .address = "Default address",
       };
       
      Siehe auch:
    • SEARCHPATH_SEPARATOR

      static final int SEARCHPATH_SEPARATOR
      The search path separator character.
      This is ':' on UNIX machines and ';' under Windows.
      Siehe auch:
    • SEARCHPATH_SEPARATOR_S

      static final String SEARCHPATH_SEPARATOR_S
      The search path separator as a string.
      This is ":" on UNIX machines and ";" under Windows.
      Siehe auch:
    • SIZEOF_LONG

      static final int SIZEOF_LONG
      Siehe auch:
    • SIZEOF_SIZE_T

      static final int SIZEOF_SIZE_T
      Siehe auch:
    • SIZEOF_SSIZE_T

      static final int SIZEOF_SSIZE_T
      Siehe auch:
    • SIZEOF_VOID_P

      static final int SIZEOF_VOID_P
      Siehe auch:
    • SOURCE_CONTINUE

      static final boolean SOURCE_CONTINUE
      Use this macro as the return value of a [callback@GLib.SourceFunc] to leave
      the [struct@GLib.Source] in the main loop.
      Siehe auch:
    • SOURCE_REMOVE

      static final boolean SOURCE_REMOVE
      Use this macro as the return value of a [callback@GLib.SourceFunc] to remove
      the [struct@GLib.Source] from the main loop.
      Siehe auch:
    • SQRT2

      static final double SQRT2
      The square root of two.
      Siehe auch:
    • STR_DELIMITERS

      static final String STR_DELIMITERS
      The standard delimiters, used in [func@GLib.strdelimit].
      Siehe auch:
    • SYSDEF_AF_INET

      static final int SYSDEF_AF_INET
      Siehe auch:
    • SYSDEF_AF_INET6

      static final int SYSDEF_AF_INET6
      Siehe auch:
    • SYSDEF_AF_UNIX

      static final int SYSDEF_AF_UNIX
      Siehe auch:
    • SYSDEF_MSG_DONTROUTE

      static final int SYSDEF_MSG_DONTROUTE
      Siehe auch:
    • SYSDEF_MSG_OOB

      static final int SYSDEF_MSG_OOB
      Siehe auch:
    • SYSDEF_MSG_PEEK

      static final int SYSDEF_MSG_PEEK
      Siehe auch:
    • TEST_OPTION_ISOLATE_DIRS

      static final String TEST_OPTION_ISOLATE_DIRS
      A value that can be passed as an option to [func@GLib.test_init].

      Creates a unique temporary directory for each unit test and uses sets
      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 [func@GLib.test_run] is called,
      so calls to (for example) [func@GLib.get_home_dir] will return the
      system-wide value when made in a test program’s main() function.

      The following functions will return subdirectories of the temporary directory
      when this option is used. The specific subdirectory paths in use are not
      guaranteed to be stable API — always use a getter function to retrieve them.

      - [func@GLib.get_home_dir]
      - [func@GLib.get_user_cache_dir]
      - [func@GLib.get_system_config_dirs]
      - [func@GLib.get_user_config_dir]
      - [func@GLib.get_system_data_dirs]
      - [func@GLib.get_user_data_dir]
      - [func@GLib.get_user_state_dir]
      - [func@GLib.get_user_runtime_dir]

      The subdirectories may not be created by the test harness; as with normal
      calls to functions like [func@GLib.get_user_cache_dir], the caller must
      be prepared to create the directory if it doesn’t exist.
      Siehe auch:
    • TEST_OPTION_NONFATAL_ASSERTIONS

      static final String TEST_OPTION_NONFATAL_ASSERTIONS
      A value that can be passed as an option to [func@GLib.test_init].

      If this option is given, assertions will not abort the process, but
      call [func@GLib.test_fail]. Equivalent to [func@GLib.test_set_nonfatal_assertions].
      Siehe auch:
    • TEST_OPTION_NO_PRGNAME

      static final String TEST_OPTION_NO_PRGNAME
      A value that can be passed as an option to [func@GLib.test_init].

      If this option is given, [func@GLib.test_init] will not call [func@GLib.set_prgname].
      Siehe auch:
    • TIME_SPAN_MILLISECOND

      static final long TIME_SPAN_MILLISECOND
      Evaluates to a time span of one millisecond.
      Siehe auch:
    • TIME_SPAN_MINUTE

      static final long TIME_SPAN_MINUTE
      Evaluates to a time span of one minute.
      Siehe auch:
    • TIME_SPAN_SECOND

      static final long TIME_SPAN_SECOND
      Evaluates to a time span of one second.
      Siehe auch:
    • UNICHAR_MAX_DECOMPOSITION_LENGTH

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

      This is as defined by Unicode 6.1.
      Siehe auch:
    • URI_RESERVED_CHARS_GENERIC_DELIMITERS

      static final String URI_RESERVED_CHARS_GENERIC_DELIMITERS
      Generic delimiters characters as defined in
      [RFC 3986](https://tools.ietf.org/html/rfc3986). Includes `:/?#[]@`.
      Siehe auch:
    • URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS

      static final String URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS
      Subcomponent delimiter characters as defined in
      [RFC 3986](https://tools.ietf.org/html/rfc3986). Includes `!$&'()*+,;=`.
      Siehe auch:
    • USEC_PER_SEC

      static final int USEC_PER_SEC
      Number of microseconds in one second (1 million).
      This macro is provided for code readability.
      Siehe auch:
    • VA_COPY_AS_ARRAY

      static final int VA_COPY_AS_ARRAY
      Siehe auch:
    • VERSION_MIN_REQUIRED

      static final int 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
      macros: %GLIB_VERSION_2_26, %GLIB_VERSION_2_28,...

      This macro defines the earliest version of GLib that the package is
      required to be able to compile against.

      If the compiler is configured to warn about the use of deprecated
      functions, then using functions that were deprecated in version
      %GLIB_VERSION_MIN_REQUIRED or earlier will cause warnings (but
      using functions deprecated in later releases will not).
      Siehe auch:
    • WIN32_MSG_HANDLE

      static final int WIN32_MSG_HANDLE
      Siehe auch:
    • macro__has_attribute___noreturn__

      static final int macro__has_attribute___noreturn__
      Siehe auch:
    • macro__has_attribute_ifunc

      static final int macro__has_attribute_ifunc
      Siehe auch:
    • macro__has_attribute_no_sanitize_address

      static final int macro__has_attribute_no_sanitize_address
      Siehe auch: