GLib
GLib | |
---|---|
Basic data
|
|
developer | The GTK + team |
Current version |
2.62.0 ( September 5, 2019 ) |
operating system | Unix , Windows , OS / 2 , BeOS |
programming language | C. |
category | Component library |
License | LGPL ( Free Software ) |
German speaking | Yes |
gtk.org |
GLib is a library written in C , which provides various functions that are normally only possible in C with a lot of effort. So that is object-oriented programming much easier and complex data structures such as binary trees and linked lists and treatment routines for dealing with threads , files , strings (also Unicode conversions), time functions, memory access provided, and more.
The feature set is available on many Unix-style platforms, Windows, OS / 2, and BeOS. The GLib was developed from GTK + , which uses its functions intensively. The name GLib is not to be confused with glibc , the free GNU implementation of the Standard C Library .
properties
GLib provides support for
- Basic types
- Standard macros
- Typecast
- Conversion of the byte order
- Memory reservation
- Warnings and Representations
- Message logging
- timer
- String functions
- Regular expressions
- Hook functions
- Lexical scanning
- Parsing an XML -Untermenge
- Dynamic loading of modules
- Threads
- Storage pools
- Automatic string completion
- Type system ( GType )
- Data structures
Part of the GLib project, but outsourced to its own library, is the GObject object system, which simplifies object-oriented programming in C and, among other things, also offers a signal system with which objects can notify themselves about events .
The GIO ( GLib Interfaces and Objects ) library is also part of the GLib project . GIO is the part of the GLib project based on GObject and offers file and data stream objects, network functionality , classes for data compression and conversion, interfaces to the interprocess communication system D-Bus and an interface for storing application settings.
Other libraries based on the GLib-GObject team include, for example, the GTK + widget toolkit , the GStreamer multimedia framework , the Clutter animation framework and the Soup HTTP library.
The programming language Vala uses GLib as the standard library and GObject as the object system.
Web links
- GLib reference for the current stable version
- GObject reference for the current stable version
- GIO reference for the current stable version
Individual evidence
- ↑ gitlab.gnome.org . (accessed on September 22, 2019).