Glib::VariantType
Section: User Contributed Perl Documentation (3pm)Updated: 2017-07-26
Index Return to Main Contents
NAME
Glib::VariantType - Utilities for dealing with the GVariant type systemHIERARCHY
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::VariantCOPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Glib for a full notice.
Index
- NAME
- HIERARCHY
- METHODS
-
- varianttype = Glib::VariantType->new ($type_string)
- varianttype = Glib::VariantType->new_array ($element)
- varianttype = Glib::VariantType->new_dict_entry ($key, $value)
- varianttype = Glib::VariantType->new_maybe ($element)
- varianttype = Glib::VariantType->new_tuple ($items)
- varianttype = $type->element
- boolean = $type1->equal ($type2)
- 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)
- 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, rest) = Glib::VariantType::string_scan ($string)
- varianttype = $type->value
- SEE ALSO
- COPYRIGHT
This document was created by man2html, using the manual pages.
Time: 04:45:48 GMT, September 16, 2022
0 댓글