Provided by: libglib-perl_1.329.3-3build3_amd64 

NAME
Glib::VariantType - Utilities for dealing with the GVariant type system
HIERARCHY
Glib::Boxed
+----Glib::VariantType
METHODS
varianttype = Glib::VariantType->new ($type_string)
• $type_string (string)
varianttype = Glib::VariantType->new_array ($element)
• $element (Glib::VariantType)
varianttype = Glib::VariantType->new_dict_entry ($key, $value)
• $key (Glib::VariantType)
• $value (Glib::VariantType)
varianttype = Glib::VariantType->new_maybe ($element)
• $element (Glib::VariantType)
varianttype = Glib::VariantType->new_tuple ($items)
• $items (scalar)
varianttype = $type->element
boolean = $type1->equal ($type2)
• $type2 (Glib::VariantType)
varianttype = $type->first
integer = $type->hash
boolean = $type->is_array
boolean = $type->is_basic
boolean = $type->is_container
boolean = $type->is_definite
boolean = $type->is_dict_entry
boolean = $type->is_maybe
boolean = $type->is_subtype_of ($supertype)
• $supertype (Glib::VariantType)
boolean = $type->is_tuple
boolean = $type->is_variant
varianttype = $type->key
unsigned = $type->n_items
varianttype = $type->next
scalar = $type->get_string
boolean = Glib::VariantType::string_is_valid ($type_string)
• $type_string (string)
(type_string, rest) = Glib::VariantType::string_scan ($string)
Scans the start of $string for a complete type string and extracts it. If no type string can be found,
an exception is thrown.
varianttype = $type->value
SEE ALSO
Glib, Glib::Boxed, Glib::Variant
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Glib for a full notice.
perl v5.38.2 2024-03-31 Glib::VariantType(3pm)