Go package:glib
The base object type for all glib objects
This function wraps any newly created objects that derives from
GInitiallyUnowned also known as objects with "floating-references".
The object will be refSink (for glib versions >= 2.10). On
non-floating objects, this function behaves exactly the same as
"makeNewGObject".
The type constant to check if an instance is of
GObject type.
This function wraps any object that does not derive from Object. It
should be used whenever a function returns a pointer to an existing
GObject (as opposed to a function that constructs a new
object).
- The first argument is the constructor of the specific object.
This function wraps any newly created object that does not derived
from GInitiallyUnowned (that is a GObject with no floating reference).
Since newly created
GObjects have a reference count of one,
they don't need ref'ing.