Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Glib::VariantType(3)  User Contributed Perl Documentation Glib::VariantType(3)

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

HIERARCHY
	 Glib::Boxed
	 +----Glib::VariantType

METHODS
   varianttype = Glib::VariantType->new	($type_string)
       o   $type_string	(string)

   varianttype = Glib::VariantType->new_array ($element)
       o   $element (Glib::VariantType)

   varianttype = Glib::VariantType->new_dict_entry ($key, $value)
       o   $key	(Glib::VariantType)

       o   $value (Glib::VariantType)

   varianttype = Glib::VariantType->new_maybe ($element)
       o   $element (Glib::VariantType)

   varianttype = Glib::VariantType->new_tuple ($items)
       o   $items (scalar)

   varianttype = $type->element
   boolean = $type1->equal ($type2)
       o   $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)
       o   $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)
       o   $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.32.1			  2021-02-28		  Glib::VariantType(3)

NAME | HIERARCHY | METHODS | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Glib::VariantType&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help