gvalue
GValue is a generic value container in the GLib/GObject type system. It is designed to hold a value of any type registered in the GType system, enabling generic property access, signal marshalling, and value passing in a type-safe way. GValue is commonly used by the GObject property system and related APIs, and it provides a uniform mechanism to store, copy, and transfer values of diverse types.
A GValue must be initialized with a specific GType using g_value_init, which establishes the type of value
GValue supports a variety of GTypes, including primitive types, strings, pointers, objects, and boxed types. Some
In practice, GValue is most relevant for interacting with GObject properties, signal marshalling, and wrappers that