logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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->elementboolean=$type1->equal($type2) • $type2 (Glib::VariantType) varianttype=$type->firstinteger=$type->hashboolean=$type->is_arrayboolean=$type->is_basicboolean=$type->is_containerboolean=$type->is_definiteboolean=$type->is_dict_entryboolean=$type->is_maybeboolean=$type->is_subtype_of($supertype) • $supertype (Glib::VariantType) boolean=$type->is_tupleboolean=$type->is_variantvarianttype=$type->keyunsigned=$type->n_itemsvarianttype=$type->nextscalar=$type->get_stringboolean=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

Name

Glib::VariantType - Utilities for dealing with the GVariant type system

See Also

Glib, Glib::Boxed, Glib::Variant

See Also