gobject-query() gobject-query()

# [Name](#Name)

gobject-query - display a tree of types

# [SYNOPSIS](#SYNOPSIS)

```
gobject-query froots [OPTION…]
gobject-query tree [OPTION…]
```

# [DESCRIPTION](#DESCRIPTION)

**gobject-query** is a small utility that draws a tree of types.

It takes a mandatory argument that specifies whether it should iterate over the fundamental types or print a type tree.

# [COMMANDS](#COMMANDS)

**froots**

Iterate over fundamental roots.

**tree**

Print type tree.

# [OPTIONS](#OPTIONS)

**-r &lt;TYPE&gt;**

Specify the root type.

**-n**

Don’t descend type tree.

**-b &lt;STRING&gt;**

Specify indent string.

**-i &lt;STRING&gt;**

Specify incremental indent string.

**-s &lt;NUMBER&gt;**

Specify line spacing.

**-h**, **--help**

Print brief help and exit.

**-v**, **--version**

Print version and exit.

---

Document: gobject-query(1) from glib 2.90.0-r0 (Chainguard OS)
Source: https://gitlab.gnome.org/GNOME/glib.git
