GObject.Long

GObject.Long represents the glong type in the GObject type system. You can pass this class object to methods taking a GObject.Type.

A glong value is an integer numeric value whose limits are platform and architecture dependent, although it is guaranteed to be between gint and a gint64.

Note that because JS represents numbers in the double-precision floating point format, which only has 52 significant bits, the full range of a glong may not be available.

Creating a new object with new GObject.Long returns a Number object with value 0.

Calling GObject.Long(arg) will coerce the argument to a number.