VariantDict#

class VariantDict(**kwargs)#
Constructors:

new(from_asv:GLib.Variant=None) -> GLib.VariantDict

Constructors#

class VariantDict
classmethod new(from_asv: Variant | None = None) VariantDict#
Parameters:

from_asv

Methods#

class VariantDict
clear() None#
contains(key: str) bool#
Parameters:

key

end() Variant#
insert_value(key: str, value: Variant) None#
Parameters:
  • key

  • value

lookup_value(key: str, expected_type: VariantType | None = None) Variant | None#
Parameters:
  • key

  • expected_type

remove(key: str) bool#
Parameters:

key