---
name: "Glib::VariantDict"
section: "3pm"
platform: "linux"
package: "glib-perl"
version: "1.329.4-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Glib::VariantDict"
---

# Glib::VariantDict(3pm)

Utilities for dealing with the GVariantDict mutable interface to GVariant dictionaries

## NAME

Glib::VariantDict -  Utilities for dealing with the GVariantDict mutable interface to GVariant dictionaries

## HIERARCHY

```
  Glib::Boxed
  +----Glib::VariantDict
```

## METHODS

### variantdict = Glib::VariantDict-\>new ($from\_asv)

- •

  `$from_asv` (Glib::Variant)

Since: glib 2.40

### boolean = $dict-\>contains ($key)

- •

  `$key` (string)

Since: glib 2.40

### variant = $dict-\>end

Since: glib 2.40

### $dict-\>insert\_value ($key, $value)

- •

  `$key` (string)

- •

  `$value` (Glib::Variant)

Since: glib 2.40

### variant = $dict-\>lookup\_value ($key, $expected\_type)

- •

  `$key` (string)

- •

  `$expected_type` (Glib::VariantType)

Since: glib 2.40

### boolean = $dict-\>remove ($key)

- •

  `$key` (string)

Since: glib 2.40

## 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.
