:right-sidebar: True VariantClass =================================================================== .. currentmodule:: gi.repository.GLib .. versionadded:: 2.24 .. class:: VariantClass :no-contents-entry: The range of possible top-level types of :obj:`~gi.repository.GLib.Variant` instances. Fields ------ .. rst-class:: interim-class .. class:: VariantClass :no-index: .. attribute:: ARRAY The :obj:`~gi.repository.GLib.Variant` is an array. .. attribute:: BOOLEAN The :obj:`~gi.repository.GLib.Variant` is a boolean. .. attribute:: BYTE The :obj:`~gi.repository.GLib.Variant` is a byte. .. attribute:: DICT_ENTRY The :obj:`~gi.repository.GLib.Variant` is a dictionary entry. .. attribute:: DOUBLE The :obj:`~gi.repository.GLib.Variant` is a double precision floating point value. .. attribute:: HANDLE The :obj:`~gi.repository.GLib.Variant` is a file handle index. .. attribute:: INT16 The :obj:`~gi.repository.GLib.Variant` is a signed 16 bit integer. .. attribute:: INT32 The :obj:`~gi.repository.GLib.Variant` is a signed 32 bit integer. .. attribute:: INT64 The :obj:`~gi.repository.GLib.Variant` is a signed 64 bit integer. .. attribute:: MAYBE The :obj:`~gi.repository.GLib.Variant` is a maybe-typed value. .. attribute:: OBJECT_PATH The :obj:`~gi.repository.GLib.Variant` is a D-Bus object path string. .. attribute:: SIGNATURE The :obj:`~gi.repository.GLib.Variant` is a D-Bus signature string. .. attribute:: STRING The :obj:`~gi.repository.GLib.Variant` is a normal string. .. attribute:: TUPLE The :obj:`~gi.repository.GLib.Variant` is a tuple. .. attribute:: UINT16 The :obj:`~gi.repository.GLib.Variant` is an unsigned 16 bit integer. .. attribute:: UINT32 The :obj:`~gi.repository.GLib.Variant` is an unsigned 32 bit integer. .. attribute:: UINT64 The :obj:`~gi.repository.GLib.Variant` is an unsigned 64 bit integer. .. attribute:: VARIANT The :obj:`~gi.repository.GLib.Variant` is a variant.