GLib.Variant.new_int32
function new_int32(value: Number(gint32)): GLib.Variant {
// Gjs wrapper for g_variant_new_int32()
}
Creates a new int32 GLib.Variant instance.
Since 2.24
- value
a #gint32 value
- Returns
a floating reference to a new int32 GLib.Variant instance