Variant.uint32


Description:

public Variant.uint32 (uint32 value)

Creates a new uint32 Variant instance.

Example: Create a new uint32 Variant:

public static int main () {
Variant var1 = new Variant.uint32 (10);
// Output: ``10``
print ("%u\n", var1.get_uint32 ());
// Output: ``10``
print ("%u\n", (uint32) var1);
return 0;
}

valac --pkg glib-2.0 GLib.Variant.Variant.uint32.vala

Parameters:

value

a uint32 value

Returns:

a floating reference to a new uint32 Variant instance