GLib.Variant.new_byte
function new_byte(value: Number(guint8)): GLib.Variant {
// Gjs wrapper for g_variant_new_byte()
}
Creates a new byte GLib.Variant instance.
Since 2.24
- value
a #guint8 value
- Returns
a floating reference to a new byte GLib.Variant instance