GLib.VariantType – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
VariantType
string_is_valid
string_scan
VariantType
VariantType.array
VariantType.dict_entry
VariantType.maybe
VariantType.tuple
dup_string
element
equal
first
get_string_length
hash
is_array
is_basic
is_container
is_definite
is_dict_entry
is_maybe
is_subtype_of
is_tuple
is_variant
key
n_items
next
peek_string
value
ANY
ARRAY
BASIC
BOOLEAN
BYTE
BYTESTRING
BYTESTRING_ARRAY
DICTIONARY
DICT_ENTRY
DOUBLE
HANDLE
INT16
INT32
INT64
MAYBE
OBJECT_PATH
OBJECT_PATH_ARRAY
SIGNATURE
STRING
STRING_ARRAY
TUPLE
UINT16
UINT32
UINT64
UNIT
VARDICT
VARIANT
VariantType
Object Hierarchy:
Description:
[
Compact
]
[
Immutable
]
public
class
VariantType
Namespace:
GLib
Package:
glib-2.0
Content:
Static methods:
public
static
bool
string_is_valid
(
string
type_string)
public
static
bool
string_scan
(
string
type_string,
char
* limit,
out
char
* endptr)
Creation methods:
public
VariantType
(
string
type_string)
public
VariantType.array
(
VariantType
element)
public
VariantType.maybe
(
VariantType
element)
public
VariantType.tuple
(
VariantType
[] items)
public
VariantType.dict_entry
(
VariantType
key,
VariantType
value)
Methods:
public
size_t
get_string_length
()
public
char
*
peek_string
()
public
string
dup_string
()
public
bool
is_definite
()
public
bool
is_container
()
public
bool
is_basic
()
public
bool
is_maybe
()
public
bool
is_array
()
public
bool
is_tuple
()
public
bool
is_dict_entry
()
public
bool
is_variant
()
public
uint
hash
()
public
bool
equal
(
VariantType
other)
public
bool
is_subtype_of
(
VariantType
supertype)
public
unowned
VariantType
element
()
public
unowned
VariantType
first
()
public
unowned
VariantType
next
()
public
unowned
VariantType
n_items
()
public
unowned
VariantType
key
()
public
unowned
VariantType
value
()
Fields:
public
static
VariantType
BOOLEAN
public
static
VariantType
BYTE
public
static
VariantType
INT16
public
static
VariantType
UINT16
public
static
VariantType
INT32
public
static
VariantType
UINT32
public
static
VariantType
INT64
public
static
VariantType
UINT64
public
static
VariantType
HANDLE
public
static
VariantType
DOUBLE
public
static
VariantType
STRING
public
static
VariantType
OBJECT_PATH
public
static
VariantType
SIGNATURE
public
static
VariantType
VARIANT
public
static
VariantType
UNIT
public
static
VariantType
ANY
public
static
VariantType
BASIC
public
static
VariantType
MAYBE
public
static
VariantType
ARRAY
public
static
VariantType
TUPLE
public
static
VariantType
DICT_ENTRY
public
static
VariantType
DICTIONARY
public
static
VariantType
STRING_ARRAY
public
static
VariantType
OBJECT_PATH_ARRAY
public
static
VariantType
BYTESTRING
public
static
VariantType
BYTESTRING_ARRAY
public
static
VariantType
VARDICT