Up: cl-cffi-gtk4 API documentation
Package glib
GLib is a general-purpose utility library, which provides many useful data
types, macros, type conversions, string utilities, file utilities, a main
loop abstraction, and so on. It works on many UNIX-like platforms, as well
as Windows and OS X. GLib is released under the GNU Library General Public
License (GNU LGPL).
This is the API documentation of a Lisp binding to the library GLib. Only a small part of GLib is implemented in Lisp which is necessary to implement GTK in Lisp.
This is the API documentation of a Lisp binding to the library GLib. Only a small part of GLib is implemented in Lisp which is necessary to implement GTK in Lisp.
About This PackageMiscellaneous The Main Event Loop GBytes Command line option parser Key-value file parser GVariantType GVariant Version Information
The major version number of the GLib C library against which the Lisp
binding is running. ...
The minor version number of the GLib C library against which the Lisp
binding is running. ...
The micro version number of the GLib C library against which the Lisp
binding is running. ...
Checks if the GLib C library that is used is compatible with the given
Lisp binding. ...
Provides information about the version of the loaded GLIB library against
which the Lisp binding is running. ... MiscellaneousIntroduction to miscellaneous
Documentation of several type definitions and functions, which are
needed for the implementation of the GTK library. Only a small part of
the GLib library is implemented. String Utility FunctionsDoubly-Linked ListsSingly-Linked ListsQuarksGDateTime The g:date-time type specifier represents the C GDateTime
type which represents a date and time. ... Unicode manipulationMemory AllocationUtility FunctionsThe Main Event LoopGMainLoop
Use this for high priority event sources. ...
Use this for default priority event sources. ...
Use this for high priority idle functions. ...
Use this for default priority idle functions. ...
Use this for very low priority background tasks. ... Use this constant as the return value of a g:source-func callback function to leave the g:source instance in the main loop. ... Use this constant as the return value of a g:source-func callback function to remove the g:source instance from the main loop. ...
The main event loop manages all the available sources of events for GLib
and GTK applications. These events can come from any number of different
types of sources such as file descriptors (plain files, pipes or sockets)
and timeouts. ... Creates a new main loop. ... Increases the reference count on a main loop by one. ...
Decreases the reference count on a main loop by one. ... Runs a main loop until the g:main-loop-quit function is called on the
main loop. ...
Stops a main loop from running. ...
Checks to see if the main loop is currently being run via the g:main-loop-run function. ... Returns the context of the main loop. ... GMainContext The g:main-context structure is an opaque data type representing a
set of sources to be handled in a main loop. ... Creates a new context. ... Increases the reference count on a context by one. ...
Decreases the reference count on a context by one. ...
Returns the global default context. ...
Runs a single iteration for the given main loop. ... Checks if any sources have pending events for the given main context. ...
Finds a source given a pair of context and ID. ...
Determines whether this thread holds the (recursive) ownership of this
context. ... GSource
Creates a new timeout source. ...
Creates a new timeout source. ... Sets a function to be called at regular intervals, with priority. ... Sets a function to be called at regular intervals with priority. ...
Creates a new idle source. ...
Adds a function to be called whenever there are no higher priority events
pending to the default main loop. ...
Adds a source to a context so that it will be executed within that context. ...
Removes a source from its context, if any, and mark it as destroyed. ...
Returns whether the source has been destroyed. ... The g:source-priority function gets the priority of the source. ... The g:source-can-recurse function checks whether the source is allowed
to be called recursively. ...
Returns the numeric ID for a particular source. ... The g:source-name function gets a name for the source, used in
debugging and profiling. ...
Sets the name of a source using its ID. ...
Gets the context with which the source is associated. ...
Sets the callback function for a source. ...
Gets the time to be used when checking this source. ... The g:source-ready-time function gets the "ready time" of the
source. ...
Removes the source with the given ID from the default main context. ... GBytes The g:bytes structure is a simple refcounted data type representing
an immutable sequence of zero or more bytes from an unspecified origin. ... Command line option parser The g:option-arg enumeration determines which type of extra
argument the options expect to find. ... Flags which modify individual options. ...
The GOption command line parser is intended to be a simpler replacement for
the popt library. ... The g:with-option-context macro allocates a new g:option-context instance, initializes the option context with the optional parameter value and executes the body that uses the context. ... Creates a new option context. ... Frees context and all the groups which have been added to it. ... The g:option-context-summary function returns the summary. ... The g:option-context-description function returns the description. ...
The type of functions which are used to translate user visible strings, for --help output. ...
Sets the function which is used to translate the user visible strings of the option context, for --help output. ...
A convenience function to use GNU gettext for translating user visible
strings. ...
Parses the command line arguments, recognizing options which have been
added to the option context. ...
Parses the command line arguments. ... Enables or disables automatic generation of --help output. ... The g:option-context-ignore-unknown-options function returns whether
unknown options are ignored or not. ...
Returns a formatted, translated help text for the given option context. ... The g:option-context-strict-posix function returns whether strict
POSIX code is enabled. ...
A convenience function which creates a main group if it does not exist,
adds the option entries to it and sets the translation domain. ... Adds a g:option-group instance to the option context, so that
parsing with the option context will recognize the options in the group. ... The g:option-group structure defines the options in a single group. ... The g:with-option-group macro allocates a new g:option-group
instance, initializes the option group with the given arguments and executes
the body that uses the option group. ... Creates a new g:option-group instance. ... Increments the reference count of group by one. ... Decrements the reference count of group by one. ...
Sets the function which is used to translate user visible strings, for --help output. ...
A convenience function to use GNU gettext for translating user visible
strings. ... Key-value file parser
Flags which influence the parsing of key values. ... The g:key-file structure lets you parse, edit or create files
containing groups of key-value pairs, which we call key files for lack of a
better name. ... The g:with-key-file macro allocates a new g:key-file instance
and executes the body that uses the key file. ... The g:with-key-file-from-file macro allocates a new g:key-file instance and executes the body that uses the key file. ... The g:with-key-file-from-data macro allocates a new g:key-file instance and executes the body that uses the key file. ... Creates a new empty g:key-file instance. ... Clears all keys and groups from keyfile, and decreases the reference
count by 1. ... Increases the reference count of keyfile. ... Decreases the reference count of keyfile by 1. ...
Sets the character which is used to separate values in lists. ... Loads a key file into a g:key-file instance. ... Loads a key file from memory into a g:key-file instance. ...
This function looks for a key file named file in the paths returned from the g_get_user_data_dir() and g_get_system_data_dirs() functions, loads the file into keyfile and returns the full path of
the file. ... This function looks for a key file named file in the paths specified in dirs, loads the file into keyfile and returns the full path
of the file. ...
Outputs the key file as a string. ...
Writes the contents of the key file to a file. ...
Returns the name of the start group of the key file. ... Returns all groups in the key file loaded with keyfile. ...
Returns all keys for the group name. ... Looks whether the key file has the group group. ... The g:key-file-locale-string function returns the value associated with key under group translated in the given locale if
available. ...
Returns the actual locale which the result of the g:key-file-locale-string or g:key-file-locale-string-list
function came from. ... The g:key-file-integer function returns the value associated with key under group as an integer. ... The g:key-file-double function returns the value associated with key under group as a double float. ... The g:key-file-locale-string-list function returns the values associated with key under group translated in the given locale if available. ... The g:key-file-boolean-list function returns the values associated with key under group as boolean values. ... The g:key-file-integer-list function returns the values associated with key under group as integers. ... The g:key-file-double-list function returns the values associated with key under group as double floats. ...
Removes the specified group from the key file. ...
Removes the specified key from the key file. ... GVariantType
The GVariant type system is based, in large part, on the D-Bus type system,
with two major changes and some minor lifting of restrictions. ...
Creates a new variant type corresponding to the type string given by string. ...
Makes a copy of a variant type. ... Checks if string is a valid variant type string. ...
Returns a newly allocated copy of the variant type string corresponding to vtype. ...
Determines if the given variant type is definite, that is not indefinite. ...
Determines if the given variant type is a container type. ...
Determines if the given variant type is a basic type. ...
Determines if the given variant type is a maybe type. ...
Determines if the given variant type is an array type. ...
Determines if the given variant type is a tuple type. ...
Determines if the given variant type is a dictionary entry type. ...
Determines if the given variant type is the variant type. ...
The has value of the given variant type. ...
Compares two variant types for equality. ...
Constructs the variant type corresponding to a maybe instance containing vtype or nothing. ...
Constructs the variant type corresponding to an array of elements of the vtype type. ... Constructs a new tuple type, from items. ...
Constructs the variant type corresponding to a dictionary entry with a key of key type and a value of value type. ...
Determines the element type of an array or maybe type. ...
Determines the number of items contained in a tuple or dictionary entry vtype. ...
Determines the first item type of a tuple or dictionary entry type. ...
Determines the next item type of a tuple or dictionary entry type. ...
Determines the key type of a dictionary entry type. ...
Determines the value type of a dictionary entry type. ... GVariantIncreases the reference count of value. ... Decreases the reference count of value. ... If value is floating, sink it. Otherwise, do nothing. ... Checks whether value has a floating reference count. ... Determines the variant type of value. ... Returns the variant type string of value. ... Checks if value is a container. ... Classifies value according to its toplevel type. ... Returns the boolean value of value. ... Returns the 16-bit signed integer of value. ... Returns the 16-bit unsigned integer of value. ... Returns the 32-bit signed integer of value. ... Returns the 32-bit unsigned integer of value. ... Returns the 64-bit signed integer of value. ... Returns the 64-bit unsigned integer of value. ... Returns the 32-bit signed integer of value. ... Returns the double precision floating point value of value. ... Returns the string value of value. ... Determines if a given string is a valid D-Bus object path. ... Determines if a given string is a valid D-Bus type signature. ... Allocates and initialises a new g:variant-dict instance. ...
Checks if the key exists in the dictionary. ... Looks up a value in a g:variant-dict instance. ... Inserts, or replaces, a key in a g:variant-dict instance. ... Removes a key and its associated value from a g:variant-dict
instance. ... | Exported Symbol Index |