VariantType#
- class VariantType(**kwargs)#
- Constructors:
new(type_string:str) -> GLib.VariantType
new_array(element:GLib.VariantType) -> GLib.VariantType
new_dict_entry(key:GLib.VariantType, value:GLib.VariantType) -> GLib.VariantType
new_maybe(element:GLib.VariantType) -> GLib.VariantType
new_tuple(items:list) -> GLib.VariantType
Constructors#
- class VariantType
- classmethod new(type_string: str) VariantType #
- Parameters:
type_string
- classmethod new_array(element: VariantType) VariantType #
- Parameters:
element
- classmethod new_dict_entry(key: VariantType, value: VariantType) VariantType #
- Parameters:
key
value
- classmethod new_maybe(element: VariantType) VariantType #
- Parameters:
element
- classmethod new_tuple(items: Sequence[VariantType]) VariantType #
- Parameters:
items
Methods#
- class VariantType
- checked_(type_string: str) VariantType #
- Parameters:
type_string
- element() VariantType #
- equal(type2: VariantType) bool #
- Parameters:
type2
- first() VariantType #
- is_subtype_of(supertype: VariantType) bool #
- Parameters:
supertype
- key() VariantType #
- next() VariantType #
- value() VariantType #